HI Taffman, maxyudin, & Anyone Else Interested in this,
I was not sure whether to add to this post or to create a new post.
Every time there is a major update or upgrade in the Ubuntu base like from Ubuntu 14.04 Trusty (Linux Mint 17.x), to Ubuntu 16.04 Xenial (Linux Mint 18.x), or now with Ubuntu 18.04 Bionic (Linux Mint 19.x), they change some security aspects of the operating system, and so do some of the desktop developers (Cinnamon, Mate, Xfce, and KDE) which of course supposedly makes it more secure, but creates hassles for users having to learn how to use new commands or apps with the new security in place..
In my Linux Mint KDE 18.3 system, they removed the "root" options for the excellent "Dolphin" file manager even though it already required entering in your "root" password which is a real pain because it was a very useful feature rather than having to enter numerous console terminal commands. The KDE developers went even further to make matters worse in KDE versions based on Ubuntu 18.04+ Bionic (Linux Mint 19.x) with the KDE desktop added, or using Kubuntu 18.04 or the new very nice KDE Neon operating systems, by actually preventing the Dolphin file manager from being run as root without major efforts because the kdesu/kdesudo/sudo no longer works! But through exhaustive research, I found solutions for these issues which I will describe below.
phd21 wrote:*** TIP 1: for all KDE users using Linux Mint 18.x or 19.x, if you want your GTK/Gnome applications to work and or to work well like Firefox, Yakuake, etc... install the GTK2 and GTK3 "adwaita" and Gnome themes from the "Synaptic Package Manager (SPM)" and then under the System Settings - Application Style - Gnome/GTK Application Style change the settings to Adwaita and at bottom to adwaita or Gnome (click Apply) then that will help. FYI: in the new KDE Neon, it required installing the "Synaptic Package Manager (SPM)" and then removing the neon-adwaita package. See screenshots below
- Linux Mint KDE 18.3 (18.x) based on Ubuntu 16.04 Xenial users could install the option below
phd21 wrote:*** Tip 2: There are special versions of Firefox and the Thunderbird email client for KDE Plasma users. For those interested, see the previous post or ask me.
Root Actions Servicemenu - store.kde.org
Download this archive file from the link below, then right-click it and extract here, which creates a new "rootactions_servicemenu_2.9.1" folder, get into that folder, right-click the "install.sh" file in that folder select properties permission tab check to allow executable exit that, right-click in the white space and open terminal here, in the Konsole terminal, run the command below. I cannot remember if it is this or something else, but it is recommended to install "Ruby" first from the "Synaptic Package Manager (SPM)" or the command below.
To install the root service menu for Dolphin.
exit the Konsole terminal
Download link for the root service menu for Dolphin
https://store.kde.org/p/998469/startdow ... 9.1.tar.gz
- For Linux Mint 19.x users with the KDE desktop (Kubuntu or Neon) installed, or Kubuntu 18.04, or KDE Neon 5.14 based on Ubuntu 18.04 Bionic or any other KDE system based on Ubuntu 18.04 Bionic or newer, these instructions below will allow you to open Dolphin as root. "OpenSUSE KDE" already provides an option for Dolphin as root. I will provide all the links to articles and posts below, but those recommending using kdesu/kdesudo/sudo no longer work, so there are another "work arounds" or "hacks" that do work.
For Linux Mint 19.x or 18.x: Easiest method: Just create a new desktop shortcut launcher to an application, or a new menu item, with a Name of "Dolphin Root" and copy then paste the line below into the Application command box.
Code: Select all
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dolphin
B.) Another method: Add a new Dolphin right-click Action for opening Dolphin as root
Create a new text file called "root_dolphin.desktop
" in your home folder using any text editor, copy the contents below in the code box and paste it into that file, save the file, exit the text editor, then...
Code: Select all
[Desktop Action openRootDolphinHere]
Name=Open Root Dolphin Here
Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dolphin
#Exec=kdesu dolphin %U
... open a konsole terminal which defaults into your home folder, and copy the command below into that, hit enter to copy the new root dolphin desktop file into a folder all users can use, close the konsole terminal window, restart Dolphin file manager. If you do not see the right-click Actions "Open Root Dolphin here", then you may have to go into the Dolphin Settings - Configure Dolphin - click Services on the left and make sure to check "Open Root Dolphin here" and apply and ok.
Code: Select all
sudo cp root_dolphin.desktop /usr/share/kservices5/ServiceMenus/
FYI: Here are the links to articles and posts where I found all this information on before doing all the trial and error testing stuff.
How to run Dolphin 18.08 as root with Kubuntu or KDE neon? • KDE Community Forums
Security nonsense: KDE Dolphin does not run as root - Fix
https://www.dedoimedo.com/computers/kde ... -root.html
Linux Users, Bypass "Executing Dolphin as root is not possible" and Regain Your KDE Dolphin Root Privileges | IWF1
https://iwf1.com/linux-users-bypass-exe ... privileges
How To: Add "Open As Root" Entry Manually To KDE's Dolphin File Manager? | IWF1
https://iwf1.com/how-to-add-open-as-roo ... le-manager
Hope this helps ...
KDE "Synaptic Package Manager (SPM)" showing recommended theme and icon packages to install for GTK2 and GTK3 and Gnome applications.
KDE System Settings for changing the Gnome/GTK Application Settings to use Adwaita themes and icons, especially for GTK2 applications.