LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-23-2009, 12:05 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Smile 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
 
Old 10-23-2009, 12:31 PM   #2
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
[ 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>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
limit number of emails send from one IP ridwan77 Linux - Security 1 05-20-2009 03:52 AM
How to send characters on to the active window using X Window? abhinav.zoso Programming 3 01-24-2009 02:08 PM
Infinite number of smplayers window appears neerajms Linux - Software 1 11-14-2008 09:42 AM
[C++] Send message to window Moraxus Programming 1 10-16-2008 03:36 PM
Send message to window u4113072 Linux - Software 0 10-18-2002 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration