Page 1 of 1

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

Posted: Fri Aug 20, 2021 7:31 am
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!


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

Posted: Fri Aug 20, 2021 9:19 am
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?


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

Posted: Fri Aug 20, 2021 11:08 am
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.


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

Posted: Fri Aug 20, 2021 6:34 pm
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?


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

Posted: Mon Aug 30, 2021 1:57 pm
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!


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

Posted: Mon Aug 30, 2021 3:57 pm
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"/>