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

"Jóhann B. Guðmundsson" johannbg at gmail.com
Mon Sep 17 16:56:22 UTC 2012


On 09/17/2012 12:39 PM, Frank Murphy wrote:
> [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

Note that there is no display-manager.service anymore [1] so you will 
have to order it after the relevant dm.service instead or try for example...

[Unit]
Description=Fix keymap on display start
After=graphical.target #or after gdm.service, kdm.service etc.

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

[Install]
WantedBy=graphical.target

Is this unit an workaround for an actual bug ( see for example 818265 )?

JBG

1.http://fedoraproject.org/wiki/Features/DisplayManagerRework


More information about the test mailing list