PDA

View Full Version : Does something like this exist?



idono
October 30th, 2009, 03:28 AM
I've recently become frustrated with window picking. I want a better method then Alt-Tabbing until I find the window I want.

What I've been looking for is something like this:

For example, let's say I have the following windows open on my Ubuntu desktop:

New Document - OpenOffice.org Writer
Desktop - File Browser
Ubuntu Forums - Post New Thread - Mozilla Firefox

Let's say I'm in Firefox. My last window open was the File Browser, so a quick alt-tab brings me there.

But I want to get to OpenOffice. But hitting Alt-Tab and reading the window names is time consuming and takes too much disconnection from the task at hand.

Here's what I want to do:
Hit a keystroke (something like Ctrl-Shift-F)
Type a regular expression
The window which matches that Regular Expression opens.

This is very similar to when I type :buffer! into vim.

I've not been able to find anything like this... does it exist?

steveneddy
October 30th, 2009, 03:33 AM
Is that not gnome-do?

idono
October 30th, 2009, 03:39 AM
Is that not gnome-do?

I've played with Do a little but it doesn't seem to provide what I'm looking for. It will launch applications, but it will not allow me to switch to windows that are already open.

Unless I'm missing some feature of Do? It doesn't seem very well-documented.

Xbehave
October 30th, 2009, 03:50 AM
I don't have an answer, but have you looked at some of the alternate window managers, something probably has this.
i
http://en.wikipedia.org/wiki/Ion_%28window_manager%29
http://en.wikipedia.org/wiki/Ratpoison
http://en.wikipedia.org/wiki/Stumpwm (if you know lisp you can implement it, but it may already be there)

Chronon
October 30th, 2009, 04:58 AM
I've played with Do a little but it doesn't seem to provide what I'm looking for. It will launch applications, but it will not allow me to switch to windows that are already open.

Unless I'm missing some feature of Do? It doesn't seem very well-documented.

I don't use it, but since Docky allows switching between open programs I thought that "Do" would allow this too.

23meg
October 30th, 2009, 10:38 AM
I've played with Do a little but it doesn't seem to provide what I'm looking for. It will launch applications, but it will not allow me to switch to windows that are already open.

Unless I'm missing some feature of Do? It doesn't seem very well-documented.

You're missing the Window Manager plugin.

3rdalbum
October 30th, 2009, 12:19 PM
Why don't you use the Scale plugin of Compiz? Scoot your mouse into the top-right corner of the screen and all your windows scale down so they are all fully visible. Click on the one you want to switch to.

Yes I know it makes your Ubuntu desktop look too much like a Mac; but it's a genuinely helpful task switching device.

mechro
October 30th, 2009, 12:46 PM
Superswitcher...


Whilst holding down Super, typing regular letters or numbers will show you only those windows whose titles match that pattern. Pressing Enter (whilst still holding down Super) will then cycle through the matches, regardless of which workspace you are on. For example, if you have a lot of windows open, and you want to get to your web browser window that is showing planet.gnome.org, then hold down Super, then type 'p' 'l' 'a' 'Enter' and then release the Super key. Shift-Enter goes in the other direction than Enter (i.e., up and left with Shift, versus down and right without Shift). Use the Space key to enter multiple word fragments, such as 'pla gn', to further refine your search.

http://code.google.com/p/superswitcher/

forrestcupp
October 30th, 2009, 02:02 PM
Seems like it would be much quicker to just alt-tab a couple of times or click it in the panel app switcher.

Like 3rdalbum said, Scale is nice. I guess it wouldn't be good for you if you don't want to use your mouse, though.

But I guess you have your reasons for wanting to do it that way.