Hi,
I've just tried to set up some keyboard shortcuts, using Gnome, and found that some will not do anything, just like when I tried to do the same back on FC4, and I'm darned if I can find anything helpful about this.
Some of the functions available in the editor do nothing, yet the keys assigned do work, e.g. The lock screen function doesn't work, no matter what keys I use as the shortcut. Yet other functions do work, e.g. the "Run a terminal" will open a terminal, even if I assign it a key without a proper name, e.g. 0x7a showing in the configuration window.
Desktop Launch help browser - does nothing Log out - haven't tested Sleep - haven't tested Lock screen - does nothing Home folder - does nothing Search - does nothing Email - does nothing Launch web browser - does nothing Show the panel run application dialog - works Show the panel menu - works, but not always Take a screenshot - works Take a screenshot of a window - works Run a terminal - works
Sound Volume mute - does nothing Volume down - does nothing Volume up - does nothing Play (or play/pause) does nothing Pause - does nothing Stop playback key - does nothing Skip to previous track - does nothing Skip to next track - does nothing Eject - does nothing
I didn't bother going through all the rest. I'm mostly interested in getting the volume, play, track skipping ones to work, and the screen locking one would be handy. But how do you go about this?
In the past I have got XMMS to work with the audio buttons on an FC4 box, but I don't recall having to do anything more than see that keys had certain X names applied (such as, out of the various play/pause names that could be picked from, only specific ones worked).
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Tim,
Sound Volume mute - does nothing Volume down - does nothing Volume up - does nothing Play (or play/pause) does nothing Pause - does nothing Stop playback key - does nothing Skip to previous track - does nothing Skip to next track - does nothing Eject - does nothing
I have got the first three working on my D810 and all of them working on my mom's Inspiron.
I am not sure about the other keys, but I am guessing that they work too.
What issues are you facing?
thanks, Rogue
Tim:
Sound Volume mute - does nothing Volume down - does nothing Volume up - does nothing and so on...
Rogue:
I have got the first three working on my D810 and all of them working on my mom's Inspiron.
I am not sure about the other keys, but I am guessing that they work too.
What issues are you facing?
It doesn't work... ;-) (Sorry, couldn't resist)
But being serious, I bought a new keyboard from the evil empire that has a few multimedia buttons on it (Microsoft Comfort Curve Keyboard 2000 v1.0, USB), so I thought I'd have a bash at making use of some of them. Volume controls, at the least, would have been handy, as my speakers have none.
If you (or anyone else) uses Gnome on FC7, and has these shortcut keys working, can you have a look in the keyboard shortcuts preferences, and tell me whether yours has different shortcut names for the keys associated with the actions. I'll just list a few.
Action Shortcut Volume mute XF86AudioMute Volume down XF86AudioLowerVolume Volume up XF86AudioLowerVolume Play (or play/pause) XF86AudioPlay Skip to previous track XF86Back Skip to next track XF86Forward
In the past (FC 3 or 4) I had to play with some keyboard mapping files, creating a custom map for my other keyboard, and set specific names for some keys. There were a few similarly named keys, but applications only paid attention to some of them.
Yes, I've logged in and out, rebooted a few times, swore at it, etc. These keys are noticed being pressed by something, as I was able to configure the shortcuts by pressing those keys, and those names appeared in the configuration window.
Tim wrote:
Tim:
Sound Volume mute - does nothing Volume down - does nothing Volume up - does nothing and so on...
Rogue:
I have got the first three working on my D810 and all of them working on my mom's Inspiron.
I am not sure about the other keys, but I am guessing that they work too.
What issues are you facing?
It doesn't work... ;-) (Sorry, couldn't resist)
But being serious, I bought a new keyboard from the evil empire that has a few multimedia buttons on it (Microsoft Comfort Curve Keyboard 2000 v1.0, USB), so I thought I'd have a bash at making use of some of them. Volume controls, at the least, would have been handy, as my speakers have none.
If you (or anyone else) uses Gnome on FC7, and has these shortcut keys working, can you have a look in the keyboard shortcuts preferences, and tell me whether yours has different shortcut names for the keys associated with the actions. I'll just list a few.
Action Shortcut Volume mute XF86AudioMute Volume down XF86AudioLowerVolume Volume up XF86AudioLowerVolume Play (or play/pause) XF86AudioPlay Skip to previous track XF86Back Skip to next track XF86Forward
In the past (FC 3 or 4) I had to play with some keyboard mapping files, creating a custom map for my other keyboard, and set specific names for some keys. There were a few similarly named keys, but applications only paid attention to some of them.
Yes, I've logged in and out, rebooted a few times, swore at it, etc. These keys are noticed being pressed by something, as I was able to configure the shortcuts by pressing those keys, and those names appeared in the configuration window.
Those are not close to what I have.
Did you use: System/Preferences/Personal/Keyboard Shortcuts? If you do it that way, it will grab the actual scan code of the keyboard.
This procedure works for all buttons that produce a scan code.
On my Dell Laptop (work bought it for me!) Volume Down = 0xae Volume Up = 0xb0 ... etc
Good luck!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Phil Meyer wrote:
Tim wrote:
Tim:
Sound Volume mute - does nothing Volume down - does nothing Volume up - does nothing and so on...
Rogue:
I have got the first three working on my D810 and all of them working on my mom's Inspiron.
I am not sure about the other keys, but I am guessing that they work too.
What issues are you facing?
It doesn't work... ;-) (Sorry, couldn't resist)
I was kinda expecting that :-P
If you (or anyone else) uses Gnome on FC7, and has these shortcut keys working, can you have a look in the keyboard shortcuts preferences, and tell me whether yours has different shortcut names for the keys associated with the actions. I'll just list a few.
Action Shortcut Volume mute XF86AudioMute Volume down XF86AudioLowerVolume Volume up XF86AudioLowerVolume Play (or play/pause) XF86AudioPlay Skip to previous track XF86Back Skip to next track XF86Forward
Those are not close to what I have.
Did you use: System/Preferences/Personal/Keyboard Shortcuts? If you do it that way, it will grab the actual scan code of the keyboard.
This procedure works for all buttons that produce a scan code.
On my Dell Laptop (work bought it for me!) Volume Down = 0xae Volume Up = 0xb0
Mine look similar. I guess, you might want to know the key code that is being fired when you actually click on these multimedia keys.
Meaning, when you try to reset the above, do you still see XF86... when you click on these keys? If you do, then I would suspect that GNOME is not capturing them. Can't think of a nice way to debug the issue, but will let you know once I have more information
thanks, Rogue
Phil Meyer wrote:
Tim wrote:
Tim:
Sound Volume mute - does nothing Volume down - does nothing Volume up - does nothing and so on...
Rogue:
I have got the first three working on my D810 and all of them working on my mom's Inspiron.
I am not sure about the other keys, but I am guessing that they work too.
What issues are you facing?
It doesn't work... ;-) (Sorry, couldn't resist)
But being serious, I bought a new keyboard from the evil empire that has a few multimedia buttons on it (Microsoft Comfort Curve Keyboard 2000 v1.0, USB), so I thought I'd have a bash at making use of some of them. Volume controls, at the least, would have been handy, as my speakers have none.
If you (or anyone else) uses Gnome on FC7, and has these shortcut keys working, can you have a look in the keyboard shortcuts preferences, and tell me whether yours has different shortcut names for the keys associated with the actions. I'll just list a few.
Action Shortcut Volume mute XF86AudioMute Volume down XF86AudioLowerVolume Volume up XF86AudioLowerVolume Play (or play/pause) XF86AudioPlay Skip to previous track XF86Back Skip to next track XF86Forward
In the past (FC 3 or 4) I had to play with some keyboard mapping files, creating a custom map for my other keyboard, and set specific names for some keys. There were a few similarly named keys, but applications only paid attention to some of them.
Yes, I've logged in and out, rebooted a few times, swore at it, etc. These keys are noticed being pressed by something, as I was able to configure the shortcuts by pressing those keys, and those names appeared in the configuration window.
Those are not close to what I have.
Did you use: System/Preferences/Personal/Keyboard Shortcuts? If you do it that way, it will grab the actual scan code of the keyboard.
This procedure works for all buttons that produce a scan code.
On my Dell Laptop (work bought it for me!) Volume Down = 0xae Volume Up = 0xb0 ... etc
Good luck!
If you want to know the actual keycode and keyseym for any key press in Xwindows, investigate the X utility calle "xev". It was available on my F7 installation and I don't believe I installed anything more special than some of the developers tools.
~~R
On Wed, 2007-08-01 at 22:36 -0700, Richard England wrote:
If you want to know the actual keycode and keyseym for any key press in Xwindows, investigate the X utility calle "xev". It was available on my F7 installation and I don't believe I installed anything more special than some of the developers tools.
I definitely do get responses from those keys in the Gnome keyboard shortcut preferences, and xev too. The keyboard does something. The problem is in getting other things to pay attention to them.
I can use the same buttons for *some* other things, for instance I can assign any of them to open a new terminal, and that works. But the audio mixer doesn't, nor any media players - I've tried mplayer, xmms, rhythmbox and vlc. I even tried to see if the back and forward buttons had any effect on web browser navigation in Firefox and Opera, or file system navigation in Nautilus.
Tim:
Action Shortcut Volume mute XF86AudioMute Volume down XF86AudioLowerVolume Volume up XF86AudioLowerVolume Play (or play/pause) XF86AudioPlay Skip to previous track XF86Back Skip to next track XF86Forward
Phil Meyer:
Those are not close to what I have.
The names would depend on a keyboard definition, a standard keyboard map would just return the scan codes, as yours did. A map for other keyboards might include some specific titles, the particular one depending on the map.
Did you use: System/Preferences/Personal/Keyboard Shortcuts? If you do it that way, it will grab the actual scan code of the keyboard.
That was what I did, and how I got them.
This procedure works for all buttons that produce a scan code.
On my Dell Laptop (work bought it for me!) Volume Down = 0xae Volume Up = 0xb0 ... etc
I get things like that, too, if I just had a bog standard keyboard layout configured. But, either way, with named keys or raw codes, those keys don't do anything (the volume doesn't change when you press volume keys, etc.).
On Tue, 2007-07-31 at 01:07 +0930, Tim wrote:
Hi,
I've just tried to set up some keyboard shortcuts, using Gnome, and found that some will not do anything, just like when I tried to do the same back on FC4, and I'm darned if I can find anything helpful about this.
Some of the functions available in the editor do nothing, yet the keys assigned do work, e.g. The lock screen function doesn't work, no matter what keys I use as the shortcut. Yet other functions do work, e.g. the "Run a terminal" will open a terminal, even if I assign it a key without a proper name, e.g. 0x7a showing in the configuration window.
Mine is mostly working, presario v3320tu:
Desktop Launch help browser - does nothing
working, I think depends on preferred applications at system menu
Log out - haven't tested Sleep - haven't tested Lock screen - does nothing Home folder - does nothing Search - does nothing Email - does nothing
Working too, same as browser
Launch web browser - does nothing Show the panel run application dialog - works Show the panel menu - works, but not always Take a screenshot - works Take a screenshot of a window - works Run a terminal - works
Sound Volume mute - does nothing Volume down - does nothing Volume up - does nothing Play (or play/pause) does nothing Pause - does nothing Stop playback key - does nothing Skip to previous track - does nothing Skip to next track - does nothing
All working and with special key from laptop. I set up it with looking /var/log/message what code is generated when special key pressed and assign it to launcher
Eject - does nothing
I didn't bother going through all the rest. I'm mostly interested in getting the volume, play, track skipping ones to work, and the screen locking one would be handy. But how do you go about this?
In the past I have got XMMS to work with the audio buttons on an FC4 box, but I don't recall having to do anything more than see that keys had certain X names applied (such as, out of the various play/pause names that could be picked from, only specific ones worked).
All multimedia shortcut working properly, but with application launcher I feel take a longer time to launch, more quick with click icon at panel ;-)
On Tue, 2007-07-31 at 01:07 +0930, Tim wrote:
I've just tried to set up some keyboard shortcuts, using Gnome, and found that some will not do anything, just like when I tried to do the same back on FC4, and I'm darned if I can find anything helpful about this.
I gave up on trying to find where the fault was, and took the brute force method. There's gconf.xml files all over the place, and just I couldn't tell what was wrong with them just by looking at them.
Seeing as the shortcuts work for another user, the problem's got to be down to my own settings, somewhere. I logged out graphically, renamed the .gconf directory through the CLI, leaving me with defaults, logged back in graphically, and it works.
Now, faced with Evolution losing all my settings (damn thing should have it's own .evolution folder, not spreading its parts it other places), I had to put its settings files back in ~/.gconf/apps/evolution/, log out and back in again, and then go through configuring other things I'd lost. Grr, this is reminding me of Windows...
I suppose I could try diffing between the renamed and newly made settings, but there's a bit of a mess of a tree to go through. One thing I do know, *I* didn't bugger it up, all of this was configured through the GUI configurators that come with the Gnome desktop.
It looks like I won't be able to use special keyboard keys with XMMS, as it doesn't seem to pay attention to Gnome controlling things. It wants to listen to keys for itself (which would preclude other things from using the same keys). At least it looks that way from playing with the xmms-acme RPM.
I don't care for the other music players I've tried, such as rhythmbox, which does pay attention to the player keys. It's a whacking great lumbering elephant, whereas XMMS was small and simple. But at least I can now mute the sound, or adjust the volume, easily. even the screensaver lock hotkey works, now.