How to delete pager shortcut Alt+1 2... Virtual desktop

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
Zuzia
Posts: 106
Joined: Wed Oct 21, 2020 2:32 pm
Has thanked: 13 times
Been thanked: 6 times

How to delete pager shortcut Alt+1 2... Virtual desktop

Post by Zuzia »

Hi like in subject.
I setup new shortcut in JWM for virtual desktop like this.

Alt+ctrl Left > ldesktop
Alt+ctrl Right > rdesktop

Alt+ctrl # > desktop#

I chack config using jwm -p and no errors all my shortcut work but still Alt+1 and Alt+2 work also.
I wont disable this shortcut but i dont know where is others config file for pager.

If anyone know where is another config settings for pager let me know, becouse i use alt+1 and alt+2 in other games and apps. Then my desktop change and program not work with that shortcut. :(

I read all jwm documentation and pager section and still i cant disable that. Also i wont disable mouse roll for desktop change...

Thanks na cheers!

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: How to delete pager shortcut Alt+1 2... Virtual desktop

Post by bigpup »

See if this will work for you.

JWM: Alt-(number) switches desktops. turn off?
https://oldforum.puppylinux.com/viewtop ... 53b94ae1b3
The post by MochiMoppel.

Also i wont disable mouse roll for desktop change...

Are you asking how to turn off mouse roll desktop change?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
MochiMoppel
Posts: 1231
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 436 times

Re: How to delete pager shortcut Alt+1 2... Virtual desktop

Post by MochiMoppel »

bigpup wrote: Fri Aug 20, 2021 9:19 am

Are you asking how to turn off mouse roll desktop change?

I think that's what @Zuzia is asking for. Requires to add the line
<RootMenu onroot="45"/>
to the file /root/.jwm/jwmrc-personal .

When done opening a console window and running the command
jwm -reload
will enable the new setting.

This trick was temporarily considered a bug and therefore not working in some versions of JWM 2.3.

This trick will also not change the mouse-wheel behaviour when the mouse cursor is over the pager (= over the litte virtual desktop icons in the tray). Scrolling with the mouse-wheel will still result in desktop flipping and I don't know how to prevent it. Maybe possible with mouse bindings in one of the newer JWM version.

User avatar
PipzDex
Posts: 188
Joined: Sun Jul 12, 2020 11:16 pm
Location: Mexico
Has thanked: 61 times
Been thanked: 81 times

Re: How to delete pager shortcut Alt+1 2... Virtual desktop

Post by PipzDex »

MochiMoppel wrote: Fri Aug 20, 2021 11:08 am
bigpup wrote: Fri Aug 20, 2021 9:19 am

Are you asking how to turn off mouse roll desktop change?

I think that's what @Zuzia is asking for. Requires to add the line
<RootMenu onroot="45"/>
to the file /root/.jwm/jwmrc-personal .

When done opening a console window and running the command
jwm -reload
will enable the new setting.

This trick was temporarily considered a bug and therefore not working in some versions of JWM 2.3.

This trick will also not change the mouse-wheel behaviour when the mouse cursor is over the pager (= over the litte virtual desktop icons in the tray). Scrolling with the mouse-wheel will still result in desktop flipping and I don't know how to prevent it. Maybe possible with mouse bindings in one of the newer JWM version.

Wouldn't it be easier, less complicated just editing .jwmrc-tray?

Code: Select all

<? xml version = "1.0"?>
<JWM>
<Tray autohide = "off" insert = "right" x = "0" y = "- 1" width = "0" height = "30" layer = "above" layout = "horizontal" halign = "left" valign = "bottom">
<! - Additional TrayButton attribute: label ->
<TrayButton label = "Menu" icon = "puppy.svg" border = "true"> root: 3 </TrayButton>
<TrayButton popup = "Show Desktop" icon = "/ usr / local / lib / X11 / pixmaps / x48.png" border = "true"> showdesktop </TrayButton>
<TrayButton popup = "Browser" icon = "/ usr / local / lib / X11 / pixmaps / www48.png" border = "true"> exec: defaultbrowser </TrayButton>
<TrayButton popup = "Terminal" icon = "/ usr / local / lib / X11 / pixmaps / console48.png" border = "true"> exec: defaultterminal </TrayButton>
<Pager />          <------------------ (I delete this entry and the virtual desktops disappear)
<! - Additional TaskList attribute: maxwidth ->
<TaskList maxwidth = "200" />
<Dock />
<Swallow name = "xload" width = "32"> xload -nolabel -bg "# 888888" -fg "# 222222" -hl "# 4C7CC1" </Swallow>
<! - Additional Swallow attribute: height ->
<Spacer width = "4" />
<Clock format = "% a% d% b% l:% M% p"> exec: minixcal </Clock>
</Tray>
</JWM>

Is it what you are looking to do?

Pentium (R) 2.20GHz I RAM: 8.0 GB I F96-CE_5 I Kernel 6.6.8-64oz-ao I Glibc: 2.31 I 1600x900 Px

My Puppy Stuff and more

Zuzia
Posts: 106
Joined: Wed Oct 21, 2020 2:32 pm
Has thanked: 13 times
Been thanked: 6 times

Re: How to delete pager shortcut Alt+1 2... Virtual desktop

Post by Zuzia »

MochiMoppel wrote: Fri Aug 20, 2021 11:08 am
bigpup wrote: Fri Aug 20, 2021 9:19 am

Are you asking how to turn off mouse roll desktop change?

I think that's what @Zuzia is asking for. Requires to add the line
<RootMenu onroot="45"/>
to the file /root/.jwm/jwmrc-personal .

When done opening a console window and running the command
jwm -reload
will enable the new setting.

This trick was temporarily considered a bug and therefore not working in some versions of JWM 2.3.

This trick will also not change the mouse-wheel behaviour when the mouse cursor is over the pager (= over the litte virtual desktop icons in the tray). Scrolling with the mouse-wheel will still result in desktop flipping and I don't know how to prevent it. Maybe possible with mouse bindings in one of the newer JWM version.

Hi exacly, i have this problem before coz long ago i try this option -><RootMenu onroot="45"/> on my bionic x64 and not work :( for todey i dont have idea how i can disable that. Still after long time this is no so anoing like before, but will be good if i have option to OFF that pernamently :)

Im not now on my puppy but later i check this again and also secound hint about alt+# disable :) When i check later i write you again :) Thanks for all help for now :) I write you later with more info. Thank You ALL!

Zuzia
Posts: 106
Joined: Wed Oct 21, 2020 2:32 pm
Has thanked: 13 times
Been thanked: 6 times

Re: How to delete pager shortcut Alt+1 2... Virtual desktop

Post by Zuzia »

Hi its me again :)

I edit bouth file and alt +# is OFF now :) good for me but not work after i use fixmenu and jwm -restart only after reboot system.

My mouse have 5 buttons and i think roll can have difrent number coz i have buttons 4 and 5 also for prev and next

left
right
roll
roll up
roll down
prev
next

Then meybe for roll not will be 4 and 5 becouse you can bind all this buttons...

Meybe is not bug only mouse type need be checked and this lane edit for some models in jwmrc.personal.

OK EDIT
I have add this line of text in my jwm-personal

<!-- Mouse scroll off -->
<RootMenu onroot="45"/>

like this

also i use xev in terminal and i know my button numbers i have:
1 left
2 right
3 roll
4 roll up
5 roll down

8 next
9 prev

Then any mistake here but still not work in bionic :(

I also try all in separate row like this, but also not help.

<RootMenu onroot="4"/>
<RootMenu onroot="5"/>

Post Reply

Return to “Users”