NeroLinux 4

From Manjaro Linux
Jump to: navigation, search


Overview

The installation of CD-DVD Burning software "Nero" presents some challenges for inexperienced or new users to Manjaro Linux. In particular, when NeroLinux is installed and run for the first time, it complains about not finding a proper burning device(s) or not having appropriate permissions to use the device(s).

This guide shows you how to install NeroLinux 4 and properly configure your Manjaro system in order to overcome the problems stated above.


Install NeroLinux 4

Refresh the AUR repositories

sudo yaourt -Syy

Install NeroLinux 4 from the AUR repositories

yaourt -S nerolinux


Fixing device problems

On first run Nero will complain about not finding burning device(s) at posistion(s) /dev/sgX or /dev/srX where X is an integer from 0 onwards. Actual numbers depend on your particular Manjaro system and number of devices you have. To fix this problem you must load the appropriate module for sg or sr. To make loading of this module automatic you must add a script for it in /etc/modules-load.d.


Create configuration script for the module in /etc/modules-load.d

sudo nano /etc/modules-load.d/nerolinux4.conf

add the lines

# Load module "sg" for Nerolinux.
sg

or

# Load module "sr" for Nerolinux.
sr

and save.


Fixing permission problems

After fixing the device problems Nero will complain about not having appropriate permissions to access burning device(s) /dev/sgX or /dev/srX. To fix this problem you must give read and write permissions to the appropriate device(s), sgX or srX. To give appropriate permissions you must edit the /etc/rc.local script.


Edit the /etc/rc.local script

sudo nano /etc/rc.local

add the line

chmod o+r+w /dev/sg*

or

chmod o+r+w /dev/sr*

before the line that reads "exit"

and save.


Run rc.local, through systemd, as a service

Since Manjaro uses systemd we need to execute rc.local as a service.


Create rc.local service file.

sudo nano /etc/systemd/system/rc-local.service

add the lines

[Unit]
Description=Execute /etc/rc.local through systemd

[Service]
Type=oneshot
ExecStart=/etc/rc.local
TimeoutSec=0
StandardInput=tty
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

and save.


Enable the rc-local service

sudo systemctl enable rc-local.service


Reboot the operating system

sudo reboot