Re: systemd help was: Re: Rawhide rc.local fails to start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frank Murphy wrote:
On 17/09/12 18:48, Samuel Sieb wrote:
Frank Murphy wrote:

[Service]
Type=oneshot
ExecStart=/usr/bin/setxkbmap -model pc104 -layout gb

A couple of suggestions.  The DISPLAY variable will not be set, so you
will need the -display parameter, most likely "-display :0".  Also, you
will probably need to run it as whatever user the dm runs as.  E.g. for
gdm, it's the gdm user.

it's lightdm so, how does one set a user in a service file?

User=username
--
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux