LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-17-2012, 02:15 PM   #1
Perceptor
Member
 
Registered: Jul 2007
Location: the Future
Distribution: Slackware
Posts: 128

Rep: Reputation: 64
Xmonad: is it possible to cycle through windows from all workspaces?


OK, first I wasn't exactly sure if I should post this thread in this subforum, so if my decision is wrong, I apologize.

I am using xmonad 0.10 on Slackware 13.37. I don't know Haskell, but the documentation is excellent, so I've succeeded creating the configuration I wanted. Except one thing: stated in the thread title.

Let's say I have applications running on two workspaces.

Code:
wrksp1: terminal, firefox, thunderbird
wrksp2: vim
I'm looking for an action that will allow me to cycle through _all_ currently opened windows. I know there's Cycle.Windows, but it only works for one workspace. So if I use this action, it would cycle only through the windows in workspace one and then start over, without switching to the vim window on the next workspace.

Code:
terminal -> firefox -> thunderbird |   vim
 ^----------------------------------   (won't switch to this window)
I think there should be such an action, but I couldn't find anything relevant. Thank you in advance.
 
Old 08-18-2012, 02:13 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Maybe "XMonad.Actions.WindowGo: " or "XMonad.Actions.WindowBringer" ?
 
1 members found this post helpful.
Old 08-18-2012, 04:57 AM   #3
Perceptor
Member
 
Registered: Jul 2007
Location: the Future
Distribution: Slackware
Posts: 128

Original Poster
Rep: Reputation: 64
Thank you for replying.
I've tried WindowGo before, but I can't seem to find the right syntax. I guess I should set the "class" to everything (all possible window classes). But neiher
Code:
, ("M-r"        , raiseNext (className =? "") )
nor
Code:
, ("M-r"        , raiseNext (className =? "*") )
works. (The function itself works, if I set a specific class.)
I've also tried the WindowBringer before; for some reason it didn't work. But even if it did, that's not exactly what I would want.
Thanks anyway.
 
  


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
[SOLVED] Switching workspaces in xmonad using programmer dvorak keyboard layout hda7 Linux - Software 6 03-25-2012 12:09 PM
[SOLVED] prevent windows from crossing workspaces dh37 Linux - Desktop 2 01-12-2012 02:32 PM
Keyboard Shortcut to Cycle through Windows? legolas52 Linux - Newbie 2 06-23-2011 05:10 AM
[SOLVED] Xfce: how to set icon for app in Task List and Cycle Windows? catkin Linux - Desktop 6 12-21-2010 04:52 AM
LXer: Windows vs Ubuntu Release Cycle (In Webcomic Form!) LXer Syndicated Linux News 0 09-10-2010 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:17 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