Difference between revisions of "OpenRC, an alternative to systemd"
→Installation: more minor grammatical changes
imported>Aaditya |
imported>Aaditya |
||
Line 43: | Line 43: | ||
run 'rc-update add cronie default' | run 'rc-update add cronie default' | ||
Running these command(s) adds the service(s) to the specified runlevels. For example | Running these command(s) adds the service(s) to the specified runlevels. For example on running: | ||
sudo rc-update add dbus default | sudo rc-update add dbus default | ||
The dbus service would be added to the default runelevel and would automatically be started at boot. | |||
''dbus'' (system message bus) and ''cronie'' (for cron) are some common services that can be enabled. | ''dbus'' (system message bus) and ''cronie'' (for cron) are some common services that can be enabled. | ||
Line 72: | Line 72: | ||
''lightdm'' and a ''lightdm-greeter'' (like ''lightdm-gtk-greeter'') should be installed to use lightdm as display manager. A guide is available on the [https://forum.manjaro.org/index.php?topic=21386.0 forums]. | ''lightdm'' and a ''lightdm-greeter'' (like ''lightdm-gtk-greeter'') should be installed to use lightdm as display manager. A guide is available on the [https://forum.manjaro.org/index.php?topic=21386.0 forums]. | ||
An alternative to ''lightdm'' | An alternative to ''lightdm'' is [https://wiki.archlinux.org/index.php/LXDM LXDM]. However the version in the repository does not automatically start a ck-session on login; alternative [https://aur.archlinux.org/packages/lxdm-consolekit/ lxdm-consolekit] from the [[AUR]] can be used. | ||
For more information about consolekit, have a look at the [[Openrc#Consolekit | Consolekit]] section. | For more information about consolekit, have a look at the [[Openrc#Consolekit | Consolekit]] section. | ||
Line 135: | Line 135: | ||
===== Suspend/Hibernate ===== | ===== Suspend/Hibernate ===== | ||
To suspend and hibernate via the command line, '''pm-utils''' can be installed. You may also need the '''upower-pm-utils''' package if suspend and hibernate does not work. See the [[Using_OpenRC,_an_alternative_to_systemd#Troubleshooting | troubleshooting]] section for some issues | To suspend and hibernate via the command line, '''pm-utils''' can be installed. You may also need the '''upower-pm-utils''' package if suspend and hibernate does not work. See the [[Using_OpenRC,_an_alternative_to_systemd#Troubleshooting | troubleshooting]] section for some issues that one could face. | ||
=== Note === | === Note === | ||
If | If using [[plymouth]] before, then {{ic|/etc/mkinitcpio.conf}} would need to be edited to remove the '''plymouth''' hook, as plymouth does not work correctly with OpenRC. The hooks line should look like: | ||
HOOKS="base udev autodetect modconf block resume filesystems keyboard keymap fsck" | HOOKS="base udev autodetect modconf block resume filesystems keyboard keymap fsck" |