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

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

 



On 17/09/12 13:21, "Jóhann B. Guðmundsson" wrote:
On 09/17/2012 09:48 AM, Frank Murphy wrote:
<snip> ...</snip>

Note that the proper way to do this today is to create and use type
oneshot unit in /etc/systemd/system directory which you then order as
you see fit with after or before into the boot process

JBG

Have the following as a one shot but getting "cannot open default display"
set-gb-keymap.service

# fix gb keymap on display start
# Author going a bit cracked.

[Unit]
Description=Fix keymap on disaply start
DefaultDependencies=no
After=local-fs.target sysinit.target display-manager.service

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

[Install]
WantedBy=graphical.target


--
Regards,
Frank
"Jack of all, fubars"
--
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