maato / volumeicon Goto Github PK
View Code? Open in Web Editor NEWVolume Icon aims to be a lightweight volume control that sits in your systray.
Home Page: http://nullwise.com/volumeicon.html
License: GNU General Public License v3.0
Volume Icon aims to be a lightweight volume control that sits in your systray.
Home Page: http://nullwise.com/volumeicon.html
License: GNU General Public License v3.0
Would it be possible to make a new release? There have been a few fixes and new translations committed and the latest release was over 2 years ago.
volumeicon
pulseaudio -k
volumeicon hangs and consumes 100% cpu.
It would be nice to be able to specify which soundcard to use with a command line switch, and/or to be able to startup when a mixer is not found.
In my particular use case I get a crash at startup, but it is a pretty extreme corner case:
[root@archie ~]# volumeicon
volumeicon: alsa_backend.c:92: asound_get_volume: Assertion `m_elem != ((void *)0)' failed.
Aborted (core dumped)
Comparing to other applications:
gvolwheel -d hw:1
When one wants to control the PulseAudio via the special "pulse" device can set the device in the config manually, but is not visible in the device list.
Downstream report.
Description of problem:
This problem has been appearing for several years... there are several outstanding bug reports AND updates for this problem.
Again, I had just rebooted this system and issued a startx command. KDE was in the process of initalizing itself when this abort occurred.
Version-Release number of selected component:
volumeicon-0.5.1-3.fc30
Additional info:
reporter: libreport-2.10.0
backtrace_rating: 3
cmdline: /usr/bin/volumeicon
crash_function: g_log_structured_standard
executable: /usr/bin/volumeicon
journald_cursor: s=e4b2e897d758488999f3f4e20a26ded0;i=1235093;b=72935fa6fb554f548e3e2163982c0bb4;m=e93fdf81e;t=585a68ddd159f;x=6e818cbdbf205bc8
kernel: 5.1.0-0.rc3.git0.1.fc31.x86_64
rootdir: /
runlevel: N 3
type: CCpp
uid: 0
My device has a lower limit to the volume control and it seems volume icon ignores that.
Here's my amixer output for the device:
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined penum
Playback channels: Front Left - Front Right
Limits: Playback 135 - 255
Mono:
Front Left: Playback 168 [28%] [-43.50dB] [on]
Front Right: Playback 168 [28%] [-43.50dB] [on]
So volumeicon is showing 65% = (168 / 255) when it should be showing 28% = (168 - 135) / (255 - 135)
You can make changeable hot keys for switching output device?
Hi. Thank you for volumeicon!
I can adjust the volume of the speakers just fine by moving the mouse pointer on top of the icon and using the mouse scroll (which is great).
If I plug some headsets, this works just as nicely.
But with bluetooth, it doesn't work and I have to open the Mixer or use Fn keys to adjust the volume or mute it.
System info:
OS: Arch Linux (4.20.4-arch1-1-ARCH)
PulseAudio: version 12.2-2
PulseAudio Volume Control: version 1:3.0+23+g335c26c-1
Volumeicon: version 0.5.1-3
Bluez: version 5.50-6
Thank you!
Volumeicon uses the generic audio-volume-muted, audio-volume-low, audio-volume-medium and audio-volume-high icons to display the audio volume status in the panel. This causes visibility issues in situations where the gtk theme is dark and the panel is light, or with a light gtk theme plus a dark panel. It would be better to follow the specific icons for the panel, which are called audio-volume-muted-panel, audio-volume-low-panel, audio-volume-medium-panel and audio-volume-high-panel, and use the generic ones as a fallback.
No idea why, happens from time to time. I.e. over period of ~20 days, it segfaulted 16 times.
Using on Hardened Gentoo x86_64, under i3wm.
Built without support for notifications.
backtrace ↓, with -O2
. I've recompiled volumeicon with -O0
, and when crash will happen again, I'll post better bt. If you need more info/other stuff to be compiled with -O0
, please say so.
Core was generated by `volumeicon'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f0ee0453ec6 in XkbGetUpdatedMap (dpy=0x5651810088b0, which=7, xkb=0x5651810ddac0) at /var/tmp/portage/x11-libs/libX11-1.6.3/work/libX11-1.6.3/src/xkb/XKBGetMap.c:580
580 /var/tmp/portage/x11-libs/libX11-1.6.3/work/libX11-1.6.3/src/xkb/XKBGetMap.c: No such file or directory.
[Current thread is 1 (Thread 0x7f0ee227d8c0 (LWP 7186))]
(gdb) bt
#0 0x00007f0ee0453ec6 in XkbGetUpdatedMap (dpy=0x5651810088b0, which=7, xkb=0x5651810ddac0) at /var/tmp/portage/x11-libs/libX11-1.6.3/work/libX11-1.6.3/src/xkb/XKBGetMap.c:580
#1 0x00007f0ee0453fce in XkbGetMap (dpy=0x5651810088b0, which=which@entry=7, deviceSpec=deviceSpec@entry=256) at /var/tmp/portage/x11-libs/libX11-1.6.3/work/libX11-1.6.3/src/xkb/XKBGetMap.c:603
#2 0x000056518098c63a in grab_ungrab (rootwin=rootwin@entry=0x565181031150, keyval=269025043, modifiers=0, grab=grab@entry=1) at bind.c:198
#3 0x000056518098c893 in do_grab_key (binding=binding@entry=0x5651811205f0) at bind.c:309
#4 0x000056518098cc5e in keybinder_bind (keystring=0x5651810f1190 "XF86AudioRaiseVolume", handler=0x565180988dc0 <hotkey_handle>, user_data=0x0) at bind.c:465
#5 0x0000565180987755 in main (argc=1, argv=0x7ffe0b32c6e8) at volumeicon.c:1325
(gdb) t a a bt
Thread 4 (Thread 0x7f0ed624a700 (LWP 7208)):
#0 0x00007f0edfbdc7bd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f0ee0a339e5 in g_main_context_poll (priority=2147483647, n_fds=2, fds=0x7f0ec80010c0, timeout=-1, context=0x7f0ed000d670) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:4103
#2 g_main_context_iterate (context=0x7f0ed000d670, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3803
#3 0x00007f0ee0a33e3a in g_main_loop_run (loop=0x7f0ed000d600) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:4002
#4 0x00007f0ede0061cd in gdbus_shared_thread_func (user_data=0x7f0ed000d640) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/gio/gdbusprivate.c:274
#5 0x00007f0ee0a5ea4c in g_thread_proxy (data=0x5651810122d0) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthread.c:764
#6 0x00007f0edfea34bc in start_thread (arg=0x7f0ed624a700) at pthread_create.c:333
#7 0x00007f0edfbe620d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 3 (Thread 0x7f0ed6a4b700 (LWP 7206)):
#0 0x00007f0edfbdc7bd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f0ee0a339e5 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f0ed00010e0, timeout=-1, context=0x565181058ee0) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:4103
#2 g_main_context_iterate (context=context@entry=0x565181058ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3803
#3 0x00007f0ee0a33b22 in g_main_context_iteration (context=context@entry=0x565181058ee0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gmain.c:3869
#4 0x00007f0ed7823c0d in dconf_gdbus_worker_thread (user_data=0x565181058ee0) at dconf-gdbus-thread.c:82
#5 0x00007f0ee0a5ea4c in g_thread_proxy (data=0x565181012230) at /var/tmp/portage/dev-libs/glib-2.44.1-r1/work/glib-2.44.1/glib/gthread.c:764
#6 0x00007f0edfea34bc in start_thread (arg=0x7f0ed6a4b700) at pthread_create.c:333
#7 0x00007f0edfbe620d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 2 (Thread 0x7f0eceeab700 (LWP 7213)):
#0 0x00007f0edfbdc7bd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f0ed5628b7d in poll (__timeout=-1, __nfds=2, __fds=0x7f0ebc001710) at /usr/include/bits/poll2.h:46
#2 poll_func (ufds=0x7f0ebc001710, nfds=2, timeout=-1, userdata=0x56518111fd30) at /var/tmp/portage/media-sound/pulseaudio-7.1/work/pulseaudio-7.1/src/pulse/thread-mainloop.c:69
#3 0x00007f0ed5619693 in pa_mainloop_poll (m=m@entry=0x5651810e2910) at /var/tmp/portage/media-sound/pulseaudio-7.1/work/pulseaudio-7.1/src/pulse/mainloop.c:844
#4 0x00007f0ed5619d56 in pa_mainloop_iterate (m=0x5651810e2910, block=<optimized out>, retval=0x0) at /var/tmp/portage/media-sound/pulseaudio-7.1/work/pulseaudio-7.1/src/pulse/mainloop.c:926
#5 0x00007f0ed5619e20 in pa_mainloop_run (m=0x5651810e2910, retval=retval@entry=0x0) at /var/tmp/portage/media-sound/pulseaudio-7.1/work/pulseaudio-7.1/src/pulse/mainloop.c:944
#6 0x00007f0ed5628b0a in thread (userdata=0x565181086e50) at /var/tmp/portage/media-sound/pulseaudio-7.1/work/pulseaudio-7.1/src/pulse/thread-mainloop.c:88
#7 0x00007f0ed53d202c in internal_thread_func (userdata=0x5651810c9f80) at /var/tmp/portage/media-sound/pulseaudio-7.1/work/pulseaudio-7.1/src/pulsecore/thread-posix.c:81
#8 0x00007f0edfea34bc in start_thread (arg=0x7f0eceeab700) at pthread_create.c:333
#9 0x00007f0edfbe620d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 1 (Thread 0x7f0ee227d8c0 (LWP 7186)):
#0 0x00007f0ee0453ec6 in XkbGetUpdatedMap (dpy=0x5651810088b0, which=7, xkb=0x5651810ddac0) at /var/tmp/portage/x11-libs/libX11-1.6.3/work/libX11-1.6.3/src/xkb/XKBGetMap.c:580
#1 0x00007f0ee0453fce in XkbGetMap (dpy=0x5651810088b0, which=which@entry=7, deviceSpec=deviceSpec@entry=256) at /var/tmp/portage/x11-libs/libX11-1.6.3/work/libX11-1.6.3/src/xkb/XKBGetMap.c:603
#2 0x000056518098c63a in grab_ungrab (rootwin=rootwin@entry=0x565181031150, keyval=269025043, modifiers=0, grab=grab@entry=1) at bind.c:198
#3 0x000056518098c893 in do_grab_key (binding=binding@entry=0x5651811205f0) at bind.c:309
#4 0x000056518098cc5e in keybinder_bind (keystring=0x5651810f1190 "XF86AudioRaiseVolume", handler=0x565180988dc0 <hotkey_handle>, user_data=0x0) at bind.c:465
#5 0x0000565180987755 in main (argc=1, argv=0x7ffe0b32c6e8) at volumeicon.c:1325
Hi! Lovely app you've got, just one problem I'm noticing on my Artix Linux PC's, the sound control doesn't work when you first start the computer up, it chooses the wrong device for default. When I switch it to something else, then back to default in Preferences, it works. I would love to see this fixed or remedied in some way because literally all of my computers are like this including my Void Linux laptops.
Command line output can be seen here: http://pastebin.com/Cy9Mz0ZT
Not too sure how I could give additional information. When unmuting via volumeicon it does not unmute the device.
Volume Icon 0.5.1
pulseaudio 9.0
A manual page is standard reference document for POSIX applications. volumeicon
didn't have a manual page.
Please consider adding a manpage for better user reference.
In the About section there is a website link which directs to this url: http://softwarebakery.com/maato/volumeicon.html
This url does not exist. Update to direct to github?
It seems I can fix it by selecting another sound output and selecting pulse again, but it's tedious
I'm getting this error while trying to compile:
$ make
Making all in src
make[1]: Entering directory `/home/miki/Downloads/volumeicon-0.4.6/src'
gcc -DPACKAGE_NAME=\"volumeicon\" -DPACKAGE_TARNAME=\"volumeicon\" -DPACKAGE_VERSION=\"0.4.6\" -DPACKAGE_STRING=\"volumeicon\ 0.4.6\" -DPACKAGE_BUGREPORT=\"http://www.softwarebakery.com/maato/volumeicon.html\" -DPACKAGE_URL=\"\" -DPACKAGE=\"volumeicon\" -DVERSION=\"0.4.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -I. -Wall -DDATADIR=\"/usr/local/share/volumeicon\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/alsa -g -O2 -MT volumeicon.o -MD -MP -MF .deps/volumeicon.Tpo -c -o volumeicon.o volumeicon.c
volumeicon.c: In function ‘volume_icon_load_icons’:
volumeicon.c:764:4: warning: ‘gdk_pixbuf_unref’ is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:243): Use 'g_object_unref' instead [-Wdeprecated-declarations]
mv -f .deps/volumeicon.Tpo .deps/volumeicon.Po
gcc -DPACKAGE_NAME=\"volumeicon\" -DPACKAGE_TARNAME=\"volumeicon\" -DPACKAGE_VERSION=\"0.4.6\" -DPACKAGE_STRING=\"volumeicon\ 0.4.6\" -DPACKAGE_BUGREPORT=\"http://www.softwarebakery.com/maato/volumeicon.html\" -DPACKAGE_URL=\"\" -DPACKAGE=\"volumeicon\" -DVERSION=\"0.4.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -I. -Wall -DDATADIR=\"/usr/local/share/volumeicon\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/alsa -g -O2 -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c
mv -f .deps/config.Tpo .deps/config.Po
gcc -DPACKAGE_NAME=\"volumeicon\" -DPACKAGE_TARNAME=\"volumeicon\" -DPACKAGE_VERSION=\"0.4.6\" -DPACKAGE_STRING=\"volumeicon\ 0.4.6\" -DPACKAGE_BUGREPORT=\"http://www.softwarebakery.com/maato/volumeicon.html\" -DPACKAGE_URL=\"\" -DPACKAGE=\"volumeicon\" -DVERSION=\"0.4.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -I. -Wall -DDATADIR=\"/usr/local/share/volumeicon\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/alsa -g -O2 -MT bind.o -MD -MP -MF .deps/bind.Tpo -c -o bind.o bind.c
mv -f .deps/bind.Tpo .deps/bind.Po
gcc -DPACKAGE_NAME=\"volumeicon\" -DPACKAGE_TARNAME=\"volumeicon\" -DPACKAGE_VERSION=\"0.4.6\" -DPACKAGE_STRING=\"volumeicon\ 0.4.6\" -DPACKAGE_BUGREPORT=\"http://www.softwarebakery.com/maato/volumeicon.html\" -DPACKAGE_URL=\"\" -DPACKAGE=\"volumeicon\" -DVERSION=\"0.4.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -I. -Wall -DDATADIR=\"/usr/local/share/volumeicon\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/alsa -g -O2 -MT alsa_backend.o -MD -MP -MF .deps/alsa_backend.Tpo -c -o alsa_backend.o alsa_backend.c
In file included from alsa_backend.c:25:0:
/usr/include/glib-2.0/glib/gstring.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gstring.h:34:0,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9:0,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/gstring.h:34,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:35:0,
from /usr/include/glib-2.0/glib/gstring.h:34,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0,
from /usr/include/glib-2.0/glib/gstring.h:34,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gstring.h:35:0,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gunicode.h:23:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gunicode.h:29:0,
from /usr/include/glib-2.0/glib/gstring.h:35,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gerror.h:30:0,
from /usr/include/glib-2.0/glib/gunicode.h:29,
from /usr/include/glib-2.0/glib/gstring.h:35,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gquark.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gquark.h:34:0,
from /usr/include/glib-2.0/glib/gerror.h:30,
from /usr/include/glib-2.0/glib/gunicode.h:29,
from /usr/include/glib-2.0/glib/gstring.h:35,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gunicode.h:30:0,
from /usr/include/glib-2.0/glib/gstring.h:35,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gstring.h:36:0,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gutils.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gutils.h:34:0,
from /usr/include/glib-2.0/glib/gstring.h:36,
from alsa_backend.c:25:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from alsa_backend.c:27:0:
/usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from alsa_backend.c:28:0:
/usr/include/glib-2.0/glib/giochannel.h:28:2: error: #error "Only <glib.h> can be included directly."
make[1]: *** [alsa_backend.o] Error 1
make[1]: Leaving directory `/home/miki/Downloads/volumeicon-0.4.6/src'
make: *** [all-recursive] Error 1
I suggest that it be possible to only have one instance of this widget when running. Maybe a check around here to see if there is an instance running.
My very limited knowledge is to use GtkApplication to handle this for us.
Or am I missing something, like do we need to allow multiple instances for other X sessions or something?
Hi,
The volume can be set to a value higher than 100, If this happens, volumeicon crashes on the following assert
When I run ./autogen.sh
I get the following error:
configure.ac:24: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
configure.ac:25: warning: macro 'AM_GLIB_DEFINE_LOCALEDIR' not found in library
configure.ac:24: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:25: error: possibly undefined macro: AM_GLIB_DEFINE_LOCALEDIR
autoreconf: /usr/bin/autoconf failed with exit status: 1
Not really sure where to go from here. Some possible useful system info:
uname -a
Linux persephone 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux
cat /etc/issue
Debian GNU/Linux jessie/sid \n \l
apt-cache policy intltool
intltool:
Installed: 0.50.2-2
Candidate: 0.50.2-2
Version table:
*** 0.50.2-2 0
990 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
500 http://ftp.us.debian.org/debian/ sid/main amd64 Packages
100 /var/lib/dpkg/status
apt-cache policy autoconf
autoconf:
Installed: 2.69-4
Candidate: 2.69-4
Version table:
2.69-5 0
500 http://ftp.us.debian.org/debian/ sid/main amd64 Packages
*** 2.69-4 0
990 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
If the default device is changed (e.g. from built-in sound card to USB headset), Volumeicon does not change the volume on the new (current) device (the headset), but on the previous default (built-in card). It is enough to switch the device in preferences and switch it back to default to make it detect the change, but it would be very helpful if it could do this automatically.
happens in xfce4-panel 4.12.0-3ubuntu2, Ubuntu 16.04 LTS, also with current master, in the gif I use the scrollwheel to bring back the volumeicon's Icon. This also happens when I quit another app which is not the direct neighbor, as long as the app is right-side of volumeicon's Icon, it gets the icon of its right-side neighbor
Hi, first thank you very much for your work!
Would be added to the menu item "reload ALSA" as it has pnmixer?
If I have in pulseaudio 2 device and switching between them (BT headphones and speakers and if i plug in BT headphones, automatically switch the default channel to BT and send music to BT), so even if I sound automatically switches to BT headphones and mixer still control the "old" device (changed not to new device). It would be nice if the mixer react to a change in pulseaudio. But i can use "reload ALSA" for "manual" switch.
Thanks a lot!
I have the following error when my openbox tries to start volumeicon:
volumeicon: alsa_backend.c:92: asound_get_volume: Assertion `m_elem != ((void *)0)' failed.
When volumeicon is started manually, it works without a problem. The problem lies in indexes of sound cards, the ones you can add via /etc/modprobe.d/alsa-base.conf
. I set order of my sound cards because I usually have two of them:
options snd-ca0106 index=0
options snd-hda-intel index=1
If I have both cards enabled, everything works as expected, but when I disable the card with index=0
, so there will be only one card in the system with index=1
, I get the problem in question.
For now I've changed the index to 0 in order to be able to start volumeicon automatically, and it works so far.
After switch to Gtk3 it should be possible to use GtkApplication framework to allow only one icon to be present in systray. Might be a command-line option, if anyone wishes to have a couple of instances - can't think of an usage scenario for that, though.
When connect bluetooth audio headset, not automatic refreshed(Can't ajust volume in bluetooth). I must change default->Master to other, after then change it back to default->Master.
Hi,
Since a2a12ef, volumeicon is pretty much broken if the system icon theme doesn't have the "-panel" icon variants. The icon in the taskbar shows a "missing image" icon, and the libnotify notifications come up empty, at least in XFCE. Maybe volumeicon could provide an option to use the standard icon names, or even detect whether the "-panel" variants are installed and fall back to the others automatically.
See also:
https://bugs.archlinux.org/task/40929
https://bugs.archlinux.org/task/40939
I could provide a patch to implement i18n support via gettext.
Please look at the downstream bug that has some files attached to patch the sources.
Received these errors, and could not get away from them, so went ahead and just did a ./configure and continued with make and sudo make install and everything worked...
$ ./autogen.sh
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Hello.
I would like to ask for a hotkey for muting microphone. right now I am using pavucontrol as a mixer. I used to fn+F10 (Which is the key to mute the mic on my laptop, and it corresponds to XF86AudioMicMute) on a desktop environment. I always have to open pavucontrol which is not very convenient as a hotkey.
Volumeicon v0.5.1 fails with
(volumeicon:46343): Gtk-CRITICAL **: 21:59:27.231: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
[1] 46343 segmentation fault (core dumped) volumeicon
when attempting to run on Arch Linux/Wayland v1.18.0/Sway v1.5 using Waybar v0.9.3 (using 'tray' module).
Strace output at: https://pastebin.pl/view/74695be2
There's a bug with the mute / unmute functionality. After muting, you cannot unmute. Volumeicon indicates that the channel is unmuted, but there is no audio and opening alsamixer shows that the channel is still muted.
Another problem with volumeicon is its impossible to compile it in a different directory; eg cd volumeicon; mkdir build; cd build; ../configure; make
It'll error out during make/install because of hardcoded paths (in data/) again.
If the "horizontal slider" option is ticked, which is appropriate for vertical panels, the slider behaves in a weird way. According to the slider the volume is turned all the way up, but it's actually muted and vice versa.
Here's a video example:
http://webmshare.com/6M3GV
The volumeicon version I'm using is 0.5.1, but it also happens in an older (0.4.something) version.
Hi, I've just come across your project which is great BTW.
Is there any chance of adding a mute icon just below the slider, like you might expect if using Windows for example?
Also, on my setup, the slider is not wide enough to accommodate the text 100 when the slider is at the top. My default system GTK font (openbox) is size 10.
Thanks
Hi!
I'm part of the development team for BunsenLabs (community-developed successor to CrunchBang) and we'd like to implement volumeicon-alsa from Debian jessie (v. 0.4.6) into our upcoming release (we're currently using volti)...
http://crunchbang.org/forums/viewtopic.php?id=39994
http://pkg.bunsenlabs.org/
https://github.com/BunsenLabs
We're experiencing a visual bug with xfce4-notifyd... if you scroll on the volumeicon applet, 2 notifications appear showing the volume change. Double-click to mute works as expected, keyboard volume up/down/mute keys work as expected and clicking the icon/pulling the slider up/down works as expected. As far as I can tell it only happens when scrolling on the applet, it's like xfce4-notifyd is creating one notification and volumeicon is creating another (the levels are not exactly in sync).
I've tried altering the applet's preferences but no joy.
I realize that this version is 2 or 3 years old, but we're keeping to a policy of using Debian stable repositories for our default packages.
Do you know about this bug and is there a workaround?
Thanks in advance for any feedback you can give us. Cheers!
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether NLS is requested... yes
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^(.)${ <-- HERE ?([A-Z_]+)}?(.)$/ at /usr/local/bin/intltool-update line 875.
checking for intltool >= 0.23... found
configure: error: Your intltool is too old. You need intltool 0.23 or later.
sudo apt install intltool
Reading package lists... Done
Building dependency tree
Reading state information... Done
intltool is already the newest version (0.51.0-4)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.