Bug#749324: volumeicon-alsa: Should provide a .desktop file

2014-07-12 Thread Luca Capello
tags 749324 + upstream
tags 749324 + patch
user cont...@itopie.ch
usertags 749324 + itopie.ch-installation
user i...@codha.ch
usertags 749324 + codha.ch-installation
thanks

Hi there!

On Mon, 26 May 2014 13:18:43 +0200, Matthijs Kooijman wrote:
 it would be great if this package could provide a .desktop file, which
 makes it easier to start. Also, this allows simply linking or copying
 the desktop file into ~/.config/autostart to make the application
 autostart.
 
 Perhaps it's even better if a desktop file is provided in
 /etc/xdg/autostart, so the application autostarts when installed, though
 that might conflict with existing volume handling tools (depending on
 the X session type chosen).

Here a working .desktop file for /etc/xdg/autostart, IMHO anything else
is useless:

--8---cut here---start-8---
[Desktop Entry]
Name=Volume Icon
Name[fr]=Icône pour le contrôle du volume
Comment=Lightweight volume control for the systray
Comment[fr]=Simple contrôle du volume pour la barre d'état
Icon=volume
Exec=volumeicon
Terminal=false
Type=Application
StartupNotify=false
--8---cut here---end---8---

 notify-osd has a similar problem and seems to handle this by adding
 X-GNOME-Autostart-enabled=false to make it disabled by default,
[...]
 Just providing a desktop file in /usr/share/applications would help in
 any case. This will allow using gnome-tweak-tool (which seems to be the
 de facto tool for gnome customization) to add volumeicon to the list of
 startup applications by picking it from a list.

I do not follow GNOME so closely, but the .desktop file above is the
same as xfce4-power-manager, which is clearly a non-GNOME application,
so it should be fine.

Thx, bye,
Gismo / Luca


signature.asc
Description: Digital signature


Bug#749324: volumeicon-alsa: Should provide a .desktop file

2014-05-26 Thread Matthijs Kooijman
Package: volumeicon-alsa
Version: 0.4.6-2.1
Severity: normal

Hi,

it would be great if this package could provide a .desktop file, which
makes it easier to start. Also, this allows simply linking or copying
the desktop file into ~/.config/autostart to make the application
autostart.

Perhaps it's even better if a desktop file is provided in
/etc/xdg/autostart, so the application autostarts when installed, though
that might conflict with existing volume handling tools (depending on
the X session type chosen).

notify-osd has a similar problem and seems to handle this by adding
X-GNOME-Autostart-enabled=false to make it disabled by default, but it
seems that newer gnome versions don't have any obvious way to enable
disabled startup items like this one again (there is
gnome-session-properties, but that is removed in gnome 3.12 AFAIU.


Just providing a desktop file in /usr/share/applications would help in
any case. This will allow using gnome-tweak-tool (which seems to be the
de facto tool for gnome customization) to add volumeicon to the list of
startup applications by picking it from a list.

Gr.

Matthijs


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11.0+ (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages volumeicon-alsa depends on:
ii  libasound2  1.0.27.2-4
ii  libc6   2.18-5
ii  libgdk-pixbuf2.0-0  2.30.7-1
ii  libglib2.0-02.40.0-3
ii  libgtk2.0-0 2.24.23-1
ii  libnotify4  0.7.6-2
ii  libx11-62:1.6.2-2

volumeicon-alsa recommends no packages.

Versions of packages volumeicon-alsa suggests:
pn  alsamixergui | aumix-gtk | kmix | gnome-alsamixer  none
ii  notification-daemon0.7.6-1
ii  notify-osd [notification-daemon]   0.9.34-2

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org