Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671506 - media-plugins/audacious-plugins-3.10 - multimedia keys not working
Summary: media-plugins/audacious-plugins-3.10 - multimedia keys not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-19 09:45 UTC by Cănărău Constantin
Modified: 2018-11-24 23:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cănărău Constantin 2018-11-19 09:45:19 UTC
It seems that audacious-3.10 with qt5 does not let me use keyboard multimedia keys.
As far I understand, this version support only qt5 and gtk2, gtk2 support being droped in ebuild.

Is there a workaround ? Am I just unable to find the option/use flag to activate support for multimedia keys ?

Thank you!

emerge --info audacious-plugins audacious
Portage 2.3.51 (python 3.7.1-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-8.2.0, glibc-2.28-r2, 4.19.2-gentoo-costel x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.2-gentoo-costel-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-gentoo-2.6
KiB Mem:    32873188 total,  25767736 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 19 Nov 2018 07:15:01 +0000
Head commit of repository gentoo: aea01e4dfd079a9c0886da610f2516e1b176c8e6
sh bash 4.4_p23
ld GNU gold (Gentoo 2.31.1 p3 2.31.1) 1.16
app-shells/bash:          4.4_p23::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.15::newer, 3.7.1::newer
dev-util/cmake:           3.12.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r1::gentoo
sys-devel/gcc:            8.2.0-r4::newer
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.ro.gentoo.org/gentoo-portage/
    priority: -1000
    sync-rsync-vcs-ignore: true
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: --human-readable --delete-before --progress

gnome-next
    location: /usr/portage/local/gnome-next
    sync-type: laymansync
    sync-uri: https://github.com/Heather/gentoo-gnome.git
    masters: gentoo
    priority: 0

mv
    location: /usr/portage/local/mv
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/user/mv.git
    masters: gentoo
    priority: 0

added
    location: /usr/portage/local/added
    masters: gentoo
    priority: 100

newer
    location: /usr/portage/local/newer
    masters: gentoo
    priority: 100

python
    location: /usr/portage/local/python
    masters: gentoo
    priority: 100

Installed sets: @deps, @desktop, @dev, @minimal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -mtune=skylake -flto=8 -floop-nest-optimize -fgraphite-identity -ftree-vectorize -ffast-math -funsafe-math-optimizations"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=native -mtune=skylake -flto=8 -floop-nest-optimize -fgraphite-identity -ftree-vectorize -ffast-math -funsafe-math-optimizations"
DISTDIR="/mnt/linux/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=11 --keep-going --with-bdeps=y --complete-graph --quiet-build=n --autounmask-write"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy cgroup collision-protect config-protect-if-modified distlocks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict news nodoc noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirrors.evowise.com/gentoo/ ftp://ftp.romnet.org/gentoo/ http://distfiles.gentoo.org/"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--enable-new-dtags,--as-needed,-z,relro,-z,now -O3 -pipe -march=native -mtune=skylake -flto=8 -floop-nest-optimize -fgraphite-identity -ftree-vectorize -ffast-math -funsafe-math-optimizations"
LINGUAS="ro en"
MAKEOPTS="-j8 --load-average=10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --delete-before --progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X aac acl acpi aes alsa amd64 avx avx2 bluetooth branding bzip2 cairo caps crypt custom-cflags custom-optimization cxx dbus egl encode fam flac fma3 gif gles gpm gstreamer gtk gtk3 hardened iconv icu idn ipv6 jpeg libtirpc lz4 mmx mmxext mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf perl pie png popcnt pulseaudio readline seccomp server sse sse2 sse3 sse4_1 sse4_2 ssl ssp ssse3 svg systemd threads truetype udev udisks unicode usb vaapi vdpau vhosts vorbis wayland x264 x265 xattr xtpax xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="ro en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX X86" NETBEANS_MODULES="apisupport extide javafx php profiler websvccommon" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset fastcgi gzip limit_conn limit_req memcached referer rewrite split_clients userid gunzip naxsi realip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

media-plugins/audacious-plugins-3.10::gentoo was built with the following:
USE="aac adplug alsa ffmpeg flac lame modplug mp3 nls pulseaudio vorbis wavpack -ampache -bs2b -cdda -cue -fluidsynth -gme -http -jack -libav -libnotify -libsamplerate -lirc -mms -scrobbler -sdl -sid -sndfile -soxr -speedpitch"


media-sound/audacious-3.10::gentoo was built with the following:
USE="nls"
Comment 1 Andreas Sturmlechner gentoo-dev 2018-11-19 21:35:11 UTC
Gnome hotkeys support was dropped in 3.10 after being broken by Gnome 3.26.

I can use my media keys for playback next/prev, volume up/down, play/pause and stop by acessing audacious through the MPRIS interface (e.g. Plasma Media Player Widget implements it).
Comment 2 Cănărău Constantin 2018-11-20 14:19:15 UTC
I activated MPRIS support in audacious and I can control audacious via xfce-pulseaudio-plugin. 
Also had to define keyboard shortcuts for audacious --play-pause/fwd/rew/stop.

Thank you!
Comment 3 Larry the Git Cow gentoo-dev 2018-11-24 23:17:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09fd832ba824b6eb86bfc12228a68265d8d15a05

commit 09fd832ba824b6eb86bfc12228a68265d8d15a05
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-11-24 21:41:18 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-11-24 23:16:42 +0000

    media-plugins/audacious-plugins: Re-add USE qt5, assorted fixes
    
    Add USE opengl
    Disable po dir if USE !nls
    Make USE adplug operational again
    Make USE alsa default
    Merge USE aosd into !qt5
    Merge USE hotkeys into !qt5
    Sort dependencies
    
    Bug: https://bugs.gentoo.org/640672
    Bug: https://bugs.gentoo.org/638682
    Closes: https://bugs.gentoo.org/671728
    Closes: https://bugs.gentoo.org/671506
    Closes: https://bugs.gentoo.org/640842
    Closes: https://bugs.gentoo.org/512698
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../audacious-plugins-3.10-r1.ebuild               | 170 +++++++++++++++++++++
 1 file changed, 170 insertions(+)