LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to send with xdotool a window to another Desktop X number? (https://www.linuxquestions.org/questions/linux-general-1/how-to-send-with-xdotool-a-window-to-another-desktop-x-number-764000/)

frenchn00b 10-23-2009 12:05 PM

how to send with xdotool a window to another Desktop X number?
 
http://www.semicomplete.com/projects/xdotool/#id2255999

Hello

Any idea how to send with xdotool a window to another Desktop X number, or the one to the right without following?

Thanks

frenchn00b 10-23-2009 12:31 PM

[ SOLVED ]

apt-get install xdotool


and add this to your .jwmrc:

Code:

<Key mask="A" key="F1">exec: xdotool set_desktop_for_window  $(xdotool getactivewindow)  0 </Key>

 <Key mask="A" key="F2">exec: xdotool set_desktop_for_window  $(xdotool getactivewindow)  1 </Key>

 <Key mask="A" key="F3">exec: xdotool set_desktop_for_window  $(xdotool getactivewindow)  2 </Key>

 <Key mask="A" key="F4">exec: xdotool set_desktop_for_window  $(xdotool getactivewindow)  3 </Key>



All times are GMT -5. The time now is 11:53 AM.