Create Launcher to Open Caja on Mate
Here in this post I show a way on how to create a launcher run as root on Mate desktop running on a virtual machine, I logged in to virtual desktop over vnc viewer, since newer Linux distos no longer include the ability of gksu and gksudo.
Before we create the launcher, some preparations have to be made, to do this with run the command below:
$ sudo cp ~/.Xauthority /root $ echo "export XAUTHORITY=/home/
/.Xauthority" >> ~/.bashrc
replace user with your real username.
Now create a new launcher with right-click on your desktop.
Open the type drop-down menu and choose application in terminal, then insert the command below:
sudo -H /usr/bin/caja
into the command field, like see in the screenshot below.
A double-click will open a terminal in here enter your password to gain root privileges able to run Caja as root.
Be aware of what you are doing, your action may now result in irrevocable malfunction or destruction of the system.
Es tut uns leid, dass der Beitrag für dich nicht hilfreich war!
Lasse uns diesen Beitrag verbessern!
Wie können wir diesen Beitrag verbessern?