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:
[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.


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.


This page contains a list of Qt4 and Qt5 based applications/programs. Some programs are also non-GTK3 and non-GTK2 based.
== Installation ==


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


Please search for the application name in your Manjaro repository. If you cannot find it, try the [[Arch User Repository]] as well. Sometimes, packages need to be downloaded from github or the developer website and installed manually.
sudo pacman -S openrc-base


The output of the above command looks like the following:


__TOC__
$ 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.


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


* [http://smplayer.sourceforge.net Smplayer] - the original fully-featured Qt4/5 frontend for mplayer/mplayer2
  run 'rc-update add dbus default'
*  [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.
  run 'rc-update add cronie default'
*  [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.
* [http://www.umplayer.com/ umplayer] - A complete front-end for MPlayer
*  [http://bakamplayer.u8sand.net/ Baka MPlayer] - Baka MPlayer is a free and open source, cross-platform, mpv based multimedia player.


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


* [https://code.google.com/p/cantata/ Cantata] - Extremely featureful MPD client, with Qt4 and Qt5 interfaces.
  sudo rc-update add dbus default
*  [http://www.clementine-player.org/ Clementine] - modern music player and library organiser inspired by Amarok 1.4.
*  [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
*  [http://code.google.com/p/cuberok/ cuberok] - Yet another music player based on Qt4.
*  [https://github.com/knowthelist/knowthelist knowthelist] - the awesome party music player.
*  [https://bitbucket.org/tonn/deadbeef-qt/wiki/Home deadbeef-qt] - Qt based user interface plugin for DeaDBeeF music player.


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


*  [https://octopiproject.wordpress.com/ Octopi] - Powerful Pacman (GUI | frontend) written in Qt
''dbus'' (system message bus) and ''cronie'' (for cron) are some common services that can be enabled.
*  [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.
=== Additional packages ===
*  [http://sourceforge.net/projects/tkpacman/ tkpacman] - A lightweight GUI for pacman built with Tcl/Tk


= Audio Tools =
==== Display Manager ====


*  [http://xwmw.org/qastools/applications/qasmixer.html qasmixer] - sound mixer/volume handler (QtDesktop)
To boot to a graphical display manager, the '''displaymanager-openrc''' package can be installed.
*  [http://qt-apps.org/content/show.php/EKO?content=136558 EKO] - EKO is a simple sound editor
*  [https://flacon.github.io/ 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
*  [http://www.mixxx.org/ mixxx] - Digital DJ mixing software
*  [http://traverso-daw.org/ traverso] - Digital Audio Workstation with an innovative User Interface
*  [http://qoobar.sourceforge.net qoobar] - Audio Tagger for Classical Music. It can - Edit ID3v2.4, Xiph.org, APE, ASF tags.
*  [http://www.rosegardenmusic.com/ rosegarden] - MIDI/audio sequencer and notation editor


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


*  [http://photoqt.org/ PhotoQt] - A fast, simple, good looking, yet powerful and highly configurable image viewer.
For example, to use '''lightdm''', change the line:
*  [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.
*  [https://github.com/sialan-labs/limoo limoo] -  A multiplatform and modern image viewer, focused on better user interface...
*  [https://github.com/abodnyaUA/qimageviewer qimageviewer] - Image Viewer on Qt.
*  [http://oferkv.github.io/phototonic/ phototonic] - Image Viewer and Organizer


= Image Editors=
DISPLAYMANAGER="xdm"
to
DISPLAYMANAGER="lightdm"


*  [https://github.com/Gr1N/EasyPaint EasyPaint] - Simple image editor
Finally the '''xdm''' service can be added to default runlevel:
*  [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=
sudo rc-update add xdm default


*  [http://converseen.sourceforge.net/ Converseen] - image converter and resizer
'''Note:'''
*  [https://marek629.github.io/SIR/ Sir] - Simple image resizer in qt4
*  [http://screengrab.doomer.org/ 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=
''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].


[http://fixounet.free.fr/avidemux/ Avidemux-qt] - A graphical tool to edit video (QtDesktop)
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://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=
For more information about consolekit, have a look at the [[Openrc#Consolekit | Consolekit]] section.


*  [http://www.makemkv.com/ makemkv] - DVD/Bluray to MKV convertion tool
==== Audio (ALSA) ====
*  [https://opendesktop.org/content/show.php/Curlew?content=155664 curlew] - Easy to use, Free and Open-Source Multimedia converter for Linux in Python
*  [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=
The '''alsa-utils-openrc''' package can be installed. After installing it, run:


* [http://sourceforge.net/projects/juffed/ Juffed] - text editor (QtDesktop)
  sudo rc-update add alsasound default
*  [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://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=qedit&full=0 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


= IDEs =
to automatically start ''alsa'' at boot.


*  [http://www.rstudio.org/ rstudio] - An integrated development environment (IDE) for R (binary version from RStudio official website)
==== Network Manager ====
*  [http://monkeystudio.org monkeystudio] - Crossplatform IDE written in C++/Qt4


= Web Browsers=
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://www.qupzilla.com/ qupzilla] - QtWebkit browser, really usable after 1.1.8.
''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://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://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=
Other alternatives like ''wicd-openrc'' and ''connman-openrc'' are also available.


*  [http://trojita.flaska.net/ Trojita] -  An  IMAP email client
==== Consolekit ====
*  [http://www.manitou-mail.org/ manitou-ui] - Database-driven email system: user interface


= IM/IRC clients=
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.


*  [http://quassel-irc.org/ Quassel] - Daemon-based IRC client
Consolekit also allows a normal (non-root) user to shutdown or restart the system if the desktop environment supports it.
*  [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
*  [http://www.kvirc.net kvirc] - Qt-based IRC client


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


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


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


* [https://gitorious.org/andromeda Andromeda] - (QtDesktop)
  $ sudo pacman -S openrc-desktop
* [http://www.qtfm.org/ Qtfm] - Tabbed FM with Bookmarks support
  :: There are 6 members in group openrc-desktop:
* [http://qt-apps.org/content/show.php/NewBreeze?content=154427 Newbreeze] - Fast and light-weight File Manager (Qt4)  
  :: Repository community
* [http://hamsiapps.com/en/HamsiManager Hamsimanager] - Hamsi Manager is a file manager, renamer, id3 tagger, information changer, ... tool.
    1) acpid-openrc  2) alsa-utils-openrc  3) avahi-openrc  4) consolekit-openrc
* [http://doublecmd.sourceforge.net/ Double Commander] - powerful double panel cross platform file manager, written in Object Pascal / Lazarus, which uses couple of toolkits for UI includes Qt
    5) displaymanager-openrc 6) gpm-openrc
* [https://github.com/yede/yefm yefm] Simple file manager based on Qt
* [http://dfm.sourceforge.net/ dino-dfm] - A Qt Simple File Manager
Enter a selection (default=all):
* [http://besc.sourceforge.net/ bsc] - A file manager for Linux based on Qt-GUI
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]  


= Archivers=
==== Others ====


*  [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.
===== ACPI =====
*  [http://b1.org/ b1 free archiver] - Most friendly and simple free file archiver


= Terminal emulators=
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).


*  [https://github.com/qterminal/ qterminal] -  terminal emulator (maintainer: pvanek, QtDesktop)
===== Logging =====
*  [https://github.com/Swordfish90/cool-retro-term cool-retro-term] - A good looking terminal emulator which mimics the old cathode display...


= Bittorrent Clients=
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.


*  [http://www.qbittorrent.org/ qBittorrent] -  An advanced P2P bittorrent client.
===== Suspend/Hibernate =====
*  [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=
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://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.
=== Note ===


[http://getsilicon.org/ Silicon Empire] - Set of tools to Burn, Copy, Backup, Manage your optical discs like CDs, DVDs and Blu-Rays.
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:


= PDF viewers=
HOOKS="base udev autodetect modconf block resume filesystems keyboard keymap fsck"


*  [https://launchpad.net/qpdfview qpdfview] - A tabbed PDF viewer using the poppler library.
After that would need to regenerate the initrd as:
*  [http://qt-apps.org/content/show.php/Pdf+Viewer?content=149637 PdfViewer] -  A simple program for viewing PDF files.


= Web Applications=
sudo mkinitcpio -p linux<version>


*  [http://clipgrab.de/ Clipgrab] - A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo,etc.
For example,
*  [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://quiterss.org/ quiterss] - Fast and light RSS/Atom feed reader written on Qt/С++
*  [http://weboob.org/ weboob] - Web Out Of Browsers provides several applications to interact with a lot of websites.
*  [http://fatrat.dolezel.info/ fatrat] - Qt4 based download manager with support for HTTP, FTP, SFTP, BitTorrent, rapidshare and more


= FTP Software=
sudo mkinitcpio -p linux314


*  [http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=qftp&full=0 qftp] - A Qt client for FTP file transfer.
== Configuration ==
*  [https://filezilla-project.org/ FileZilla] - Fast and reliable FTP, FTPS and SFTP client


= Online Storage & Data Backup=
=== Adding or Removing services ===


*  [http://luckybackup.sourceforge.net LuckyBackup] - Backup & Sync tool
Services can be added to startup with:
*  [https://spideroak.com/ spideroak] - Secure and consolidated free online backup, storage, access, sharing & sync tool for Windows, Mac OS X, and Linux.


= Notes Managment=
sudo rc-update add <service> <runlevel>


*  [http://github.com/proton/zNotes ZNotes] - Lightweight application for notes managment with simple interface
For example,
*  [http://code.google.com/p/basqet/ Basqet] -  A note-taking application similar to Basket
*  [https://bitbucket.org/civalin/lonote LoNote] - A simple and fast note-taking application using Webkit engine and is written by PyQt.
*  [https://ri0n.github.io/QtNote/ QtNote] - Note-taking application written with Qt in mind and able to read tomboy notes
*  [https://github.com/mNantern/QTodoTxt qtodotxt] - A cross-platform UI client for todo.txt files (see todotxt.com).


= eBook Managers & Readers=
sudo rc-update add sshd default


*  [http://calibre-ebook.com/ Calibre] - Ebook management application.
runlevel can be skipped if adding services to the current runlevel, ie:
*  [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)


=Scaning Tools=
sudo rc-update add sshd


*  [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)
A service can be removed from startup with:
*  [http://vaultaire.vimofthevine.com Vaultaire] - Document scanning and tagging front-end built on Qt/C++
*  [https://github.com/kokoko3k/gbscan gbscan] - Gambas gui to scanimage


= Iso Tools=
sudo rc-update del <service> <runlevel>


*  [http://sourceforge.net/projects/acetoneiso/ Acetoneiso2] - An all in one ISO tool
=== Check running services ===
*  [https://aur.archlinux.org/packages/qisousb/ qisousb] - A graphical Qt tool to copy a hybrid ISO onto a USB key.


= Scientific Applications=
To check what services are running, one can type:


* [http://avogadro.openmolecules.net/wiki/Main_Page avogadro] - An advanced molecular editor
  rc-status
*  [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 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.
*  [http://extcalc-linux.sourceforge.net extcalc] - A multifunctional scientific graphic calculator
*  [http://rpcalc.bellz.org rpcalc] -  A simple reverse polish notation calculator
*  [http://plasma-gate.weizmann.ac.il/Grace/ qtgrace] - A program to display or plot data, analyze data and prepare it for printing, Qt version of the Grace
*  [http://soft.proindependent.com/qtiplot.html qtiplot] - Data analysis and scientific plotting - free clone of Origin
*  [http://scidavis.sourceforge.net/ scidavis] - Application for Scientific Data Analysis and Visualization, fork of QtiPlot


= Dictionaries=
=== Start / stop / restart services ===


*  [http://goldendict.org/ goldendict] - dictionary
To start / stop / restart services ''immediately'', the '''rc-service''' command can be used. For example:
*  [http://qstardict.ylsoftware.com/index.php qstardict] - dictionary (QtDesktop)


= CAD Software=
sudo rc-service networkmanager restart


*  [http://librecad.org/cms/home.html LibreCAD] -  2D-CAD application
=== Some common services ===
*  [http://www.freecadweb.org/ freecad] - A general purpose 3D CAD modeler


= Games=
To enable printing support, the '''cups-openrc''' package can be installed. 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 pacman -S cups-openrc
* [http://colorcode.laebisch.com/ ColorCode] - a free advanced MasterMind clone
  resolving dependencies...
* [http://gottcode.org/peg-e/ PEG-E] - solitare game where you jump over pieces in order to remove them from the board.
  looking for inter-conflicts...
*  [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
  Packages (1): cups-openrc-20141014-1
* [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.
  Total Installed Size:   0.01 MiB
* [https://sourceforge.net/projects/cutemupen/ CuteMupen] - Mupen64plus (v2) frontend emulator for N64 roms
  Net Upgrade Size:       0.00 MiB
* [http://byuu.org/bsnes/ bsnes] - Super Nintendo Entertainment System (SNES) emulator focused on accuracy.
   
* [http://gottcode.org/gottet/ Gottet] - A Qt4 tetris game
  :: Proceed with installation? [Y/n]  
* [http://gottcode.org/connectagram/ Connectagram] - A word unscrambling game
* [http://gottcode.org/simsu/ Simsu] - A basic Sudoku game


= Utilities=
The service for it is ''cupsd''.


*  [http://checkppp.weebly.com/index.html dnetstats] - Graphic monitor for the network. Show the network stats and the netmap
  $ sudo rc-service cupsd start
*  [https://hluk.github.io/CopyQ/ copyq] - clipboard manager with searchable and editable history.
  * Starting cupsd ...                                                                                                       [ ok ]
*  [http://code.google.com/p/qlipper/ Qlipper] - clipboard manager (maintainer: pvanek, QtDesktop)
*  [https://github.com/andrew-bibb/cmst CMST] - GUI for connman (connman is a replacement for NetworkManager with any GTK+ dependencies)
*  [https://github.com/limansky/tinymount TinyMount] - is a little GUI tool for mount/unmount devices, using UDisks and Qt.
*  [http://qt-apps.org/content/show.php/easymount?content=157956 easymount] - Qt Device Mounter. It depends on ''pmount''.
*  [https://github.com/LemonBoy/ldm ldm] - A lightweight device mounter
*  [http://www.keepassx.org/ keepassx] - Cross platform password manager
*  [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://kldp.net/projects/qps Qps] - Process manager. Development is dead.
*  [http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=Top&full=0 Top] - windowed version of the console top command.
*  [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://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=xgrabcolor&full=0 Xgrabcolor] - A basic color picker
[http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=taskbar&full=0 Taskbar] - a transparent taskbar to collect users favorite applications and run them in a simple click.
*  [http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=transparency&full=0 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.
*  [https://github.com/pranavg189/lxmixer lxmixer] -  a Qt fork of pavucontrol
*  [https://github.com/TheUglyDuckling/YaNMa YaNMa] - Yet another NetworkManager applet written in PyQt.
*  [http://qt-apps.org/content/show.php/Qt5+Configuration+Tool?content=168066 qt5ct] - Qt5 Configuration Utility (requires Qt platform theme to be set to qt5ct)
*  [https://gitorious.org/qtpanel qtpanel] - A project to create useful and beautiful panel in Qt


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


*  [http://qt-apps.org/content/show.php/q4wine?content=85751 q4wine] - GUI for Wine
The service for it is named ''sshd''.
*  [http://2mandvd.tuxfamily.org/ 2mandvd] -  DVD Authoring Maker In Linux Environment.
*  [http://www.musescore.org/en/ musescore] - A music score editor written in Qt
*  [https://www.torproject.org/vidalia vidalia] - Controller GUI for Tor
*  [http://lmms.sourceforge.net/ lmms] - The Linux MultiMedia Studio.
*  [http://scantailor.sourceforge.net scantailor] - Interactive post-processing tool for scanned pages
*  [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://www.ulduzsoft.com/linux/kchmviewer/ 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.
*  [https://git-cola.github.io/ git-cola] - A powerful GUI for Git.
*  [http://cdcat.sourceforge.net/ cdcat] - CD/DVD/Media catalog software (Qt based).
*  [http://qcomicbook.org/ 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.
*  [https://github.com/Open-Transactions/Moneychanger moneychanger] - A QT/C++ client for Open-Transactions
*  [http://byuu.org/ higan] - Nintendo multi-system emulator
*  [http://www.bitcoin.org/ bitcoin-qt] - Bitcoin is a peer-to-peer network based digital currency - Qt
*  [http://www.maartenbaert.be/simplescreenrecorder/ simplescreenrecorder] - A feature-rich screen recorder that supports X11 and OpenGL.


=Sources=
{{Tip | All services present can be listed with the '''{{ic|rc-service --list}}''' command.}}


Most applications are taken from: https://github.com/Razor-qt/razor-qt/wiki/3rd-party-applications.
== Using Consolekit (deprecated) ==


Almost all programs mentioned in this Manjaro Forum thread are included, too: https://forum.manjaro.org/index.php?topic=14229.0
{{Warning | Consolekit has been depricated in Manjaro in favour of [https://forum.manjaro.org/t/switch-from-consolekit-to-elogind/19412 elogind]}}


Furthermore, applications from this Arch Wiki page have been included: https://wiki.archlinux.org/index.php/User:Alexfikl/Qt_Apps


=Links=
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.


You can find other wiki pages about Qt and LXQt [https://wiki.manjaro.org/index.php?title=Desktop_Environments#LXQt here].
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]]
[[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.