Git Product home page Git Product logo

volumeicon's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

volumeicon's Issues

Volumeicon does not work to adjust bluetooth volume

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!

Cannot compile/install out of a shadow directory

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.

[feature request] reload ALSA

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!

Command line switch to specify the soundcard

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:

  • retrovol can startup in this situation and then I can choose hw:1 in the preferences
  • gvolwheel produces an error message on the command line (slightly better than crashing...), but I can start it with gvolwheel -d hw:1

Volumeicon crashes on Wayland/Sway/Waybar

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

Unmuting device does not work

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

build issue on debian jessie

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/.

Request to add a hotkey to mute microphone

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.

Provide progress and mute in summary or body of notifications

  • When using volumeicon with notification systems that do not support a progressbar, the summary or message body should contain the percentage in string form. Currently only "Volume icon" is displayed and all important information is lost.
  • For services without icon support the notification text should contain the mute status.

Can't unmute after unmuting

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.

New release

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.

You need intltool 0.23 or later

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)

Ignores control limits

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)

Missing manual page

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.

volumeicon 0.5.1 segfaults

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

Specific GTK theme icons for the panel

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.

g_log_structured_standard(): volumeicon killed by SIGTRAP

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

https://bugzilla.redhat.com/show_bug.cgi?id=1695951

Slider behaviour

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.

Mute icon just below slider

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

Allow only one instance at a time

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.

xfce4-notifyd - Scrolling on applet creates 2 notifications

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).

screenshot - 08292015 - 12 52 50 pm

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!

Change of the default device not automatically detected

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.

Have to toggle settings to get volume keys to work

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.

volumeicon: alsa_backend.c:92: asound_get_volume: Assertion `m_elem != ((void *)0)' failed.

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.

"pulse" special device is not visible

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.

error: #error "Only <glib.h> can be included directly."

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

Impossible to open preferences when locally compiled

  • It's impossible to open the preferences locally, it looks for some stuff that doesn't exist:
    (volumeicon:13935): Gtk-WARNING **: Error loading icon from file '/usr/local/share/volumeicon/gui/appicon.svg':
    Failed to open file '/usr/local/share/volumeicon/gui/appicon.svg': No such file or directory

Trouble with icon themes that don't include "-panel" variants

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

Single Instance

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?

Bluetooth sink not working

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.

autogen.sh fails

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.