Re: Files in /etc/xdg/autostart should be declared as %config(noreplace)

2017-04-27 Thread Edgar Hoch
I agree - see the last section of my mail. Your approach is better.

But how do we get this approach to Fedora? Who is responsible for changeing the 
package guidelines and changing the packages (possibly even for Fedora 26?)?


Am 27.04.2017 um 14:57 schrieb Reindl Harald:
> wrong approach
> 
> go the systemd way
> 
> * distribution only installs to /usr/lib/xdg/autostart
> * /etc/xdg/autostart with the same name to override by admin
> * create a symlink to /dev/null for disable saomething completly
> 
> that is all much saner than the .rpmnew / .rpmsave dance
> 
> Am 27.04.2017 um 14:52 schrieb Edgar Hoch:
>> I want to start a discussion about xdg autostart.
>>
>> The problem is that system adminstrators should be able to install packages 
>> so software is available for users, but they should be able to configure 
>> which programs are autostarted on desktop login.
>>
>> Currently, I can modify files in /etc/xdg/autostart, and add a line 
>> "Hidden=true" or something like "OnlyShowIn=XFCE;", or I can remove files in 
>> this directory. But after an update of the package this file belongs to the 
>> file is overwritten with the original file of the package, so my changes are 
>> lost
>>
>> For example, in our university environment I don't want to autostart 
>> services like syncevo-dbus-server.desktop tracker-extract.desktop 
>> tracker-miner-apps.desktop tracker-miner-fs.desktop 
>> tracker-miner-rss.desktop tracker-miner-user-guides.desktop 
>> tracker-store.desktop zeitgeist-datahub.desktop at all as a default for all 
>> users (users can change it for themselfs), and services like 
>> baloo_file.desktop firewall-applet.desktop gnome-software-service.desktop 
>> kdeconnectd.desktop sealertauto.desktop syncevo-dbus-server.desktop 
>> tracker-extract.desktop tracker-miner-apps.desktop tracker-miner-fs.desktop 
>> tracker-miner-rss.desktop tracker-miner-user-guides.desktop 
>> tracker-store.desktop xpad.desktop xscreensaver-autostart.desktop 
>> zeitgeist-datahub.desktop should not start when using GNOME.
>>
>> The problem is that non (?) of the packages declare files in 
>> /etc/xdg/autostart as %config(noreplace). But in practice these files are 
>> configuration files.
>>
>> There should be any mechanism for administators to change the default of 
>> autostarting desktop services systemwide for all and for specific desktops.
>> One possibility would be not to overwrite these files on package updates.
>>
>> A better solution would be to store system defaults in /usr (for example, in 
>> /usr/share/xdg/autostart), and let /etc free for administrator purposes, as 
>> it was designed for systemd in /etc/systemd/system - where I can overwirte 
>> systemd services, or disable them all. Moreover better would be a command 
>> line interface (and a _working_ graphical interface) to configure autostart 
>> services systemwide and for individual users
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Files in /etc/xdg/autostart should be declared as %config(noreplace)

2017-04-27 Thread Edgar Hoch
I want to start a discussion about xdg autostart.

The problem is that system adminstrators should be able to install packages so 
software is available for users, but they should be able to configure which 
programs are autostarted on desktop login.

Currently, I can modify files in /etc/xdg/autostart, and add a line 
"Hidden=true" or something like "OnlyShowIn=XFCE;", or I can remove files in 
this directory. But after an update of the package this file belongs to the 
file is overwritten with the original file of the package, so my changes are 
lost.

For example, in our university environment I don't want to autostart services 
like syncevo-dbus-server.desktop tracker-extract.desktop 
tracker-miner-apps.desktop tracker-miner-fs.desktop tracker-miner-rss.desktop 
tracker-miner-user-guides.desktop tracker-store.desktop 
zeitgeist-datahub.desktop at all as a default for all users (users can change 
it for themselfs), and services like baloo_file.desktop firewall-applet.desktop 
gnome-software-service.desktop kdeconnectd.desktop sealertauto.desktop 
syncevo-dbus-server.desktop tracker-extract.desktop tracker-miner-apps.desktop 
tracker-miner-fs.desktop tracker-miner-rss.desktop 
tracker-miner-user-guides.desktop tracker-store.desktop xpad.desktop 
xscreensaver-autostart.desktop zeitgeist-datahub.desktop should not start when 
using GNOME.

The problem is that non (?) of the packages declare files in /etc/xdg/autostart 
as %config(noreplace). But in practice these files are configuration files.

There should be any mechanism for administators to change the default of 
autostarting desktop services systemwide for all and for specific desktops.
One possibility would be not to overwrite these files on package updates.

A better solution would be to store system defaults in /usr (for example, in 
/usr/share/xdg/autostart), and let /etc free for administrator purposes, as it 
was designed for systemd in /etc/systemd/system - where I can overwirte systemd 
services, or disable them all. Moreover better would be a command line 
interface (and a _working_ graphical interface) to configure autostart services 
systemwide and for individual users.

Thanks in advance

Edgar
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org