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?

--
Regards,
Frank
"Jack of all, fubars"
--
test mailing list
test@lists.fedoraproject.org
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test

Reply via email to