How do you disable ALT + Mouse Drag to move windows?
it interferes with the shortcuts and modifiers of design software such as librecad. Librecad doesn't allow to change shortcuts, so I need to change the window manager settings.
Possible?
Thanks
Discussion, talk and tips
https://forum.puppylinux.com/
it interferes with the shortcuts and modifiers of design software such as librecad. Librecad doesn't allow to change shortcuts, so I need to change the window manager settings.
Possible?
Thanks
bob93 wrote: Sun Jan 08, 2023 4:44 amit interferes with the shortcuts and modifiers of design software such as librecad. Librecad doesn't allow to change shortcuts, so I need to change the window manager settings.
Possible?
Nothing is impossible
Open the file /root/.jwm/jwmrc-personal with a text editor like Geany and put the line <MoveMode mask="CS"></MoveMode>
just before the final </JWM> tag. Save the file and then in a console run jwm -restart
This will remap Alt+Drag to Ctrl+Shift+Drag . With mask="4" it would be remapped to WinKey+Drag.
I'm not sure how to disable it completely but mask="5" would be the highest valid number and - at least on my sytem - it seems to disable all possible key combinations.
MochiMoppel wrote: Sun Jan 08, 2023 6:32 ambob93 wrote: Sun Jan 08, 2023 4:44 amit interferes with the shortcuts and modifiers of design software such as librecad. Librecad doesn't allow to change shortcuts, so I need to change the window manager settings.
Possible?Nothing is impossible
Open the file /root/.jwm/jwmrc-personal with a text editor like Geany and put the line
<MoveMode mask="CS"></MoveMode>
just before the final </JWM> tag. Save the file and then in a console runjwm -restart
This will remap Alt+Drag to Ctrl+Shift+Drag . With mask="4" it would be remapped to WinKey+Drag.
I'm not sure how to disable it completely but mask="5" would be the highest valid number and - at least on my sytem - it seems to disable all possible key combinations.
I need to come back to this. It works, but it doesn't seem to be permanent, as in the line is not there after I restart the system. How do I make it permanent?
Do you have a save file or folder?
I assume you do.
Did you update it, saving the change?
hmmm, I restarted the system and it's there. I'm not sure what caused the line to disappear, probably other settings I have messed up with. I'll let you know if it disappears again. This time though I set mask to 4, because ctrl+shift+drag is needed by inkscape. So far so good
This is a hard drive install by the way. The savefile is for live puppies, correct?
Line disappeared today. What I did today was disable desktop compositor, pressed Ctrl+Alt+Backspace a few times, (as usual) used a gif recorder that uses the shortcut Ctrl+Alt+R, and used Inkscape, which has several Ctrl/Alt/Shift shortcuts and modifiers. I don't know if any of those things caused the jwmrc-personal file to reset. I will have to get in the habit of checking every 5 minutes whether alt+mouse drag moves windows
bob93 wrote:The savefile is for live puppies, correct?
that depends on the type of installation. Any Puppy Linux "frugal" install will use either a save folder or a save file for persistence storage according to the type of format the partition has or preference. Only the "full" install, which is similar to what method the usual Linux OS's use and is not recommended for Puppy Linux, does not use either a save folder of save file. The "full" install in fact limits the full potential of Puppy Linux and what we call "frugal" is not in any way a lesser installation, but actually provides the platform for Puppy Linux to perform at it's fullest capabilities.
I personally use 95% of the time a save folder.
bob93 wrote: Sun Jan 08, 2023 4:44 amit interferes with the shortcuts and modifiers of design software such as librecad.
Take a look here. If it helps, then add the page to your browser bookmarks.