maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Quickswitch (https://talk.maemo.org/showthread.php?t=70091)

Addison 2011-02-19 14:35

Quickswitch
 
1 Attachment(s)
If you're running only two or three programs at the same time, I think this a really cute way to switch between tasks.

I can't be the only one who likes it, so I thought I would share.

It's perfectly safe, and if you don't like it, there's a way to uninstall it all, leaving nothing behind.

Create a new folder
/media/mmc1/N800

Download the file and unzip it inside there.
Attachment 17784

Open the Install Notes file, select all, copy, then open Xterm and paste.

Close Xterm.

To start:
In Xterm type xbindkeys
Then close Xterm

To end it:
In Xterm type killall xbindkeys
Then close Xterm

Or you can just copy and paste the Uninstall Notes file if you don't like it.

Use the zoom in and out hardware keys to immediately switch forwards and backwards between tasks.

And yeah, it's super fast and that's why I like using it. :)

Kroll 2011-02-19 16:03

Re: Quickswitch
 
good. Actually it is possible to put this option into Telescope for such a super fast lovers :D

Addison 2011-02-19 16:37

Re: Quickswitch
 
Yeah, I usually toggle between Tear and Dial Central and I just love the fast speed on how it changes from one screen to another. :)

If you don't like the hardware key settings...

In Xterm type
xbindkeys -k
to find a new keycode and change the value in either the prevw or nextw files. :)

Kroll 2011-02-20 09:12

Re: Quickswitch
 
Mitrandir has said it's quite possible.

Addison 2011-02-20 09:24

Re: Quickswitch
 
Ooh! I'm glad he likes the concept. :)

tso 2011-02-20 12:32

Re: Quickswitch
 
Only potential problem is that this will interfere with whatever use the zoom buttons have in different programs (pdf reader, image viewer, web browser and so on).

F2thaK 2011-06-08 09:05

Re: Quickswitch
 
any chance someone could make this an app for the N900?

would be wikid


edit: just tried, it and it WORKS on the N900!
just follow instructions exactly as in first post!

Addison 2011-11-17 07:03

Re: Quickswitch
 
1 Attachment(s)
Here's an updated version that also comes with a little extra feature.

The install and uninstall files are both in the folder after you unzip this onto the root of MMC1 (external memory card).

Attachment 23571

It's the same as before

To start
xbindkeys

To stop
killall xbindkeys

The Escape key now switches between apps and I really like this so much better.

Anyway, if you have Xmms installed, there are two files that will give you better control while playing music.

xlist

For this, you first need to launch Xmms, then Options, then click on Playlist WindowShade Mode.

You only have to do this just once and never again.

The keys are
Zoom out key - Previous song
Full screen key- Pause/Play
Zoom in key - Next song

What this will do is let you change tracks without having to constantly mess around with Xmms at all. It will also show the song title if you would like to have it on the screen while you're doing something else.

http://img824.imageshack.us/img824/3...1111619001.png

xplay

This works the same but Xmms, when launched, will be off the screen and no visual playlist.

It's best if you already have your songs or playlist loaded since once it launches, it will immediately begin playing.

To end. Simply fire up Xmms like you usually do (App Manager, Personal Launcher, Personal Menu, etc.) and then exit the app.

I love this set up on my N800 so I thought maybe someone else can enjoy this as well.

God bless. :)

scy 2011-11-19 02:05

Re: Quickswitch
 
Thanks for this!

As for me nextw did not work, I changed the .xbindingsrc as follows:
Code:

"/usr/bin/matchbox-remote -next"
Shift + Escape

Escape is needed for vim in my case, thus Shift + Escape.

Please note that nextw and prevw was not included in the zip file of the posting #8.

Addison 2011-11-19 04:37

Re: Quickswitch
 
Thanks for pointing that out.

I updated my previous post with the fix.

scy 2011-11-22 18:55

Re: Quickswitch
 
@Addison: Your are welcome.

I like this little feature so much that I would like to share the following modifications:

Code:

~ $ cat .xbindkeysrc
"/usr/bin/matchbox-remote -next"
m:0x0 + c:169
"/usr/bin/matchbox-remote -next"
Control + Escape
"/usr/bin/matchbox-remote -prev"
m:0x4 + c:169

Instead of Escape, I use now Control + Escape. Moving to a terminal window with the previously mentioned Shift button makes the first letter capitalized. Thus, Control.

In addition to the hardware keyboard of the N810 I use an Apple wireless keyboard. So there - to make switching windows even more handy - I use the "eject-button" (top right of the keyboard). So this then is a single key to switch to the next windows.

When using this external keyboard I have also made a switch back to the previous window. The button to be used here for is Control + "Eject Button" on the Apple keyboard.

One more addition: I added the line "/usr/bin/xbindkeys" to my /home/user/.bashrc. Thus, when opening a terminal window, xbindkeys will start automatically. To make it system wide one probably would have to add it to rc2.d and init.d.

Addison 2011-11-23 02:21

Re: Quickswitch
 
Neato.

I was wondering why you were using two keys to jump from one app to another. At first I thought it was too much to add an extra key like you've done with this.

Anyway, did you try the Xmms feature as well or haven't you bothered with it?

scy 2011-11-24 09:26

Re: Quickswitch
 
@Addison

First, it is just a little bit more convenient to use a single key, when I work with my external keyboard. The eject button is very easy to access; however, Ctrl+Escape (which also works on my external keyboard) is not too hard neither.

Second, switching to the previous window can then be done with the Ctrl+Eject button easily. I do not need the switching backwards functionality when I use the N810's hardware keyboard only, as then I tend to work with fewer open windows.


All times are GMT. The time now is 06:20.

vBulletin® Version 3.8.8