Forum › Forums › General › Tips and Tricks › IceWM – Moving windows with keyboard shortcuts
- This topic has 10 replies, 6 voices, and was last updated Oct 30-4:32 pm by Rantanplan.
-
AuthorPosts
-
October 28, 2022 at 1:39 am #91631Member
Wallon
Dear users,
You will find in the *.odt file, the procedure to place 2 applications either vertically or horizontally on the same screen with keyboard shortcuts.
Best regards,
WallonAttachments:
October 28, 2022 at 1:40 am #91633Member
Wallon
October 28, 2022 at 6:26 am #91639Member
blur13
::Nice write-up!
There is also wingrid-* which works with all window managers found in antiX. As a bonus, it will even resize windows that are in fullscreen (not possible with the new tiling options in icewm).
October 28, 2022 at 8:39 am #91642Member
Wallon
::Dear blur13
Thank you for the compliment.
You are right, there is also wingrid-* but I have a very important note to make.
I work with 2 screens!
wingrid-* does not work or confuses my 2 screens. I simply cannot work with wingrid-*!
With keywin-*, all 4 functions on screen 1 work.
With keywin-*, I have 3 functions on screen 2 that work. If I press logo key + right arrow, my application returns to screen 1.Someone should do the test with 3 screens. I’m not sure if wingrid-* and keywin-* work properly.
Best regards,
WallonOctober 28, 2022 at 2:57 pm #91657MemberRantanplan
::Hello @Wallon,
Thanks for this clever tip đ
And thank you for the how-to in its French version.Good luck.
Friendships.
=======================en français========================
Bonjour @Wallon,Merci pour cette astuce astucieuse đ
Et merci pour le comment-faire dans sa version francophone.Bonne continuation.
Amitiés.
Vive antiX !
Vive le Groland !October 28, 2022 at 3:21 pm #91658MemberPPC
::Dear Wallon – thanks for the tutorial – I already set this up in my work ocmputer (I have lousy memory and tend to forget the keybindings and have to try several combinations…)
If I may, there’s a typo in your english tutorial (I haven’t read the french version- since my highschool french is terrible):
you say:
You have to create a file in [~/home/user_name/.icewm/prefoverride] and put in the 4 commands below;If should be something like:
In case it doesn’t already exist, you have to create the prefoverride file in ~/.icewm/ and make sure it has this 4 lines;
KeyWinTileLeft=”Super+Left”
KeyWinTileRight=”Super+Right”
KeyWinTileTop=”Super+Up”
KeyWinTileBottom=”Super+Down”Tip: after saving the file, restart Icewm/ your session/ your computer, for the changes to take effect!
I fixed your sentence: there where several problems with it:
– “~/” is the same as “/home/[user_name]”, don’t use both, it wont work (the computer will try to access “/home/user_name/home/user_name/”
– the way the sentence is in English, you don’t explain that “prefeoverride” is the file name, not part of the path!
– the file may already exist, for some reason (ex: someone already created it, or it gets generated automatically in a future icewm version…I hope you don’t mind the e small “corrections”. I also changed this post, so it includes all the steps you you mention (just for the sake of avaing the “full how-to” (minus the great pictures) here straight in the forum…
Once again, many thanks for the tip!
Edit2: I forgot to mention 2 things: the F11 key toggles on/off the full screen mode for the window that is in focus (great for people like me with a netbook with a tiny screen that sometimes cuts the bottom of the window) and also comment this: I though it was strange to use the “Super” key for this, then I thought how smart of a move it was: “Windows” key plus the arrow pointing to where the window should be… Man… you get a standing ovation! I won’t ever forget this shortcut keys!
P.
- This reply was modified 6 months, 1 week ago by PPC.
- This reply was modified 6 months, 1 week ago by PPC.
- This reply was modified 6 months, 1 week ago by PPC.
October 28, 2022 at 6:14 pm #91678Member
marcelocripe
::Hello dear Wallon.
Thank you very much for this excellent tutorial.
Attached is the Brazilian Portuguese version.
– – – – –
OlĂĄ, prezado Wallon.
Muito obrigado por este excelente tutorial.
Segue em anexo a versĂŁo em idioma PortuguĂȘs do Brasil.
Attachments:
October 28, 2022 at 6:20 pm #91680Member
Wallon
::Dear PPC,
Thank you for your compliments.
You can correct anything you want, English is not my first language and I don’t have much skill with Linux.
For the key combination (logo key + arrow), I didn’t want to reinvent the wheel. It’s the same key combination used in other environments like Windows, Gnome, Linux Mint or MX Linux. It is therefore more intuitive for people who have used another operating system.
Don’t forget the people who won’t know how to put Windows 11 on their computer. They will install antiX in French (it’s better) on their computer. It’s a joke…
Best regards,
Wallon.October 28, 2022 at 6:27 pm #91681Member
Wallon
::Dear Marcelocripe,
I’m glad to know that you can use it.
Don’t forget to let me know if you are receiving all the notifications from Transifex. I saw that my post in MX Linux was read by many translators.
Kind regards,
WallonOctober 29, 2022 at 2:18 am #91719ModeratorBobC
::I am not trying to discourage you from assigning keys that you like, but IceWM in antiX comes with these options that I can think of. I can’t tell you which of these work with two screens.
You might consider them if you find your 4 key choices a limiting factor…
1. Tile option on the Window menu via mouse or keyboard
2. WinArrange on Alt+Ctrl+KP_Left # Left-Move window Left keypad rose in preferences or prefoverride
3. # Wingrid on Ctrl+ 1 thru 0 on the number row in keys
key “Alt+Ctrl+1” wingrid-left.sh4. # Wingrid on Ctrl+Shift KP rose
key “Ctrl+Shift+KP_Left” wingrid-left.sh # Left-Move window to Left in keys5. KeyWinTileLeft=ââ # assign your own winarrange tiling key in preferences or prefoverride
6. key “Ctrl+Alt+KP_4” icesh -f sizeto 49% 100% top left in keys file
7. create your own solution
- This reply was modified 6 months, 1 week ago by BobC.
- This reply was modified 6 months, 1 week ago by BobC.
October 30, 2022 at 4:32 pm #91829MemberRantanplan
::Hello,
I’m sure that Wallon’s tip is a plus compared to the keyboard shortcuts visible under Menu/Settings/Preferences/Keywin.
In this menu, certain key combinations allow you to move the active window to different places on the console.
But I haven’t found any that reduce the active window by half a screen and move it up, down, left or right.
But, I may not have found the right sequence of keys.
Anyway, this tip is good.However, be careful, on the keyboard I use (packard bell easy notemz35 : https://lebonclavier.fr/packard-bell-easynote/4192-Clavier-Packard-Bell-EasyNote-MZ35-Francais-Azerty.html), you have to press several keys other than logo + (right, left, up or down), but when you have found the right keys, it is effective.
Bravo Wallon and thank you.
===================in french, my native language================
Bonjour,a priori, l’astuce de Wallon apporte un plus par rapport aux raccourcis clavier visibles sous Menu/RĂ©glages/PrĂ©fĂ©rences/Keywin.
Dans ce menu, certaines combinaisons de touches permettent en effet de dĂ©placer la fenĂȘtre active en diffĂ©rents endroits de la console.
Mais je n’en ai pas trouvĂ©e qui rĂ©duise la fenĂȘtre active d’un demi Ă©cran et la dĂ©place en haut, en bas, Ă gauche ou Ă droite.
Mais, j’ai pu ne pas trouver la bonne sĂ©quence de touches.
En tout cas, cette astuce est bonne.Cependant, attention, sur le clavier que j’utilise (portable packard bell easynote mz35 : https://lebonclavier.fr/packard-bell-easynote/4192-Clavier-Packard-Bell-EasyNote-MZ35-Francais-Azerty.html), il faut appuyer sur plusieurs touches autres que logo + (droite, gauche, haut ou bas), mais lorsqu’on a trouvĂ© les bonnes touches, c’est efficace.
Bravo Wallon et merci.
Vive antiX !
Vive le Groland ! -
AuthorPosts
- You must be logged in to reply to this topic.