
Gnome Multimedia Keys
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This script will allow the use of keyboard multimedia keys in Gnome 2.18 and above (eg. ubuntu feisty/gusty/hardy) to control playback. This includes most multimedia buttons found on many laptops. Support for this was broken due to changes in the handling of keyboard shortcuts by gnome 2.18 and later.
Amarok 2 Version is here: http://www.kde-apps.org/content/show.php?content=103448
Currently supported operations are:
Play/Pause
Pause
Stop
Next Track
Previous Track
Simply run the script, no configuration of the script itself is required. The desired keyboard shortcuts can be configured by selecting "System-->Prefrences-->Keyboard Shortcuts" from the Gnome pannel.
Requires:
python >2.4
python-dbus
libdbus-glib
11 years ago
0.2: Added checks to make sure we only run on an affected system.
0.3: Locale fix.
0.4: Add configuration dialogue, add checks to avoid multiple instances.
0.5: add gnome 2.21/22 support
0.5.2: locale fix
11 years ago
0.2: Added checks to make sure we only run on an affected system.
0.3: Locale fix.
0.4: Add configuration dialogue, add checks to avoid multiple instances.
0.5: add gnome 2.21/22 support
0.5.2: locale fix
rahulthewall3000
12 years ago
Report
shevegen
13 years ago
This site is KDE specific, not Gnome specific. For me, this app is useless, and thus I am forced to vote negatively on it. Can we move this away please?
Report
Rinse
13 years ago
Who cares if it is meant for the gnome environment, windows environment or even macos.
kde-software can run on all kinds of platforms and desktops, so you can expect to find kde software meant for a specific situation.
Report
skatox
13 years ago
Report
ReMoot
13 years ago
Toghether with LinEAK or KlinEAK ReMoot can make your multimedsia keys work for all those apps without the need to remap keys between use.
ReMoot
http://kde-apps.org/content/show.php/ReMoot?content=63140
LinEAK
http://lineak.sourceforge.net/index.php?nav=download
Report
subscribed-lists
13 years ago
Report
ChaosWars
13 years ago
Report
browner
13 years ago
Report
AndreSomers
13 years ago
Report
csanchisb
13 years ago
Report
BorgQueen
13 years ago
Report
bugmenot
13 years ago
File "/home/xavy/.kde/share/apps/amarok/scripts/gnome_media_keys/gnome_media_keys.py", line 30, in ?
if (int(major) < 2) | ((int(major) == 2) & (int(minor) < 17)):
NameError: name 'major' is not defined
Report
s3tsk8
13 years ago
version 0.1 works..
but this new one I couldn't even run the script
Report
browner
13 years ago
Report
bugmenot
13 years ago
Traceback (most recent call last):
File "./gnome_media_keys.py", line 38, in ?
object = bus.get_object('org.gnome.SettingsDaemon', '/org/gnome/SettingsDaem on')
File "/var/lib/python-support/python2.4/dbus/bus.py", line 240, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/var/lib/python-support/python2.4/dbus/proxies.py", line 236, in __init_ _
self._named_service = conn.activate_name_owner(bus_name)
File "/var/lib/python-support/python2.4/dbus/bus.py", line 179, in activate_na me_owner
self.start_service_by_name(bus_name)
File "/var/lib/python-support/python2.4/dbus/bus.py", line 277, in start_servi ce_by_name
'su', (bus_name, flags)))
File "/var/lib/python-support/python2.4/dbus/connection.py", line 602, in call _blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The na me org.gnome.SettingsDaemon was not provided by any .service files
Report
browner
13 years ago
Why post it here? Simply because it gives the script the widest possible exposure to all Amarok users that MAY require it. The first place I searched for a fix was the script manager and had there been one there it would have saved me much time spent digging around. Surly you can sympathise with the Gnome users? If there was a viable alternative I would have taken it.
I'm sorry to have angered anyone and don't mean to insult the KDE crowd. I have total respect for you guys.
Report