LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-24-2011, 12:56 PM   #1
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 572

Rep: Reputation: 120Reputation: 120
fvwm - send window to next virtual screen


I use fvwm and have it set up pretty nifty for quick use etc. What I would really like is to be able to add a button to the buttonlist in a window bar to send that window to the next virtual screen (ie, the one to the right).

Anyone help me?
 
Old 06-25-2011, 11:06 AM   #2
gammahermit
Member
 
Registered: Apr 2010
Distribution: Arch
Posts: 51

Rep: Reputation: 6
There is a function called MoveToPage X Y. Where X is the the column and Y the row I think, I may have that reversed. Here is the menu entry I used for my window menu. The last five rows are the relevant ones. You'll have to change the X Y to suit your desktopsize. You can also tell it to move left or right by setting X= -1p or +1p respectively. For the full description look at the fvwm man page. Just search for the function MoveToPage.

Quote:
DestroyMenu myWinMenu
AddToMenu myWinmenu
+ "Stays on top" Layer 0 6
+ "Default" Layer 0 4
+ "Stays on bottom" Layer 0 2
+ "Shade" WindowShade
+ "decor" ChangeDecor myDecor
+ "decor2" ChangeDecor myDecor2
+ "" Nop
+ "Move to 1" MoveToPage 0 0
+ "Move to 2" MoveToPage 1 0
+ "Move to 3" MoveToPage 2 0
+ "Move to 4" MoveToPage 3 0
+ "Move to 5" MoveToPage 4 0

Last edited by gammahermit; 06-25-2011 at 11:19 AM.
 
Old 06-26-2011, 04:42 PM   #3
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 572

Original Poster
Rep: Reputation: 120Reputation: 120
Cheers, that was just what I was looking for.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fvwm] Force EWMH window type zirias Linux - Desktop 0 07-29-2010 11:03 AM
Only a black background with a console window when I start fvwm-crystal ggyyree Linux - Newbie 5 03-04-2010 04:29 PM
Fvwm - Programatically switch virtual desktops devnull10 Linux - Software 1 01-21-2010 03:00 AM
VNC client window as a virtual desktop to the left of my real screen cram869 Linux - Desktop 2 08-07-2009 08:42 AM
Altering window contents in FVWM oneandoneis2 Linux - Software 2 06-04-2004 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:18 PM.

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