You are not logged in.

#1 2004-09-16 16:22:34

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Win key(Super_L) in XFCE4?

Is it possible to bind win key in XFCE4???

I suppose it is, but how?

Offline

#2 2004-09-16 18:34:24

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: Win key(Super_L) in XFCE4?

Nevermind. I've found this great prog called xbindkeys and it does the magic for me smile

Offline

#3 2004-09-16 20:39:21

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Re: Win key(Super_L) in XFCE4?

Dreameen wrote:

Nevermind. I've found this great prog called xbindkeys and it does the magic for me smile

Can you tell me how to work with it? :-D
Does it also work with gnome?


:?

Offline

#4 2004-09-16 21:25:45

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: Win key(Super_L) in XFCE4?

I think it works with every WM out there. To get it working you just have to:

1. pacman -S xbindkey
2. Edit the .xbindkeysrc file in your home directory and add any shortcuts you wish to use. The syntax is quite straighforward so you shouldn't have any problems with it.(hint: win key=Mod4).

So for example:

"rxvt"
Mod4+r

3. Now you want xbindkeys to run automatically everytime you enter GNOME. I can't help you with that because I've never used GNOME before. In my case I just put in a startup script directory which is scanned everytime I run XFCE4.

Offline

#5 2006-07-02 15:39:05

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Win key(Super_L) in XFCE4?

configuring xbindkeys to start a program like xterm for example is pretty easy imo, but what about windows manager functions like "shade","sticky" and so on? how do i get the right commands for that so that i can write them down in .xbindkeysrc too?

Offline

#6 2006-07-02 16:03:40

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Win key(Super_L) in XFCE4?

Using the evdev driver for your keyboad will make it much easier to bind stuff to Mod4... However, it also seems to preclude zapping X with ctrl-alt-backspace, which can be a *huge* problem.

Offline

#7 2006-07-03 22:10:31

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Win key(Super_L) in XFCE4?

detto wrote:

configuring xbindkeys to start a program like xterm for example is pretty easy imo, but what about windows manager functions like "shade","sticky" and so on? how do i get the right commands for that so that i can write them down in .xbindkeysrc too?

Most windowmanagers supports configuring keybindings (and some even have a GUI for it, for example kcontrol for KDE and obtuner for openbox) - what wm are you using?

Offline

#8 2006-07-03 22:30:24

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Win key(Super_L) in XFCE4?

Atm im using Pekwm because of its simple and effecitve default keybindings (with MOD4 aka winkey) but would love to go back to Xfce4 but use exactly the same keybindings like in Pekwm.

So, Xfce is "my" desktop roll  tongue  roll

Offline

#9 2006-07-04 03:51:54

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Win key(Super_L) in XFCE4?

Well here's something... Apparently binding Mod4 in XFCE will work again with GTK 2.10, which is why they're not going to fix it. Not sure what to think of keybinding functionality being transferred to GTK though. :?

Offline

#10 2006-07-04 11:56:36

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Win key(Super_L) in XFCE4?

Hey Jones,

sounds promising! smile
When can we ARchers expect a 2.10 release of GTK ?

Offline

#11 2006-07-04 14:03:42

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Win key(Super_L) in XFCE4?

When the devs feel like recompiling lots of stuff.

(Cairo 1.2.0, on the other hand, is fully compatible with 1.0.x, so I wouldn't be surprised if it popped up in the repos pretty soon.)

Offline

#12 2006-07-04 14:25:31

TomE
Member
Registered: 2005-08-06
Posts: 164

Re: Win key(Super_L) in XFCE4?

For some reason the gui you enter the shortcuts in is not recognising the button press.
But if you edit ~.config/xfce4/shortcuts/theme_name.xml by hand it will work eg.

<?xml version="1.0" encoding="UTF-8"?>
<shortcuts-theme name="theme_name">
    <shortcut command="thunar" keys="Mod4+e"/>
</shortcuts-theme>

Offline

#13 2006-07-04 17:19:15

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Win key(Super_L) in XFCE4?

TomE wrote:

For some reason the gui you enter the shortcuts in is not recognising the button press.
But if you edit ~.config/xfce4/shortcuts/theme_name.xml by hand it will work eg.

<xml> 
<shortcuts> 
   <shortcut> 
</shortcuts>

Will definitely try this out pretty soon and inform u of success smile
Thx!

Offline

Board footer

Powered by FluxBB