keyboard shortcuts: change desktop

Booting, installing, newbie
Message
Author
xxsolusxx
Posts: 107
Joined: Wed 22 Aug 2007, 22:34

keyboard shortcuts: change desktop

#1 Post by xxsolusxx »

doi they exist? If not, how can we prgram them in?

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#2 Post by alienjeff »

If you're using JWM, take a peek at /root/.jwmrc and /root/.jrm/jwmrc-personal for hotkey assignments:

Code: Select all

<Key mask="A" key="Tab">next</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="#">desktop#</Key>
<Key mask="A" key="F1">root:1</Key>
<Key mask="A" key="F2">window</Key>
Translation:

ALT-TAB will switch to the next application tab in the active workspace
ALT-F4 will close the currently active foreground application
ALT-1, ALT-2, etc. switches to the workspace number of choice
ALT-F1 is like clicking the menu button
ALT-F2 opens the ROX window for the existing app

You can edit /root/.jwm/jwmrc-personal and modify existing or add new keyboard shortcuts. For instance, my F1-F12 keys are configured to open email, browser, text editor, terminal, irc client, ROX-filer, dillo, MUT, AbiWord, Bluefish, hv3 and gxine, respectively - one key launches.
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

xxsolusxx
Posts: 107
Joined: Wed 22 Aug 2007, 22:34

#3 Post by xxsolusxx »

What file/ command would handle this in IceWM?

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#4 Post by alienjeff »

Don't know. The Alien doesn't do iceWM ...
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

xxsolusxx
Posts: 107
Joined: Wed 22 Aug 2007, 22:34

#5 Post by xxsolusxx »

but does the alien do the dew?

the twist?


it? *nikewhoosh*

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#6 Post by alienjeff »

Besides being allergic to iceWM, The Alien doesn't do Dew due to addiction to caffiene in another form, and nicotine: preferably Starbucks Gold Coast Extra Bold and Bali Shag Blue.
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#7 Post by DaveS »

How do I set up the Windows Menu key to maximise windows please? Tried a few things using 'super', but I cant seem to get it right :-(
Puppy 4.1, frugal.

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#8 Post by alienjeff »

@DaveS

Try:

<Key key="Menu">maximize</Key>
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#9 Post by DaveS »

Thanks, but I tried that and it did not do it. Tried it again though, still no joy. Maybe I have the wrong keyboard installed.

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#10 Post by DaveS »

Thanks, but I tried that and it did not do it. Tried it again though, still no joy. Maybe I have the wrong keyboard installed.

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#11 Post by alienjeff »

@DaveS

At the command line (console or terminal), type: xev

Then hit the Windows Menu key and not how xev identifies the key. With my keyboard, it's "Menu."
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

Bruce B

#12 Post by Bruce B »

AJ,

I thought xev was taken away from us? What version are you at?

xev is attached for anyone who doesn't have it.

Bruce
Attachments
xev.zip
(8.2 KiB) Downloaded 1642 times

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#13 Post by alienjeff »

offs!

When I do use Puppy, it's v2.12. I just booted 4.00 on the laptop and sure enough, xev is gone! Dammit.

Wonder what was the justification for removing such a helpful app? Certainly wasn't due to its size.

:cry:
Last edited by alienjeff on Wed 29 Oct 2008, 21:44, edited 1 time in total.
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

Bruce B

#14 Post by Bruce B »

For the record,

The Puppy 'desktop' is a clever mix of two programs, (1) JWM and (2) Rox-Filer

The menu items are JWM items, the desktop items are Rox-Filer items, both have keyboard shortcuts. The Rox-Filer is easy and intuitive to set.

What gets precedence and under what circumstances, I don't know.

Do you have a show desktop button? If not, you can edit ~/.jwmrc-tray, to make one.

Then

<TrayButton popup="Show Desktop" icon="/usr/local/lib/X11/mini-icons/showdesk16.xpm">showdesktop</TrayButton>

Another favorite of mine

<TrayButton popup="Xkill" icon="/usr/local/lib/X11/mini-icons/mini-bomb.xpm">exec:xkill</TrayButton>

If these lines display as two lines on your browsers: unwrap them into one line for use.
Last edited by Bruce B on Wed 29 Oct 2008, 21:49, edited 1 time in total.

Bruce B

#15 Post by Bruce B »

AJ,

You're running a different versions than me, my main is:

4.00-3.01_hodgepodge_seamonkey_1.1.12.noiso


Bruce

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#16 Post by DaveS »

Booted Ubuntu to check keyboard layout as it works in Ubuntu. Same keyboard install. Still no joy. Alt-F10 it will have to be!

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#17 Post by alienjeff »

Curiosity just got the best of me and I had to at least try it for myself. And it works. Here's my addition to .jwmrc-personal:

<Key key="Menu">maximize</Key>
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#18 Post by DaveS »

No go. Tried every combination that makes any sense, so it must be that my keyboard is somehow configured in such a way that leaves the Win key ignored.

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#19 Post by alienjeff »

Weird. Can you post your .jwmrc-personal here?

Also, were you able to "identify" the Windows Menu key with xev?
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#20 Post by DaveS »

Sorry, the xev reply never appeared. xev gives no reply when I hit the win key, and when I hit return, it says bad command, so I guess its not installed.

<!-- Personally configurable options for JWM: these override default settings and theme settings -->

<JWM>

<!-- Tray Task Insert -->
<TaskListStyle insert="right"/>

<!-- Number of virtual desktops -->
<Desktops count="1"/>

<!-- Double click speed (in milliseconds) -->
<DoubleClickSpeed>400</DoubleClickSpeed>

<!-- Double click delta (in pixels) -->
<DoubleClickDelta>3</DoubleClickDelta>

<!-- The focus model (sloppy or click) -->
<FocusModel>click</FocusModel>

<!-- The snap mode (none, screen, or border) -->
<SnapMode distance="10">none</SnapMode>

<!-- The move mode (outline or opaque) -->
<MoveMode>outline</MoveMode>

<!-- The resize mode (outline or opaque) -->
<ResizeMode>outline</ResizeMode>

<!-- Key bindings -->
<Key key="menu">maximise</Key>
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key key="F12">root:3</Key>
<Key key="SuperL">maximize</Key>

<Key mask="A" key="Tab">next</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="F10">maximize</Key>
<Key mask="A" key="F6">minimize</Key>
<Key mask="A" key="#">desktop#</Key>
<Key mask="A" key="F1">root:3</Key>
<Key mask="A" key="F2">window</Key>

</JWM>

Post Reply