You are not logged in.
Pages: 1
Hi,
Is there a comon program by default who recognize WM shorcuts ?
For instance, to maximize a window :
master@Ubuntu:~$ programname <Alt><F10> --window=windowname
Or a comand that work with all X windows .
Last edited by infinite (2016-04-19 17:36:16)
Offline
wmctrl is a program that can be used to manipulate EWMH/NetWM compatible window managers (like xfwm4). So for example, to toggle them maximize status of a window, you could do:
wmctrl -r Mousepad -b toggle,maximized_vert,maximized_horz
...and it will toggle those two states for any window who's title matches "Mousepad".
If you want to programmatically manage windows you can use wmctrl, though I don't think you can do all xfwm4 window shortcuts (eg. tiling).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks ToZ .
So, there is no other program than wmctrl that handle windows ?
Offline
Depends on what exactly you want to do. wmctrl is really a one-of-a-kind tool when it comes to programmatically manipulating windows. If you are looking for someway to default window properties when the application first starts up, have a look at devilspie.
Is there a reason why you don't want to use wmctrl?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Wouldn't it not better to switch your windowmanager to something else that is more key-friendly than xfwm?
Offline
Pages: 1
[ Generated in 0.009 seconds, 10 queries executed - Memory usage: 547.2 KiB (Peak: 548.05 KiB) ]