Manjaro Difference between pages "List of Qt Applications" and "OpenRC, an alternative to systemd"

Difference between pages "List of Qt Applications" and "OpenRC, an alternative to systemd"

From Manjaro
(Difference between pages)
imported>Excalibur1234
 
imported>Aaditya
 
Line 1: Line 1:
This page contains a list of Qt based applications/programs.  
[https://wiki.gentoo.org/wiki/OpenRC OpenRC] is a dependency based [https://en.wikipedia.org/wiki/Init init] system maintained by the Gentoo developers, that works with the system provided init program, normally [http://savannah.nongnu.org/projects/sysvinit sysvinit]. It is not a replacement for sysvinit.


Please search for the application name in your Manjaro repository. If you cannot find it, try the [[Arch User Repository]] as well.
It is an alternative to [http://www.freedesktop.org/wiki/Software/systemd/ systemd] for users that like more control over their system, and do not want all the features that systemd provides and automatically activates.


Sometimes, packages need to be downloaded from git or the developer website and installed manually.
== Installation ==


OpenRC is available from the the Manjaro repositories. It can be installed as:


__TOC__
sudo pacman -S openrc-base


The output of the above command looks like the following:


=Media Players=
$ sudo pacman -S openrc-base
:: There are 10 members in group openrc-base:
:: Repository community
    1) cronie-openrc  2) cryptsetup-openrc  3) dbus-openrc
    4) device-mapper-openrc  5) dhcpcd-openrc  6) glibc-openrc
    7) inetutils-openrc  8) lvm2-openrc  9) mdadm-openrc  10) openrc-core
Enter a selection (default=all):
resolving dependencies...
looking for inter-conflicts...
:: openrc-core and systemd-sysvcompat are in conflict. Remove systemd-sysvcompat? [y/N] y
Packages (12): systemd-sysvcompat-212-3 [removal]  sysvinit-2.88-15
                cronie-openrc-20140614-1  cryptsetup-openrc-20140614-1
                dbus-openrc-20140614-1  device-mapper-openrc-20140614-1
                dhcpcd-openrc-20140614-1  glibc-openrc-20140614-1
                inetutils-openrc-20140614-1  lvm2-openrc-20140614-1
                mdadm-openrc-20140614-1  openrc-core-0.12.4-16
Total Download Size:    0.22 MiB
Total Installed Size:  1.19 MiB
:: Proceed with installation? [Y/n]


*  [http://smplayer.sourceforge.net Smplayer] - the original fully-featured Qt4/5 frontend for mplayer/mplayer2
After installing the ''openrc-base'' package group, OpenRC should boot by default instead of systemd.  
*  [http://mpv.io/ mpv] - A media player based on MPlayer and mplayer2. It supports a wide variety of video file formats, audio and video codecs, and subtitle types.
Note that it will boot to a command line, as the service for a graphical display manager has not yet been installed.
*  [http://www.videolan.org/vlc/ VlC] - Standalone media player
*  [http://qt-apps.org/content/show.php/QMPlay2?content=153339 QMPlay2] - It can plays all formats and stream supported by ffmpeg and libmodplug. It has integrated Youtube browser.
*  [http://qt-apps.org/content/show.php/Xt7-player+3?content=151684 Xt7-player] - Xt7 is an mplayer gui that aims to be a complete interface to its tons of options coded keeping usability in mind.


= Music Players=
On installing ''openrc-base'', one may get messages like:


* [https://code.google.com/p/cantata/ Cantata] - Extremely featureful MPD client, with Qt4 and Qt5 interfaces.
  run 'rc-update add dbus default'
* [http://www.clementine-player.org/ Clementine] - modern music player and library organiser inspired by Amarok 1.4.
  run 'rc-update add cronie default'
*  [http://qt-apps.org/content/show.php?content=129372 YaRock] - Modern Music Player with collection browser based on cover art.
*  [http://www.tomahawk-player.org/ Tomahawk] - The social media player.
*  [http://flavio.tordini.org/musique Musique] - Music player with a clean and innovative interface.
*  [http://qmmp.ylsoftware.com/ Qmmp] - Audio-player, the user interface is similar to winamp or xmms.
*  [http://coonsden.com/ Quimup] -  A client for the Music Player Daemon (MPD) written in C++ and Qt
*  [http://sayonara.luciocarreras.de/ Sayonara Player] - Sayonara is a small, clear and fast audio player for Linux
*  [https://bitbucket.org/tonn/deadbeef-qt/wiki/Home deadbeef-qt] - Qt based user interface plugin for DeaDBeeF music player.


=Package Managers=
Running these command(s) adds the service(s) to the specified runlevels. For example on running:


* [https://octopiproject.wordpress.com/ Octopi] - Powerful Pacman (GUI | frontend) written in Qt
  sudo rc-update add dbus default
*  [http://almin-soft.fsay.net/index.php?pacmanxg/4x-hide/tags/pacmanxg pacmanxg] - Yet another GUI for pacman and yaourt. Depends neither on GTK nor Qt, only X11.
*  [http://sourceforge.net/projects/tkpacman/ tkpacman] - A lightweight GUI for pacman built with Tcl/Tk


= Sound =
The dbus service would be added to the default runelevel and would automatically be started at boot.


*  [http://xwmw.org/qastools/applications/qasmixer.html qasmixer] - sound mixer/volume handler (QtDesktop)
''dbus'' (system message bus) and ''cronie'' (for cron) are some common services that can be enabled.
*  [http://qt-apps.org/content/show.php/EKO?content=136558 EKO] - EKO is a simple sound editor
=== Additional packages ===
*  [http://code.google.com/p/flacon/ Flacon] - Tool to extract individual tracks from one big audio file.
*  [http://qtractor.sourceforge.net/qtractor-index.html Qtractor] - An audio/MIDI multi-track sequencer application
*  [http://kid3.sourceforge.net/ Kid3] - Audio files tagger


= Image Viewers=
==== Display Manager ====


*  [http://www.nomacs.org/ Nomacs] - image viewer (QtDesktop)
To boot to a graphical display manager, the '''displaymanager-openrc''' package can be installed.
*  [http://qt-apps.org/content/show.php/Photo?content=147453 Photo] - A fast, simple, good looking, yet powerful and highly configurable image viewer.
*  [http://code.google.com/p/qiviewer/ Qiviewer] - A Qt image viewer, designed to be fast and lightweight.
*  [https://github.com/lxde/lximage-qt LXImage-Qt] - The image viewer and screenshot tool for LXQt.
*  [http://www.nomacs.org/ nomacs] - nomacs is a free image viewer, which supports multiple platforms. You can use it for viewing all common image formats including RAW and psd images.


= Image Editors=
After installing it, the ''/etc/conf.d/xdm'' file needs to be edited to specify the display manager.


*  [https://github.com/Gr1N/EasyPaint EasyPaint] - Simple image editor
For example, to use '''lightdm''', change the line:
*  [http://www.pencil2d.org/ Pencil] - Animation/drawing software
*  [http://sourceforge.net/projects/lazpaint/ LazPaint] - Image editor, like PaintBrush or Paint.Net, written in Lazarus (Free Pascal). Includes BGRABitmap, a set of drawing routines.
*  [http://ardoise.toile-libre.org/en/home/ Ardoise] - The Ardoise ("The Slate") is an open-source software to draw, write and erase on an infinite area, then to save only the part you want.


= Graphic Tools=
DISPLAYMANAGER="xdm"
to
DISPLAYMANAGER="lightdm"


*  [http://converseen.sourceforge.net/ Converseen] - image converter and resizer
Finally the '''xdm''' service can be added to default runlevel:
*  [http://sir.projet-libre.org/ Sir] - Simple image resizer in qt4
*  [https://github.com/DOOMer/ScreenGrab Screengrab] - Screenshot application (QtDesktop)
*  [http://thehive.xbee.net/ hotshots] - HotShots is an application for grabbing screens and saving them in a variety of image formats as well as adding annotations and graphical data (arrows, lines, texts, ...).
*  [http://www.scribus.net/ Scribus] - A desktop publishing program
*  [http://www.enricoros.com/opensource/fotowall/ Fotowall] -  A tool for rendering collages from photos or pictures
*  [http://qtpfsgui.sourceforge.net/ Luminancehdr] -  graphical user interface application that aims to provide a workflow for HDR imaging
*  [http://posterazor.sourceforge.net/ Posterazor] - PosteRazor cuts a raster image into pieces which can be printed and assembled to a poster.
*  [http://trimage.org Trimage] - A GUI based lossless image compressor.


= Video Editors=
sudo rc-update add xdm default


*  [http://fixounet.free.fr/avidemux/ Avidemux-qt] -  A graphical tool to edit video (QtDesktop)
'''Note:'''
*  [http://ffdiaporama.tuxfamily.org ffdiaporama] -  Creation of videos sequences from images, titles, music
*  [http://www.selur.de/ hybrid-encoder] - A very complete gui for video encoding.
*  [http://www.shotcut.org/ Shotcut] - a free, open source, cross-platform video editor


=Media Converter=
''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].


[https://opendesktop.org/content/show.php/Curlew?content=155664 curlew] - Easy to use, Free and Open-Source Multimedia converter for Linux in Python
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.  
*  [http://qt-apps.org/content/show.php/Feff?content=140298 Feff] - Qt frontend for FFmpeg.  
*  [https://qwinff.github.io/downloads.html qwinff] - another frontend QT for ffmpeg
[https://sites.google.com/site/ffmulticonverter/ FF Multi Converter] -  Multi Converter is a GUI application that converts multiple file formats to different extensions
[http://icefeast.sourceforge.net/outreel.html Outreel] - Outreel is fast and esasy to use video converter from Icefeast.its a beast ffmpeg frondend for your linux system


= Text Editors=
For more information about consolekit, have a look at the [[Openrc#Consolekit | Consolekit]] section.


*  [http://sourceforge.net/projects/juffed/ Juffed] - text editor (QtDesktop)
==== Audio (ALSA) ====
*  [http://notepadqq.altervista.org/wp/ Notepadqq] - a Notepad++-like editor for the Linux desktop.
*  [http://semiletov.org/tea/ Tea] - text editor with an ultimate small sizethat provides you hundreds of functions.
*  [http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=qedit&full=1 Qedit] - A modern, standalone and multi-purpose text editor.
*  [https://bitbucket.org/equalsraf/vim-qt/wiki/Home Vim-qt] - An experimental Qt gui for Vim
*  [http://www.xm1math.net/texmaker/index.html Texmaker] - latex editor
*  [http://gottcode.org/focuswriter/ FocusWriter] - A simple fullscreen word processor
*  [http://code.google.com/p/qxmledit/ Qxmledit] - A simple XML editor written in Qt4
*  [http://www.lyx.org/ Lyx] - An advanced WYSIWYM document processor & LaTeX front-end
*  [http://sourceforge.net/projects/plume-creator/ Plume Creator] - With Plume Creator, organize your writing projects ! Scenes, notes, characters,... Rich Text editing, full screen editing and multiple projects supported.
*  [https://code.google.com/p/qscite/ qscite] - A code editor written in C++ and Qt4; A clone of SciTE
*  [https://github.com/selairi/mdiedit mdiedit] - Simple text editor with MDI interface. Written in qt5.
*  [http://www.riverbankcomputing.co.uk/software/qscintilla/intro/ QScintilla] - A port to Qt3 of Neil Hodgson's Scintilla C++ editor class


= Web Browsers=
The '''alsa-utils-openrc''' package can be installed. After installing it, run:


* [http://www.qupzilla.com/ qupzilla] - QtWebkit browser, really usable after 1.1.8.
  sudo rc-update add alsasound default
*  [http://otter-browser.org/ Otter Browser] - Otter Browser aims to recreate the best aspects of the classic Opera (12.x) UI using Qt5
*  [https://github.com/The-Compiler/qutebrowser qutebrowser] - A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit.
*  [http://www.opera.com/ Opera] - Presto-based. Closed source, but very powerful.
*  [http://qt-apps.org/content/show.php/Lightweight2?content=139266 lightweight2] - Very small browser using Qt libraries
*  [https://github.com/Metrological/qtbrowser QTbrowser] - simple Qt Browser for Qt 4 and 5


= Email Client=
to automatically start ''alsa'' at boot.


*  [http://trojita.flaska.net/ Trojita] -  An  IMAP email client
==== Network Manager ====


= IM/IRC clients=
By default ''dhcpcd'' is enabled via [https://github.com/gentoo/netifrc netifrc]. However if one uses Wifi to connect to the internet, or need a graphical network applet, then '''networkmanager-openrc''' can be installed.


*  [http://quassel-irc.org/ Quassel] - Daemon-based IRC client
''networkmanager-openrc'' replaces the normal networkmanager package in the repos. Also, it requires ''consolekit'' and ''polkit-consolekit'', which replaces the normal polkit from the repos.
*  [http://psi-im.org/ Psi] - IM app (XMPP only; slow development)
*  [http://qutim.org/ QutIM] - IM app (XMPP + other protocols)
*  [http://kadu.im/ Kadu] -  XMPP and Gadu-Gadu IM.
*  [http://licq.org/ Licq] -  Advanced graphical ICQ clone


= Twitter Clients=
Other alternatives like ''wicd-openrc'' and ''connman-openrc'' are also available.


*  [http://code.google.com/p/qwit/ Qwit] - a client for Twitter
==== Consolekit ====
*  [http://qtwitter.ahoy.net/ Qtwitter] - Twitter Client
*  [http://www.hotot.org/ Hotot-qt] - A lightweight & open source microblogging software (twitter identi.ca).


= File Managers=
The '''consolekit-openrc''' package can be installed. Consolekit supports multi-user setups, mounting of partitions by unauthorized users, etc. See the [https://wiki.gentoo.org/wiki/ConsoleKit Gentoo-Wiki] for more details.


*  [https://gitorious.org/andromeda Andromeda] - (QtDesktop)
Consolekit also allows a normal (non-root) user to shutdown or restart the system if the desktop environment supports it.
*  [http://www.qtfm.org/ Qtfm] - Tabbed FM with Bookmarks support
*  [http://qt-apps.org/content/show.php/NewBreeze?content=154427 Newbreeze] - Fast and light-weight File Manager (Qt4)  
*  [http://hamsiapps.com/en/HamsiManager Hamsimanager] - Hamsi Manager is a file manager, renamer, id3 tagger, information changer, ... tool.
*  [http://doublecmd.sf.net Double Commander] - powerful double panel cross platform file manager, written in Object Pascal / Lazarus, which uses couple of toolkits for UI includes Qt


= Archivers=
See the [[Openrc#Using_Consolekit | Using Consolekit]] section on how to install it and for more info.


*  [http://peazip.org/ peazip] - Free, Open Source file and archive manager. Supports 7Z, ACE, ARC, CAB, ISO, PAQ, PEA, RAR, TAR, ZIP and many more archive formats.
==== openrc-desktop ====
*  [http://b1.org/ b1 free archiver] - Most friendly and simple free file archiver


= Terminal emulators=
The ''openrc-desktop'' package group can be used to install most of the above desktop related packages in one go. For example:


* [https://github.com/qterminal/ qterminal] terminal emulator (maintainer: pvanek, QtDesktop)
  $ sudo pacman -S openrc-desktop
* [https://github.com/Swordfish90/cool-retro-term cool-retro-term] - A good looking terminal emulator which mimics the old cathode display...
:: There are 6 members in group openrc-desktop:
  :: Repository community
    1) acpid-openrc  2) alsa-utils-openrc  3) avahi-openrc  4) consolekit-openrc
    5) displaymanager-openrc 6) gpm-openrc
Enter a selection (default=all):  
resolving dependencies...
looking for inter-conflicts...
Packages (6): acpid-openrc-20140614-1  alsa-utils-openrc-20140614-1
              avahi-openrc-20140614-1  consolekit-openrc-20140614-1
              displaymanager-openrc-20140614-1  gpm-openrc-20140614-1
Total Installed Size:  0.12 MiB
Net Upgrade Size:      0.00 MiB
:: Proceed with installation? [Y/n]


= Bittorrent Clients=
==== Others ====


*  [http://www.qbittorrent.org/ qBittorrent] -  An advanced P2P bittorrent client.
===== ACPI =====
*  [http://www.transmissionbt.com/ transmission-qt] - Fast, easy, and free BitTorrent client.
*  [http://thegraveyard.org/qtorrent.html qtorrent] - A Bittorrent Qt GUI


= CD burning application=
For handling acpi events, '''acpid-openrc''' can be installed and enabled (see [https://wiki.archlinux.org/index.php/Acpid this] for more details on acpid).


*  [http://qt-apps.org/content/show.php/qmultirecord?content=106254 qmultirecord] - CD, DVD and BD recording frontend for cdrskin. Allows to simultaneously burn (and check) multiple ISO files in multithread mode on several optical drives.
===== Logging =====
*  [http://getsilicon.org Silicon Empire] — set of tools to Burn, Copy, Backup, Manage your optical discs like CDs, DVDs and Blu-Rays.


= PDF viewers=
For logging, a logger can be chosen from ''metalog-openrc'', ''syslog-ng-openrc'', and ''rsyslog-openrc'', by installing the package and enabling its respective service.


*  [https://launchpad.net/qpdfview qpdfview] - A tabbed PDF viewer using the poppler library.
===== Suspend/Hibernate =====
*  [http://qt-apps.org/content/show.php/Pdf+Viewer?content=149637 PdfViewer] -  A simple program for viewing PDF files.


= Web Applications=
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.


*  [http://clipgrab.de/ Clipgrab] - A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo,etc.
=== Note ===
*  [http://flavio.tordini.org/minitube Minitube] - A native YouTube client in Qt. Watch YouTube videos without Flash Player.
*  [http://code.google.com/p/qsopcast Qsopcast] - A front-end to p2p TV sopcast
*  [http://qt-apps.org/content/show.php/?content=147872 Rssguard] - RSS 0.92/1.0/2.0 & ATOM 1.0 feed reader (QtDesktop)
*  [http://code.google.com/p/rss-guard/ Quiterss] - A fast and light rss ,feed reader written in C++/Qt4
*  [http://weboob.org/ weboob] - Web Out Of Browsers provides several applications to interact with a lot of websites. 


= FTP Software=
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:


* [http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=qftp-qt4&full=1 qftp] - A Qt client for FTP file transfer.
  HOOKS="base udev autodetect modconf block resume filesystems keyboard keymap fsck"


= Online Storage & Data Backup=
After that would need to regenerate the initrd as:


* [http://luckybackup.sourceforge.net LuckyBackup] - Backup & Sync tool
  sudo mkinitcpio -p linux<version>
*  [https://spideroak.com/ spideroak] - Secure and consolidated free online backup, storage, access, sharing & sync tool for Windows, Mac OS X, and Linux.


= Notes Managment=
For example,


* [http://github.com/proton/zNotes ZNotes] - Lightweight application for notes managment with simple interface
  sudo mkinitcpio -p linux314
*  [http://code.google.com/p/basqet/ Basqet] -  A note-taking application similar to Basket
*  [http://code.google.com/p/lonote/ LoNote] - A simple and fast note-taking application using Webkit engine and is written by PyQt.


= Utilities=
== Configuration ==


*  [https://github.com/hluk/CopyQ copyq] - clipboard manager with searchable and editable history.
=== Adding or Removing services ===
*  [https://github.com/limansky/tinymount TinyMount] - is a little GUI tool for mount/unmount devices, using UDisks and Qt.
*  [http://www.keepassx.org/ keepassx] - Cross platform password manager
*  [https://github.com/andrew-bibb/cmst CMST] - GUI for connman (connman is a replacement for NetworkManager with any GTK+ dependencies)
*  [http://qt-apps.org/content/show.php/easymount?content=157956 easymount] - Qt Hardware Utility
*  [http://qpass.sourceforge.net qpass] - Easy to use password manager with built-in password generator
*  [https://gitorious.org/ptbatterysystemtray ptbatterysystemtray] - power management (QtDesktop)
*  [http://qbat.sourceforge.net/ QBat] - A small tool based on Qt4 to display battery stats in system tray
*  [http://code.google.com/p/qlipper/ Qlipper] - clipboard manager (maintainer: pvanek, QtDesktop)
*  [http://kldp.net/projects/qps Qps] - Process manager. Development is dead.
*  [http://code.google.com/p/qxkb/ qxkb] - keyboard layout/language switcher (QtDesktop)
*  [http://www.lesbonscomptes.com/recoll/ searchmonkey] - A powerful GUI search utility for matching regex patterns
*  [http://searchmonkey.sourceforge.net/ recoll] - Full text search tool based on Xapian backend.
*  [http://qt-apps.org/content/show.php/QGMailNotifier?content=85979 QGMailNotifier] - A  GMail notifier.
*  [http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=xgrabcolor&full=1 Xgrabcolor] - A basic color picker
*  [http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=Top&full=1 Top] - windowed version of the console top command.
*  [http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=taskbar&full=1 Taskbar] - a transparent taskbar to collect users favorite applications and run them in a simple click.
*  [http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=transparency&full=1 Transparency] -  a set of transparent applications.
*  [http://qx11grab.hjcms.de/ Qx11grab] - Qt4 applet for recording x11 windows with ffmpeg.
*  [http://gottcode.org/kapow/ kapow] - Punch clock to track time spent on projects
*  [https://github.com/luebking/qarma qarma] - Zenity Clone for Qt4/Qt5
*  [https://github.com/luebking/qnetctl QNetCtl] -  Qt GUI for netctl
*  [https://code.google.com/p/arch-yapan/ yapan] - Yet Another Package mAnager Notifier.
*  [https://code.google.com/p/skippy-xd/ Skippy-XD] - Skippy-XD is a full-screen task-switcher for X11.


= eBook Managers & Readers=
Services can be added to startup with:


* [http://calibre-ebook.com/ Calibre] - Ebook management application.
  sudo rc-update add <service> <runlevel>
*  [http://fbreader.org/ fbreader] - An e-book reader for Linux
*  [http://www.coolreader.org/e-index.htm coolreader3] - E-Book viewer for comfort reading (epub (non-DRM), fb2, txt, rtf, html, chm, tcr formats supported)


= Iso Tools=
For example,


* [http://www.acetoneteam.org/ Acetoneiso2] - An all in one ISO tool
  sudo rc-update add sshd default
*  [http://www.hyperray.net/hyperget/silicon-auto-image-mounter silicon] - Auto image mounter (Iso, Squashfs and ... files ).
*  [https://aur.archlinux.org/packages/qisousb/ qisousb] - A graphical Qt tool to copy a hybrid ISO onto a USB key.


= Scientific Applications=
runlevel can be skipped if adding services to the current runlevel, ie:


* [http://avogadro.openmolecules.net/wiki/Main_Page avogadro] - An advanced molecular editor
  sudo rc-update add sshd
*  [http://speedcrunch.org/en_US/index.html SpeedCrunch] - a fast, high precision and powerful desktop calculator.
*  [http://convertall.bellz.org/ convertall] - Unit conversion program
*  [http://www.mendeley.com/release-notes mendeleydesktop] - Academic software for managing and sharing research papers (desktop client).
*  [http://klatexformula.sourceforge.net/klatexformula KLatexFormula] - KLatexFormula is a program to easily get an image from a LaTeX formula .
*  [https://forja.rediris.es/projects/csl-qtoctave/qtoctave qtoctave] - qt frontend for octave.


= Dictionaries=
A service can be removed from startup with:


* [http://goldendict.org/ goldendict] - dictionary
  sudo rc-update del <service> <runlevel>
*  [http://qstardict.ylsoftware.com/index.php qstardict] - dictionary (QtDesktop)


= CAD Software=
=== Check running services ===


*  [http://librecad.org/cms/home.html LibreCAD] -  2D-CAD application
To check what services are running, one can type:


= Misc=
rc-status


*  [http://qt-apps.org/content/show.php/q4wine?content=85751 q4wine] - GUI for Wine
=== Start / stop / restart services ===
*  [http://2mandvd.tuxfamily.org/ 2mandvd] -  DVD Authoring Maker In Linux Environment.
*  [http://checkppp.weebly.com/index.html dnetstats] - Graphic monitor for the network. Show the network stats and the netmap
*  [http://lmms.sourceforge.net/ lmms] - The Linux MultiMedia Studio.
*  [http://www.musescore.org/en/ musescore] - A music score editor written in Qt
*  [http://www.mixxx.org mixxx] - Digital DJ mixing software
*  [http://www.makemkv.com/ makemkv] - DVD/Bluray to MKV convertion tool
*  [https://www.torproject.org/vidalia vidalia] - Controller GUI for Tor
*  [http://traverso-daw.org/ traverso] - Digital Audio Workstation with an innovative User Interface
*  [http://scantailor.sourceforge.net scantailor] - Interactive post-processing tool for scanned pages
*  [http://qt-apps.org/content/show.php/QScanner?content=166204 QScanner] - Simply tool based on libksane widget to scan images and allows to save to basic graphics format and to pdf (also multiply images to one pdf file)
*  [http://synkron.sourceforge.net/ Synkron] - A folder synchronization tool
*  [http://qt-apps.org/content/show.php/Coquillo?content=141896 coquillo] - Edit metadata / tags of various audio formats like MP3, Ogg/Vorbis and FLAC.
*  [http://www.kde-apps.org/content/show.php?content=103055 lrcshow-x] - A lyrics plugins, supporting Amarok2, Qmmp, and other Linux Players with full dbus interface functions
*  [http://qpxtool.sourceforge.net/ qpxtool] - Open Source Solution which intends to give you access to all available Quality Checks
*  [http://kdiff3.sourceforge.net/ kdiff3] - A file comparator/merge tool
*  [http://kchmviewer.sourceforge.net/ kchmviewer] - A .chm files (MS HTML help file format) viewer .
*  [http://en.altlinux.org/Cuneiform-Qt cuneiform-qt] - Qt4-based GUI for Cuneiform OCR.
*  [http://qdvdauthor.sourceforge.net qdvdauthor] - 'Q' DVD-Author is a Qt-based DVD authoring suite.
*  [http://git-cola.github.com/ git-cola] - A powerful GUI for Git.
*  [http://cdcat.sourceforge.net/ cdcat] - CD/DVD/Media catalog software (Qt based).
*  [https://github.com/TheUglyDuckling/YaNMa YaNMa] - Yet another NetworkManager applet written in PyQt.
*  [http://qcomicbook.linux-projects.net Qcomicbook] - A viewer for comic book archives
*  [https://giowck.github.io/symphytum/ symphytum] - Personal database software
*  [http://linux.softpedia.com/get/System/Hardware/Qtparted-2231.shtml Qtparted] - A Partition Magic clone to graphically manipulate partitions
*  [https://code.google.com/p/qhexedit2/ QHexEdit] - QHexEdit is a hex editor widget written in C++ for the Qt (Qt4) framework.


= Games=
To start / stop / restart services ''immediately'', the '''rc-service''' command can be used. For example:


* [http://www.generalcoffee.com/hugo/gethugo.html Hugor loader] - Hugor is a cross-platform port of the Hugo Engine eaning which you can load and play adventure games created with Kent Tessman’s Hugo authoring system.
  sudo rc-service networkmanager restart
*  [http://joyridelabs.de/game/ Nikki and the robots] - futurisctic 2D platform adventure game.
*  [http://colorcode.laebisch.com/ ColorCode] - a free advanced MasterMind clone
*  [http://gottcode.org/peg-e/ PEG-E] - solitare game where you jump over pieces in order to remove them from the board.
*  [http://mandarancio.github.com/OpenGOO/ OpenGOO] - a free and open port of World of goo.
*  [http://pecesjocdetangr.sourceforge.net/ GLPeces] - create different figures by putting together pieces like squares, triangles, rectangles, and others
*  [http://chessx.sourceforge.net/?q=node/5 Chessx] - operate on your collection of chess games in many ways: browse, edit, add, organize, analyze, etc.
*  [http://yabause.org/ yabause-qt] - A Sega Saturn emulator with Qt interface.
*  [https://sourceforge.net/projects/cutemupen/ CuteMupen] - Mupen64plus (v2) frontend emulator for N64 roms
*  [http://byuu.org/bsnes/ bsnes] - Super Nintendo Entertainment System (SNES) emulator focused on accuracy.
*  [http://gottcode.org/gottet/ Gottet] - A Qt4 tetris game
*  [http://gottcode.org/connectagram/ Connectagram] - A word unscrambling game
*  [http://gottcode.org/simsu/ Simsu] - A basic Sudoku game


=Needed applications/Qt alternatives=
=== Some common services ===


* Webcam application (Like Cheese)
To enable printing support, the '''cups-openrc''' package can be installed. For example,
* Font viewer
* Mail client and/or the whole PIM suite


=Sources=
$ sudo pacman -S cups-openrc
resolving dependencies...
looking for inter-conflicts...
Packages (1): cups-openrc-20141014-1
Total Installed Size:  0.01 MiB
Net Upgrade Size:      0.00 MiB
:: Proceed with installation? [Y/n]


Most applications are taken from [https://github.com/Razor-qt/razor-qt/wiki/3rd-party-applications here].
The service for it is ''cupsd''.


Almost all programs mentioned in [https://forum.manjaro.org/index.php?topic=14229.0 this] thread are included, too.
$ sudo rc-service cupsd start
Furthermore, applications from [https://wiki.archlinux.org/index.php/User:Alexfikl/Qt_Apps this] arch wiki page has been included.
* Starting cupsd ...                                                                                                      [ ok ]
 
For ssh, the '''openssh-openrc''' package can be installed.
 
The service for it is named ''sshd''.
 
{{Tip | All services present can be listed with the '''{{ic|rc-service --list}}''' command.}}
 
== Using Consolekit (deprecated) ==
 
{{Warning | Consolekit has been depricated in Manjaro in favour of [https://forum.manjaro.org/t/switch-from-consolekit-to-elogind/19412 elogind]}}
 
 
Additionally, if not already done, [https://wiki.gentoo.org/wiki/ConsoleKit consolekit] can be installed to perform root actions like shutting down or restarting system as non-root user from your Desktop Environment.
 
Consolekit can be installed in the following way:
 
sudo pacman -S consolekit-openrc polkit-consolekit cgmanager-openrc
 
The output looks like the following:
 
$ sudo pacman -S consolekit-openrc polkit-consolekit cgmanager-openrc
resolving dependencies...
looking for inter-conflicts...
:: polkit-consolekit and polkit are in conflict. Remove polkit? [y/N] y
Packages (9): cgmanager-0.37-2  consolekit-1.0.0-3  libnih-1.0.3-2  openrc-core-0.17-2  polkit-0.112-2 [removal]  cgmanager-openrc-20150911-1
              consolekit-openrc-20150911-1  polkit-consolekit-0.113-1
Total Download Size:    0.92 MiB
Total Installed Size:  4.44 MiB
Net Upgrade Size:      2.84 MiB
:: Proceed with installation? [Y/n]
 
After installing it can be enabled with {{ic|'''sudo rc-update add consolekit'''}} and would be activated after a reboot.
To check that consolekit is running and a ck-session was started, the following command can be used:
ck-list-sessions
 
The output looks like the following:
 
Session1:
unix-user = '1000'
realname = 'Aaditya Bagga'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2014-06-15T13:29:58.652929Z'
login-session-id = ''
 
If you are not getting any output, then maybe a ck-session is not being started by your display manager.
 
To start a ck-session and X session from the command line following syntax could be used:
 
ck-launch-session <session-name>
 
For example,
 
ck-launch-session startxfce4
 
=== Some gotcha's ===
 
Display managers that are known to work with consolekit are '''lightdm''', '''lxdm''' (via [https://aur.archlinux.org/packages/lxdm-consolekit/ lxdm-consolekit]), '''kdm''' (via [https://aur.archlinux.org/packages/kdebase-workspace-consolekit/ kdebase-workspace-consolekit]), and '''mdm''' (via [https://aur.archlinux.org/packages/mdm-nosystemd/ mdm-nosystemd]). Have a look at the [[Openrc#Display_Manager | Display Manager]] section for more info.
 
If you start a graphical session from the command line, [http://bbs.archbang.org/viewtopic.php?pid=1394#p1394 this forum post] may be of some help.
 
If you use Openbox or another Window Manager along with [https://wiki.archlinux.org/index.php/Oblogout oblogout], then [https://aur.archlinux.org/packages/oblogout-consolekit/ oblogout-consolekit] from the AUR can be used for having a graphical logout interface.
 
== Replacing systemd with eudev ==
 
With OpenRC being used as init system, the role of systemd is reduced to that of a [https://wiki.archlinux.org/index.php/Udev udev] provider, and for compatibility reasons.
 
[http://www.gentoo.org/proj/en/eudev/ eudev], developed by the Gentoo folks, can be used as replacement. Note that removing systemd could cause some incompatibilities with existing software.
 
The steps to install eudev are as follows:
 
sudo pacman -S eudev eudev-systemdcompat
 
The output looks like the following:
 
$ sudo pacman -S eudev eudev-systemdcompat
resolving dependencies...
looking for conflicting packages...
:: eudev and libsystemd are in conflict (libgudev-1.0.so). Remove libsystemd? [y/N] y
:: eudev-systemdcompat and systemd are in conflict. Remove systemd? [y/N] y
warning: dependency cycle detected:
warning: eudev-systemdcompat will be installed before its eudev dependency
Packages (4) libsystemd-219-6 [removal]  systemd-219-6 [removal]  eudev-3.0-1  eudev-systemdcompat-219-2
Total Download Size:    0.95 MiB
Total Installed Size:    7.09 MiB
Net Upgrade Size:      -18.78 MiB
:: Proceed with installation? [Y/n]
 
After the above steps systemd would be uninstalled and replaced by eudev and its counterparts.
 
=== Note ===
 
''eudev-systemdcompat'' has been superseded by ''eudev-systemd'' and ''libeudev-systemd'' [https://forum.manjaro.org/t/update-troubles/9046 (link)].
 
== Troubleshooting ==
 
=== Boot logs ===
 
The boot logs for OpenRC are stored in ''/var/log/rc.log''
 
=== Get warning at shutdown ===
 
If at shutdown there is a message like:
 
WARNING: /usr/lib/rc/cache is not writable!
 
Then this directory can be created as:
 
sudo mkdir /usr/lib/rc/cache
 
=== Error about /etc/sysctl.conf not found ===
 
It can be created with:
 
sudo touch /etc/sysctl.conf
 
=== Enable Swap (for GPT partitions) ===
 
If you were using systemd on a GPT partitioned hard disk, then you may need to enable swap via ''/etc/fstab''. This is so because systemd handled swap automatically on GPT partitions, and gave error if it was mounted via fstab.
 
I added the following entry to my ''/etc/fstab''
 
# /dev/sda10
UUID=0c3e9434-bc5c-461c-a5e4-4e9fe5f9a149 swap swap sw 0 0
 
=== Using tmpfs ===
 
systemd used to set a ''tmpfs'' by default; to set it manually via ''/etc/fstab'', the following lines can be added:
 
tmpfs /tmp tmpfs  nodev,nosuid          0  0
 
See the [https://wiki.archlinux.org/index.php/Fstab#tmpfs Arch Wiki] for more details.
 
=== Module auto-loading ===
 
For OpenRC, the '''modules to be loaded at boot''' are specified in ''/etc/conf.d/modules'' rather than being present as individual files in ''/etc/modules-load.d''
 
The required modules can be manually moved over.
An example ''/etc/conf.d/modules'' file looks like the following:
 
# You should consult your kernel documentation and configuration
# for a list of modules and their options.
modules="vboxdrv"
 
=== Setting hostname ===
 
If your hostname is being displayed as '''localhost''' even if there a different hostname in ''/etc/hostname'', then you probably need to change your hostname in ''/etc/conf.d/hostname''
 
=== Setting keymap ===
 
The keymap for the console can be set via editing {{ic|/etc/conf.d/keymaps}}.
 
For X11 (graphical part of the system), it can be set via {{ic|/etc/X11/xorg.conf.d/20-keyboard.conf}}
 
For more information have a look at the [http://wiki.gentoo.org/index.php?title=Keyboard_layout_switching Gentoo wiki] (with the difference that in Arch/Manjaro the keymaps are stored in ''/usr/share/kbd/keymaps'' [https://wiki.archlinux.org/index.php/Keymap]).
 
=== Setting Hardware clock ===
 
Can be done by editing {{ic|/etc/conf.d/hwclock}}
 
=== Shutting down / rebooting ===
 
To shutdown the system, the {{ic|'''poweroff'''}} command can be used.
 
Similarly to reboot, the {{ic|'''reboot'''}} command can be used.
 
=== X does not start from a virtual terminal ===
 
With Xorg-1.16, Arch Linux decided to make X rootless using systemd-logind [https://www.archlinux.org/news/xorg-server-116-is-now-available/].
This means that using {{ic|startx}} from a virtual terminal will possibly not work for users of OpenRC init system.
 
The workaround is to create a file {{ic|/etc/X11/Xwrapper.config}} with the contents:
 
# Xorg.wrap configuation file
needs_root_rights = yes
 
Reference: [https://bbs.archlinux.org/viewtopic.php?pid=1441150#p1441150 Arch forum]
 
=== Input devices not working ===
 
With ''eudev-3.0'', a new '''input''' group was introduced; you could try adding your user to it.
 
sudo gpasswd -a <user> input
 
Reference: https://github.com/gentoo/eudev/issues/107
 
=== MySQL service not working ===
 
Have a look here: https://forum.manjaro.org/t/mariadb-daemon-dont-start-in-openrc/20356
 
=== Pulseaudio does not start / work ===
 
See: https://forum.manjaro.org/t/pulseaudio-and-openrc/5881/1
 
=== Ctrl + Alt + Backspace causes problems with some display managers ===
 
Have a look here: https://forum.manjaro.org/t/ctrl-alt-backspace-doesnt-log-out-zaps-xorg-openrc
 
=== Httpd (Apache) service status says crashed ===
 
If the {{ic|httpd}} process is running but {{ic|rc-status}} shows the service as crashed, try editing ''/etc/init.d/httpd'' and remove the {{ic|start-stop-daemon}} call when starting the service:
 
  # sed 's|start-stop-daemon --start -- ${APACHE2} ${APACHE2_OPTS} -k start|${APACHE2} ${APACHE2_OPTS} -k start|' -i /etc/init.d/httpd
 
Forum link: https://forum.manjaro.org/t/solved-apache-service-httpd-status-status-crashed/19878
 
=== Unable to build ISO using manjaro-tools on OpenRC ===
 
See https://forum.manjaro.org/t/manjaro-tools-14-on-testing-openrc/17156
 
== Further Reading ==
 
[https://wiki.archlinux.org/index.php/Openrc The Arch Wiki]
 
[http://blog.notfoss.com/posts/openrc-on-arch-linux/ OpenRC on Arch Linux]
 
[https://wiki.manjaro.org/index.php?title=Autostart_X_at_Login_-_OpenRC_%26_SystemD Autostart X at Login - OpenRC]
 
[http://systemd-free.org/ systemd-free.org]
 
[https://wiki.gentoo.org/wiki/Handbook:X86/Working/Initscripts Initscripts]
 
[https://wiki.gentoo.org/wiki//etc/local.d /etc/local.d]
 
== Support ==
 
Following is a link where you can post any related feedback: [https://forum.manjaro.org/c/technical-issues-and-assistance/openrc]
 
 
[[Category:Contents Page]]

Revision as of 17:31, 20 May 2017

OpenRC is a dependency based init system maintained by the Gentoo developers, that works with the system provided init program, normally sysvinit. It is not a replacement for sysvinit.

It is an alternative to systemd for users that like more control over their system, and do not want all the features that systemd provides and automatically activates.

Installation

OpenRC is available from the the Manjaro repositories. It can be installed as:

sudo pacman -S openrc-base

The output of the above command looks like the following:

$ sudo pacman -S openrc-base
:: There are 10 members in group openrc-base:
:: Repository community
   1) cronie-openrc  2) cryptsetup-openrc  3) dbus-openrc
   4) device-mapper-openrc  5) dhcpcd-openrc  6) glibc-openrc
   7) inetutils-openrc  8) lvm2-openrc  9) mdadm-openrc  10) openrc-core

Enter a selection (default=all): 
resolving dependencies...
looking for inter-conflicts...
:: openrc-core and systemd-sysvcompat are in conflict. Remove systemd-sysvcompat? [y/N] y

Packages (12): systemd-sysvcompat-212-3 [removal]  sysvinit-2.88-15
               cronie-openrc-20140614-1  cryptsetup-openrc-20140614-1
               dbus-openrc-20140614-1  device-mapper-openrc-20140614-1
               dhcpcd-openrc-20140614-1  glibc-openrc-20140614-1
               inetutils-openrc-20140614-1  lvm2-openrc-20140614-1
               mdadm-openrc-20140614-1  openrc-core-0.12.4-16

Total Download Size:    0.22 MiB
Total Installed Size:   1.19 MiB

:: Proceed with installation? [Y/n]

After installing the openrc-base package group, OpenRC should boot by default instead of systemd. Note that it will boot to a command line, as the service for a graphical display manager has not yet been installed.

On installing openrc-base, one may get messages like:

run 'rc-update add dbus default'
run 'rc-update add cronie default'

Running these command(s) adds the service(s) to the specified runlevels. For example on running:

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.

Additional packages

Display Manager

To boot to a graphical display manager, the displaymanager-openrc package can be installed.

After installing it, the /etc/conf.d/xdm file needs to be edited to specify the display manager.

For example, to use lightdm, change the line:

DISPLAYMANAGER="xdm"

to

DISPLAYMANAGER="lightdm"

Finally the xdm service can be added to default runlevel:

sudo rc-update add xdm default

Note:

lightdm and a lightdm-greeter (like lightdm-gtk-greeter) should be installed to use lightdm as display manager. A guide is available on the forums.

An alternative to lightdm is LXDM. However the version in the repository does not automatically start a ck-session on login; alternative lxdm-consolekit from the AUR can be used.

For more information about consolekit, have a look at the Consolekit section.

Audio (ALSA)

The alsa-utils-openrc package can be installed. After installing it, run:

sudo rc-update add alsasound default

to automatically start alsa at boot.

Network Manager

By default dhcpcd is enabled via netifrc. However if one uses Wifi to connect to the internet, or need a graphical network applet, then networkmanager-openrc can be installed.

networkmanager-openrc replaces the normal networkmanager package in the repos. Also, it requires consolekit and polkit-consolekit, which replaces the normal polkit from the repos.

Other alternatives like wicd-openrc and connman-openrc are also available.

Consolekit

The consolekit-openrc package can be installed. Consolekit supports multi-user setups, mounting of partitions by unauthorized users, etc. See the Gentoo-Wiki for more details.

Consolekit also allows a normal (non-root) user to shutdown or restart the system if the desktop environment supports it.

See the Using Consolekit section on how to install it and for more info.

openrc-desktop

The openrc-desktop package group can be used to install most of the above desktop related packages in one go. For example:

$ sudo pacman -S openrc-desktop
:: There are 6 members in group openrc-desktop:
:: Repository community
   1) acpid-openrc  2) alsa-utils-openrc  3) avahi-openrc  4) consolekit-openrc
   5) displaymanager-openrc  6) gpm-openrc

Enter a selection (default=all): 
resolving dependencies...
looking for inter-conflicts...

Packages (6): acpid-openrc-20140614-1  alsa-utils-openrc-20140614-1
              avahi-openrc-20140614-1  consolekit-openrc-20140614-1
              displaymanager-openrc-20140614-1  gpm-openrc-20140614-1

Total Installed Size:   0.12 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 

Others

ACPI

For handling acpi events, acpid-openrc can be installed and enabled (see this for more details on acpid).

Logging

For logging, a logger can be chosen from metalog-openrc, syslog-ng-openrc, and rsyslog-openrc, by installing the package and enabling its respective service.

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 troubleshooting section for some issues that one could face.

Note

If using plymouth before, then /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"

After that would need to regenerate the initrd as:

sudo mkinitcpio -p linux<version>

For example,

sudo mkinitcpio -p linux314

Configuration

Adding or Removing services

Services can be added to startup with:

sudo rc-update add <service> <runlevel>

For example,

sudo rc-update add sshd default

runlevel can be skipped if adding services to the current runlevel, ie:

sudo rc-update add sshd

A service can be removed from startup with:

sudo rc-update del <service> <runlevel>

Check running services

To check what services are running, one can type:

rc-status

Start / stop / restart services

To start / stop / restart services immediately, the rc-service command can be used. For example:

sudo rc-service networkmanager restart

Some common services

To enable printing support, the cups-openrc package can be installed. For example,

$ sudo pacman -S cups-openrc
resolving dependencies...
looking for inter-conflicts...

Packages (1): cups-openrc-20141014-1

Total Installed Size:   0.01 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 

The service for it is cupsd.

$ sudo rc-service cupsd start
* Starting cupsd ...                                                                                                       [ ok ]

For ssh, the openssh-openrc package can be installed.

The service for it is named sshd.



Tip
All services present can be listed with the rc-service --list command.

Using Consolekit (deprecated)

Warning
Consolekit has been depricated in Manjaro in favour of elogind


Additionally, if not already done, consolekit can be installed to perform root actions like shutting down or restarting system as non-root user from your Desktop Environment.

Consolekit can be installed in the following way:

sudo pacman -S consolekit-openrc polkit-consolekit cgmanager-openrc

The output looks like the following:

$ sudo pacman -S consolekit-openrc polkit-consolekit cgmanager-openrc
resolving dependencies...
looking for inter-conflicts...
:: polkit-consolekit and polkit are in conflict. Remove polkit? [y/N] y

Packages (9): cgmanager-0.37-2  consolekit-1.0.0-3  libnih-1.0.3-2  openrc-core-0.17-2  polkit-0.112-2 [removal]  cgmanager-openrc-20150911-1
              consolekit-openrc-20150911-1  polkit-consolekit-0.113-1

Total Download Size:    0.92 MiB
Total Installed Size:   4.44 MiB
Net Upgrade Size:       2.84 MiB

:: Proceed with installation? [Y/n] 

After installing it can be enabled with sudo rc-update add consolekit and would be activated after a reboot. To check that consolekit is running and a ck-session was started, the following command can be used:

ck-list-sessions

The output looks like the following:

Session1:
	unix-user = '1000'
	realname = 'Aaditya Bagga'
	seat = 'Seat1'
	session-type = 
	active = TRUE
	x11-display = ':0'
	x11-display-device = '/dev/tty7'
	display-device = 
	remote-host-name = 
	is-local = TRUE
	on-since = '2014-06-15T13:29:58.652929Z'
	login-session-id = 

If you are not getting any output, then maybe a ck-session is not being started by your display manager.

To start a ck-session and X session from the command line following syntax could be used:

ck-launch-session <session-name>

For example,

ck-launch-session startxfce4

Some gotcha's

Display managers that are known to work with consolekit are lightdm, lxdm (via lxdm-consolekit), kdm (via kdebase-workspace-consolekit), and mdm (via mdm-nosystemd). Have a look at the Display Manager section for more info.

If you start a graphical session from the command line, this forum post may be of some help.

If you use Openbox or another Window Manager along with oblogout, then oblogout-consolekit from the AUR can be used for having a graphical logout interface.

Replacing systemd with eudev

With OpenRC being used as init system, the role of systemd is reduced to that of a udev provider, and for compatibility reasons.

eudev, developed by the Gentoo folks, can be used as replacement. Note that removing systemd could cause some incompatibilities with existing software.

The steps to install eudev are as follows:

sudo pacman -S eudev eudev-systemdcompat

The output looks like the following:

$ sudo pacman -S eudev eudev-systemdcompat
resolving dependencies...
looking for conflicting packages...
:: eudev and libsystemd are in conflict (libgudev-1.0.so). Remove libsystemd? [y/N] y
:: eudev-systemdcompat and systemd are in conflict. Remove systemd? [y/N] y
warning: dependency cycle detected:
warning: eudev-systemdcompat will be installed before its eudev dependency

Packages (4) libsystemd-219-6 [removal]  systemd-219-6 [removal]  eudev-3.0-1  eudev-systemdcompat-219-2

Total Download Size:     0.95 MiB
Total Installed Size:    7.09 MiB
Net Upgrade Size:      -18.78 MiB

:: Proceed with installation? [Y/n] 

After the above steps systemd would be uninstalled and replaced by eudev and its counterparts.

Note

eudev-systemdcompat has been superseded by eudev-systemd and libeudev-systemd (link).

Troubleshooting

Boot logs

The boot logs for OpenRC are stored in /var/log/rc.log

Get warning at shutdown

If at shutdown there is a message like:

WARNING: /usr/lib/rc/cache is not writable!

Then this directory can be created as:

sudo mkdir /usr/lib/rc/cache

Error about /etc/sysctl.conf not found

It can be created with:

sudo touch /etc/sysctl.conf

Enable Swap (for GPT partitions)

If you were using systemd on a GPT partitioned hard disk, then you may need to enable swap via /etc/fstab. This is so because systemd handled swap automatically on GPT partitions, and gave error if it was mounted via fstab.

I added the following entry to my /etc/fstab

# /dev/sda10
UUID=0c3e9434-bc5c-461c-a5e4-4e9fe5f9a149	swap	swap	sw	0	0

Using tmpfs

systemd used to set a tmpfs by default; to set it manually via /etc/fstab, the following lines can be added:

tmpfs		/tmp		tmpfs   nodev,nosuid          	0  	0

See the Arch Wiki for more details.

Module auto-loading

For OpenRC, the modules to be loaded at boot are specified in /etc/conf.d/modules rather than being present as individual files in /etc/modules-load.d

The required modules can be manually moved over. An example /etc/conf.d/modules file looks like the following:

# You should consult your kernel documentation and configuration
# for a list of modules and their options.

modules="vboxdrv"

Setting hostname

If your hostname is being displayed as localhost even if there a different hostname in /etc/hostname, then you probably need to change your hostname in /etc/conf.d/hostname

Setting keymap

The keymap for the console can be set via editing /etc/conf.d/keymaps.

For X11 (graphical part of the system), it can be set via /etc/X11/xorg.conf.d/20-keyboard.conf

For more information have a look at the Gentoo wiki (with the difference that in Arch/Manjaro the keymaps are stored in /usr/share/kbd/keymaps [1]).

Setting Hardware clock

Can be done by editing /etc/conf.d/hwclock

Shutting down / rebooting

To shutdown the system, the poweroff command can be used.

Similarly to reboot, the reboot command can be used.

X does not start from a virtual terminal

With Xorg-1.16, Arch Linux decided to make X rootless using systemd-logind [2]. This means that using startx from a virtual terminal will possibly not work for users of OpenRC init system.

The workaround is to create a file /etc/X11/Xwrapper.config with the contents:

# Xorg.wrap configuation file
needs_root_rights = yes

Reference: Arch forum

Input devices not working

With eudev-3.0, a new input group was introduced; you could try adding your user to it.

sudo gpasswd -a <user> input

Reference: https://github.com/gentoo/eudev/issues/107

MySQL service not working

Have a look here: https://forum.manjaro.org/t/mariadb-daemon-dont-start-in-openrc/20356

Pulseaudio does not start / work

See: https://forum.manjaro.org/t/pulseaudio-and-openrc/5881/1

Ctrl + Alt + Backspace causes problems with some display managers

Have a look here: https://forum.manjaro.org/t/ctrl-alt-backspace-doesnt-log-out-zaps-xorg-openrc

Httpd (Apache) service status says crashed

If the httpd process is running but rc-status shows the service as crashed, try editing /etc/init.d/httpd and remove the start-stop-daemon call when starting the service:

 # sed 's|start-stop-daemon --start -- ${APACHE2} ${APACHE2_OPTS} -k start|${APACHE2} ${APACHE2_OPTS} -k start|' -i /etc/init.d/httpd

Forum link: https://forum.manjaro.org/t/solved-apache-service-httpd-status-status-crashed/19878

Unable to build ISO using manjaro-tools on OpenRC

See https://forum.manjaro.org/t/manjaro-tools-14-on-testing-openrc/17156

Further Reading

The Arch Wiki

OpenRC on Arch Linux

Autostart X at Login - OpenRC

systemd-free.org

Initscripts

/etc/local.d

Support

Following is a link where you can post any related feedback: [3]

Cookies help us deliver our services. By using our services, you agree to our use of cookies.