snap app window to L or R screen with keystroke?
snap app window to L or R screen with keystroke?
Using BionicPup64, version 8. I have setup to move an app to R or L half of screen by using JWMDesk Manager snap function. However I would like to see if it is possible using a keystroke combination (e.g. Ctrl-R arrow) to do the same...
- Attachments
-
- snap.png
- (117.02 KiB) Downloaded 133 times
Last edited by gychang on Wed 06 May 2020, 16:35, edited 2 times in total.
---
trying to learn puppylinux... :D
---
trying to learn puppylinux... :D
---
I have set keyboardshortcuts in /root/.jwm/jwmrc-personal to:
where mask="4" is my keycode 115 = Super_L in /root/.Xmodmap
What it does:
Left Windowskey + (Arrow)Left maximizes active Window to left half of Desktop, left Windodwskey + (Arrow)Right maximize active Window to right half of Desktop.
If you change the "mask=" to "C", it should behave as you suggested...
Code: Select all
<Key mask="4" key="Left">maxleft</Key>
<Key mask="4" key="Right">maxright</Key>
What it does:
Left Windowskey + (Arrow)Left maximizes active Window to left half of Desktop, left Windodwskey + (Arrow)Right maximize active Window to right half of Desktop.
If you change the "mask=" to "C", it should behave as you suggested...
Edit]beaten to it [/edit]
Wow, I'm so out of the loop - didn't realise jwm supports aero snap now. Does it snap to corners or just sides?
I see what you want is possible if you just edit the jwm config to add key bindings for these actions:
But have a look first - there may already be key bindings for them.
Or for other methods (e.g. other window managers, or snapping to corners) see http://murga-linux.com/puppy/viewtopic. ... 316#972316, or perhaps http://murga-linux.com/puppy/viewtopic. ... 579#939579
Wow, I'm so out of the loop - didn't realise jwm supports aero snap now. Does it snap to corners or just sides?
I see what you want is possible if you just edit the jwm config to add key bindings for these actions:
Code: Select all
maxtop Maximize window to the top half of the screen.
maxbottom Maximize window to the bottom half of the screen.
maxleft Maximize window to the left half of the screen.
maxright Maximize window to the right half of the screen.
Or for other methods (e.g. other window managers, or snapping to corners) see http://murga-linux.com/puppy/viewtopic. ... 316#972316, or perhaps http://murga-linux.com/puppy/viewtopic. ... 579#939579
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
JWMDesk Manager>Desktop tab->JWM Hotkey
- Attachments
-
- Screenshot.jpg
- (30.53 KiB) Downloaded 98 times
-
- Screenshot(1).jpg
- (39.31 KiB) Downloaded 99 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
works great!, thanks.HerrBert wrote:I have set keyboardshortcuts in /root/.jwm/jwmrc-personal to:where mask="4" is my keycode 115 = Super_L in /root/.XmodmapCode: Select all
<Key mask="4" key="Left">maxleft</Key> <Key mask="4" key="Right">maxright</Key>
What it does:
Left Windowskey + (Arrow)Left maximizes active Window to left half of Desktop, left Windodwskey + (Arrow)Right maximize active Window to right half of Desktop.
If you change the "mask=" to "C", it should behave as you suggested...
---
trying to learn puppylinux... :D
---
trying to learn puppylinux... :D
---
doesn't work in Precise-Light
I actually had this thread as solved in BionicPup64, now I am on Precise-Lite on a 32bit laptop.
Modifying jwmrc-personal now does not work. any help?
thanks
Modifying jwmrc-personal now does not work. any help?
thanks
---
trying to learn puppylinux... :D
---
trying to learn puppylinux... :D
---
Is it actually included by the main jwm config file?
Do other changes in it work?
What do you get if you run `jwm -p` in a terminal?
Do other changes in it work?
What do you get if you run `jwm -p` in a terminal?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan