(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 27 Nov 2020, 00:53
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
JWM: Disable scrollwheel switching virtual desktops
Moderators: Flash, Ian, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 2 of 2 [23 Posts]   Goto page: Previous 1, 2
Author Message
gychang


Joined: 29 Nov 2008
Posts: 416
Location: San Diego, CA

PostPosted: Tue 10 Dec 2019, 22:38    Post subject: mouse scroll to disable shade function  

666philb wrote:
the solution here seems to work https://github.com/joewing/jwm/issues/366

add to your /etc/xdg/templates/_root_.jwmrc
Code:
<RootMenu onroot="45"/>

it needs to be added after the initial root menu ie ......
Code:
<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"/>


then run fixmenus in a terminal and restart JWM.


on my bionoicpup64, it does not disable shade with middle mouse scroll...

_________________
---
trying to learn puppylinux... Very Happy
---
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 862
Location: S.E Australia

PostPosted: Wed 11 Dec 2019, 00:59    Post subject:  

I disable shade via entry in picture. Disabling scrollwheel doesn't work for jwm versions 2.3.5 - 2.3.6.
noshade.jpg
 Description   
 Filesize   35.92 KB
 Viewed   360 Time(s)

noshade.jpg


Last edited by ozsouth on Thu 14 May 2020, 17:43; edited 1 time in total
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1874
Location: Connecticut, United States

PostPosted: Wed 11 Dec 2019, 01:25    Post subject:  

Hello ozsouth,

I am using jwm 2.3.7 on WeeDog using
Code:
<!-- Disable virtual desktop scroll. -->
   <RootMenu onroot="4"/>
   <RootMenu onroot="5"/>


which works to disable the virtual desktop scroll.
Back to top
View user's profile Send private message Visit poster's website 
ozsouth

Joined: 01 Jan 2010
Posts: 862
Location: S.E Australia

PostPosted: Wed 11 Dec 2019, 21:26    Post subject:  

I've attempted a very basic update for ScPup64 from jwm-2.3.6 to jwm-2.3.7 so as to use scrollwheel fix. Seems OK.
http://murga-linux.com/puppy/viewtopic.php?p=1044332#1044332
Back to top
View user's profile Send private message 
gychang


Joined: 29 Nov 2008
Posts: 416
Location: San Diego, CA

PostPosted: Fri 13 Dec 2019, 00:20    Post subject:  

ozsouth wrote:
I disable shade via entry in picture. Disabling scrollwheel doesn't work for jwm versions 2.3.2 - 2.3.6.


I was little confused with this, but it works well, edit the /etc/xdg/templates/_root_.jwmrc

and fixmeus and reboot, works well for bionicpup64, now there is no shade when I scroll on the app bar...

_________________
---
trying to learn puppylinux... Very Happy
---
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 862
Location: S.E Australia

PostPosted: Fri 13 Dec 2019, 01:04    Post subject:  

@gychang - just to explain, there are 2 functions being discussed - yours was shading; the original was where rolling the scrollwheel on the desktop switched desktops - a problem for ages - just bump the scrollwheel & you're looking at a different desktop - most annoying. In JWM 2.3.5 - 2.3.6, that couldn't be stopped, but shading has always been stoppable (once you know how).
Last edited by ozsouth on Thu 14 May 2020, 17:43; edited 2 times in total
Back to top
View user's profile Send private message 
James186282


Joined: 08 Sep 2009
Posts: 270
Location: Minnesota

PostPosted: Mon 13 Apr 2020, 22:27    Post subject:  

I revisited this after switching to bionic pup 64 and changing it in the
/etc/xdg/template/_root_.jwmrc file

I'm doing something wrong it still didn't work after running fixmenus. In fact I got quite a
Rather then go back to 1 virtual window and not have it flipping me around all the time I tried doing it the .jwm/jwmrc-personal file
And it does seem to work.

Which reminds me that Somehow this jwmrc-personal seems to go from being

JWM

</JWM>

to where some program somewhere adds lines to make some of the theme files that discribe how windows look (Like I set them to be curved) but then are ignored which is why my jwmrx-personal file was blank (or at least I tried to make it blank) This and /etc/X11/xorg.config seem to be files you can't expect to be left alone by other programs. I know that root can "do anything" but is there a simple way to determine what is changing these files or maybe more simply make them read only to root without a password that only I know? Both of these things regularly make me crazy.

Don't get me wrong I still like Puppy Linux and use it daily but it gets really frustraiting at times trying to figure this sequence out.

One last example is the changes to Startup so that now it has more files that run on Startup in the /Startup/autostart link... Really? Why? Whats wrong with leaving them in Startup? If someone knows what the point of that was I would really like to know.

I wish there were an attempt to use the KISS principle or at least reduce the sceme of having additional files undoing what you just had it do.

Plus I hate invisible directories. Wink Anyway I hope everyone is staying safe and corona virus free,

_________________
Science is what we understand well enough to explain to a computer.
Art is everything else we do.
Donald Knuth
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1874
Location: Connecticut, United States

PostPosted: Tue 14 Apr 2020, 11:34    Post subject:  

Quote:
Really? Why? Whats wrong with leaving them in Startup?


Really. One reason you see /root/Startup/autostart in the Startup directory is for compatibility with Ubuntu. Since Bionic Puppy Linux is built on Ubuntu Bionic there are certain system programs that are now in Puppy Bionic from the Ubuntu repositories that are looking for autostart. Also as the desktop is being launched, programs are started at different stages and in a certain order during the machine boot operations.

The way Puppy Linux is built from sometimes from Slack or sometimes Ubuntu or Debian and also Arch, requires flexibility and consistency to be a Puppy Linux even if it is built using any one of those operating systems. This ability requires scripts to be run at certain levels of the start process to boot a particular type of Puppy Linux which could be built on any one of those flavors. Also the huge amount of customizing that a user can do to the look and the way the desktop operates, needs a way to be able to have the system satisfy the requirements each individual type of operating system that is the base building blocks of the flavor of Puppy Linux you are using.

hiding these system files as the default view keeps the thousand of little tiny programs that make up an operating system and as most users never need to do anything with them directly, they stay hidden.

Windows has many many hidden programs and processes, in Linux all can be seen by flipping a switch.



/root/Startup/autostart is a symlink to /root/.config
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [23 Posts]   Goto page: Previous 1, 2
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0999s ][ Queries: 13 (0.0261s) ][ GZIP on ]