JWM: Alt-(number) switches desktops. turn off? [SOLVED]

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
hanzf
Posts: 161
Joined: Wed 11 Mar 2009, 21:39
Location: Belzig, Germany

JWM: Alt-(number) switches desktops. turn off? [SOLVED]

#1 Post by hanzf »

Hello,

I'm using Precise Puppy 5.7.1 that comes with JWM and ROX for the desktop, and I generally like this combination.
Unfortunately, JWM switches to another Desktop when I press ALT and a number key. This is a drag because I also frequently use MScore where ALT+number key is also a useful keyboard shortcut and I found no way to change it in MScore.
Is it possible to turn off this shortcut in JWM? I didn't find it in the desktop config tool.

thank you

Hans
Last edited by hanzf on Thu 16 Apr 2015, 12:39, edited 1 time in total.
Precise 5.7.1 frugal with .2fs
AMD Athlon 64 3700+
1000 MB RAM
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: JWM: Alt-(number) switches desktops. Can this be turned off?

#2 Post by L18L »

hanzf wrote:Is it possible to turn off this shortcut in JWM? I didn't find it in the desktop config tool.
I have also searched and tried without success. :oops:
If one virtual desktop is enough for you, just set number of virtual desktops to 1. :wink:
Find it in Menu>Desktop>JWM Einstellungen für Fenstermanager JWM>JWM Konfiguarationsmanager>Programmleistenverwaltung>Virtuelle Desktops

Let us hope for more competent answers. :D
David Andrew
Posts: 139
Joined: Fri 15 Nov 2013, 22:30

#3 Post by David Andrew »

You need to change the setting from JWM Configuration Manager --> Keyboard Shortcuts:

Image


Or you can do it manually as covered here:

http://murga-linux.com/puppy/viewtopic.php?t=81359
User avatar
hanzf
Posts: 161
Joined: Wed 11 Mar 2009, 21:39
Location: Belzig, Germany

#4 Post by hanzf »

Thank you guys. Yes, I find multiple desktops very handy. Reducing to 1 desktop is not an option I like. I also ran the settings manager as shown in your screenshot David Andrew but didn't find this particular shortcut. I'll try the "by hand" method.
Precise 5.7.1 frugal with .2fs
AMD Athlon 64 3700+
1000 MB RAM
User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#5 Post by MochiMoppel »

Edit files /etc/xdg/templates/_root_.jwmrc and /root/.jwm/jwmrc-personal. In each of the files remove

Code: Select all

<Key mask="A" key="#">desktop#</Key>
When you are done, open a console window and run fixmenus and jwm -restart.
User avatar
hanzf
Posts: 161
Joined: Wed 11 Mar 2009, 21:39
Location: Belzig, Germany

#6 Post by hanzf »

Thank you MochiMoppel, your Method worked!
Precise 5.7.1 frugal with .2fs
AMD Athlon 64 3700+
1000 MB RAM
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#7 Post by L18L »

MochiMoppel wrote:Edit files /etc/xdg/templates/_root_.jwmrc and /root/.jwm/jwmrc-personal. In each of the files remove

Code: Select all

<Key mask="A" key="#">desktop#</Key>
When you are done, open a console window and run fixmenus and jwm -restart.
thanks MochiMoppel.
Should really also work with editing of /root/.jwm/jwmrc-personal only.
A bug. Who is going to fix it?
User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#8 Post by MochiMoppel »

L18L wrote:Should really also work with editing of /root/.jwm/jwmrc-personal only.
This would only work if you intend to change the action associated with the shortcut Alt+#. I can't think of a meaningful use for Alt+#. Most important: the OP wants to get rid of the key combination altogether since it conflicts with other applications. If you remove it from /root/.jwm/jwmrc-personal then JWM will use the identical definition in /etc/xdg/templates/_root_.jwmrc, so you need to delete both.
A bug. Who is going to fix it?
Fix what? The strange JWM configuration? According to the JWM manual "Configuration of JWM is done by editing ".jwmrc". ". Not so in Puppy. Puppy uses 3 configuration files, with .jwmrc being the file that must not be changed. And who came up with the funny idea to place a full copy of the main configuration file's keyboard settings into /root/.jwm/jwmrc-personal? We will never know :lol:
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#9 Post by L18L »

Mochi,

You are absolutely right and I highly appreciate your comments.

I just had forgotten that Puppy does want to be and stay a single user system.
Post Reply