Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 561936

Summary: >=net-misc/vino-3.14.2 add /etc/xdg/autostart/vino-server.desktop for vino-server auto start
Product: Gentoo Linux Reporter: Mikhail Kurinnoi <viewizard>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED UPSTREAM    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=561786
Whiteboard:
Package list:
Runtime testing required: ---

Description Mikhail Kurinnoi 2015-10-01 00:49:58 UTC
vino-server.desktop file should be located in /etc/xdg/autostart/vino-server.desktop too, but not only in /usr/share/applications/vino-server.desktop

Please, add to ebuild src_install section like:

src_install () {
default
insinto /etc/xdg/autostart
doins ./server/vino-server.desktop
}

According to http://pkgs.org/download/vino: Ubuntu, Centos and Slackware packages have /etc/xdg/autostart/vino-server.desktop only; Fedora, Debian and Archlinux /usr/share/applications/vino-server.desktop only; OpenMandriva and Rosa-Linux both locations... logicaly, should be /etc/xdg/autostart location only, since vino-server.desktop have "NoDisplay=true" and should start vino-server at user session start (have also "X-GNOME-Autostart-Phase=Applications" and "X-GNOME-AutoRestart=true"). Did I miss some point about this locations mess?

Reproducible: Always
Comment 1 Mikhail Kurinnoi 2015-10-01 11:13:08 UTC
Figured this out by myself. From net-misc/vino Makefile.am file:

for version 3.8.1:
autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_files = server/vino-server.desktop.in

for versions 3.14.2, 3.16:
applicationsdir = $(datadir)/applications/
applications_in_files = server/vino-server.desktop.in

Looks like Gnome3 DE changes (start from 3.9 version). Could you please add USE flag "gnome" to net-misc/vino, enabled by default, and ebuild changes for USE="-gnome" that trigger copy vino-server.desktop to /etc/xdg/autostart location too.
Comment 2 Pacho Ramos gentoo-dev 2015-10-07 13:36:36 UTC
This was done in purpose by upstream to get it started by g-s-d when needed and not by gnome-session always:
https://git.gnome.org/browse/vino/commit/?id=18be3c5546172bce551b65d60ec2c931bc451398