Step 1: Edit the file /root/.jwm/jwmrc-personal. Add 2 lines:
- <JWM>
<RootMenu onroot="4"/>
<RootMenu onroot="5"/>
That's it.
cool. is there any way to make it switch through the windows on a given desktop as its default behavior and maybe make the scrolling through desktops a ctrl+scroll option?MochiMoppel wrote:When the mouse pointer hovers over a window, scrolling the scrollwheel will move the window contents up or down as expected. However as soon as the pointer hovers outside of the window area, the scrollwheel switches virtual desktops. This can be outright confusing for new users and still annoying for experienced users. JWM provides no option to reconfigure mouse bindings, but this behavior can be disabled with a trick.
Step 1: Edit the file /root/.jwm/jwmrc-personal. Add 2 lines:Step 2: Restart JWM
- <JWM>
<RootMenu onroot="4"/>
<RootMenu onroot="5"/>
That's it.
Diff'rent strokes for diff'rent folks, Jim.James186282 wrote:What a relief to have this feature turned off. I tried for a long time to figure out what I was doing to flip to a different display and never clued it that the scroll wheel was the source. Can someone explain what these two lines do? I've dug into JWM a bit and think its great but want to learn.
If anyone is taking votes I would urge that all future releases have this scroll wheel taking you to different desktops be normally left off.
T H A N K Y O U !
If you want to learn then this is the primary source of wisdom.James186282 wrote:Can someone explain what these two lines do? I've dug into JWM a bit and think its great but want to learn.
Code: Select all
<RootMenu onroot="45"/>
Code: Select all
<RootMenu label="Menu" labeled="false" height="MENHEIGHT" onroot="3">
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-desktop.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-system.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-setup.menu
<Separator/>
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-utility.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-filesystem.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-graphic.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-document.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-calculate.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-personal.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-network.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-internet.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-multimedia.menu
PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-fun.menu
<Separator/>
<Program label="Help" icon="help48.png">exec defaulthtmlviewer file:///usr/share/doc/index.html</Program>
<Program label="Exit" icon="shutdown48.png">/usr/sbin/logout_gui</Program>
<!-- </Menu> -->
</RootMenu>
<RootMenu onroot="45"/>
Code: Select all
<JWM>
<RootMenu onroot="4"/>
<RootMenu onroot="5"/>
Code: Select all
JWM v2.3.7 by Joe Wingbermuehle
on my bionoicpup64, it does not disable shade with middle mouse scroll...666philb wrote:the solution here seems to work https://github.com/joewing/jwm/issues/366
add to your /etc/xdg/templates/_root_.jwmrcCode: Select all
<RootMenu onroot="45"/>
it needs to be added after the initial root menu ie ......then run fixmenus in a terminal and restart JWM.Code: Select all
<RootMenu label="Menu" labeled="false" height="MENHEIGHT" onroot="3"> PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-desktop.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-system.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-setup.menu <Separator/> PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-utility.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-filesystem.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-graphic.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-document.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-calculate.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-personal.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-network.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-internet.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-multimedia.menu PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-fun.menu <Separator/> <Program label="Help" icon="help48.png">exec defaulthtmlviewer file:///usr/share/doc/index.html</Program> <Program label="Exit" icon="shutdown48.png">/usr/sbin/logout_gui</Program> <!-- </Menu> --> </RootMenu> <RootMenu onroot="45"/>
Code: Select all
<!-- Disable virtual desktop scroll. -->
<RootMenu onroot="4"/>
<RootMenu onroot="5"/>
I was little confused with this, but it works well, edit the /etc/xdg/templates/_root_.jwmrcozsouth wrote:I disable shade via entry in picture. Disabling scrollwheel doesn't work for jwm versions 2.3.2 - 2.3.6.