Special volume keys are not working in the mate desktop

Bug #891424 reported by malheum
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Linux Mint
Fix Committed
Undecided
Unassigned

Bug Description

Hello,

I tried out the mate desktop in Linux Mint 12 RC - 32 bits and immediately found that the volume mute/unmute toggle button and the volume up and volume down keys do not work at all.

Also there is no volume control, but that is already reported in bug #891105.

Besides that, great work!

Revision history for this message
malheum (maxheise) wrote :

I should further clarify that I mean the extra hardware volume buttons found on top of the normal keys on the laptop.

Revision history for this message
mark stover (stovenator) wrote :

I can confirm the same behavior with Linux Mint 12 x64.

Hardware volume keys work correctly in Gnome Shell.

In Keyboard Shortcuts, I have:

Volume mute: XF86AudioMute
Volume down: XF86AudioLowerVolume
Volume up: XF86AudioRaiseVolume

I have tried reassigning the Shortcut keys again, with no effect.

In Sound Preferences I have:

Device HDA Intel (Alsa mixer)

In Configuration Editor, there is nothing set for default_mixer_device or default_mixer_tracks.

I tried setting default_mixer_device to alsamixer with no improvement.

I confirmed that the keypress is being sent by running:

xev | sed -n 's/^.*state \([0-9].*\), keycode *\([0-9]\+\) *\(.*\), .*$/keycode \2 = \3, state = \1/p'

Revision history for this message
SiKing (mark-lehky) wrote :

I can confirm same problem.
However, in my case, if I switch to GNOME3 the hotkeys work out of the box! Am I missing something?

Revision history for this message
mark stover (stovenator) wrote :

The source code for Mate isn't on the LinuxMint servers, but if the source on GitHub for mate-settings-daemon is correct, it has pulse disabled in the debian/rules file.

https://github.com/linuxmint/Mate-Packages/blob/master/mate-settings-daemon/debian/rules

DEB_CONFIGURE_EXTRA_FLAGS += \
--libexecdir=/usr/bin \
--disable-static \
--disable-pulse \
--disable-schemas-install \
--enable-polkit

Not 100% sure if this is the cause of the issue, but I'm gonna try to grab the source and switch --disable-pulse to --disable-gstreamer to see if this resolves the bug.

Revision history for this message
mark stover (stovenator) wrote :

Compiling mate-settings-daemon from the above source and changing the debian/rules to disable-gstreamer doesn't make a difference. I'm going to continue to look to see if I can figure out why they aren't working.

Revision history for this message
noname2 (noname2-deactivatedaccount) wrote :

mintmenu shortcut doesnt work too.

tags: added: hotkey keyboard keys mate media mintmenu shortcut
Revision history for this message
Kimiko Koopman (kimiko) wrote :

This bug is known by the Mate developers as Mate-Desktop-Environment issue #55 ("Problems using keyboard shortcuts"). It was reportedly fixed on 8 December.
https://github.com/perberos/Mate-Desktop-Environment/issues/55

Now we just have to wait until the Mint folks update the corresponding package(s).

Changed in linuxmint:
status: New → Fix Committed
Revision history for this message
Stefano Karapetsas (stefano-karapetsas) wrote :

The issue is solved in tridex esperimental repository (mate-settings-daemon 1.1.0-4). I hope to have it soon in Mint.

Revision history for this message
malheum (maxheise) wrote :

Cannot wait to test the fix.

That would make a nice Xmas present since I really use the volume keys a lot.

Revision history for this message
mark stover (stovenator) wrote :

I can confirm the fix works.

You'll need to add the following two lines to /etc/apt/sources.list:

deb http://tridex.net/repo/ubuntu/ oneiric main
deb-src http://tridex.net/repo/ubuntu/ oneiric main

And then you'll need to adjust your apt preferences. I adjusted mine to look like the following:

Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release o=Ubuntu
Pin-Priority: 500

Package: *
Pin: origin tridex.net
Pin-Priority: 700

Revision history for this message
SiKing (mark-lehky) wrote :

Thank You for the fix!
Any way to know if/when this will make it to official Mint, so that I know when to remove the workaround?

Revision history for this message
Cullen Carter (cullenc1993) wrote :

I am new to linux and I have very little experience with the terminal. Can someone explain to me how to use this fix, I am having the same problems and would greatly appreciate all the help I can get.

Revision history for this message
Robert Lock (beannachtai) wrote :

I would rather not use the work around - when is this expected to be resolved?

Revision history for this message
mike (mleo40) wrote :

This bug is still open, correct?

Is there a better location for updates?

Norbert (nrbrtx)
tags: removed: mate
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.