You are not logged in.
Pages: 1
Admin, please delete.
Last edited by OalSkuul (2020-12-28 22:36:31)
Offline
Tried this ("new") Thunar Custom Action from an Ubuntu forum, no joy...
Name: Open as admin Command: thunar admin://%f File pattern: *
The GVFS admin backend is indeed the "correct" way to use Thunar as root (ie, how the developers of the application intend it to be used).
Do you have the gvfs-backends package installed? Does entering admin:/// into the navigation bar in Thunar work? Start Thunar from a terminal to see any relevant error messages if it fails:
thunar admin:///
You also need a graphical authentication agent running for polkit to display a password prompt:
Brianna Ghey — Rest In Power
Offline
Admin, please delete.
Last edited by OalSkuul (2020-12-28 22:37:30)
Offline
not edit it with either mousepad or geany
Neither mousepad nor geany support the GVFS admin backend. Try gedit instead, that does support it.
Or even better set your chosen editor as $SUDO_EDITOR and create a Thunar custom option to edit system files with the sudoedit command. See http://dev1galaxy.org/viewtopic.php?pid=24244#p24244 for more on this.
EDIT:
My way, I can do it all
Your way runs entire GUIs as root, which exposes your system to major vulnerabilities unnecessarily.
I blame the Debiots kowtowing to their sys'd overlords
I blame GNU/Linux application developers finally taking security in the desktop seriously. Overriding that improvement is silly (IMO).
Last edited by Head_on_a_Stick (2020-12-23 20:44:33)
Brianna Ghey — Rest In Power
Offline
I have a custom action to launch Thunar as root in a Beowulf VB pkexec thunar %F. Same can be done to open a specific file with a text editor. Pluma FTW! And in the panel I use synaptic-pkexec. Might not work in ceres though . . .
Disclaimer . . . I have mostly used that instance of beowulf to theme for chimaera so not given it hard daily use.
Offline
Admin, please delete.
Last edited by OalSkuul (2020-12-28 22:34:45)
Offline
Admin, please delete.
Last edited by OalSkuul (2020-12-28 22:32:45)
Offline
if I could just figure out the code for a desktop root terminal launcher
[Desktop Entry]
Version=1.0
Name=Root Terminal
Comment=Run terminal emulator as root
Type=Application
Exec=x-terminal-emulator -e sudo -i
Categories=System;TerminalEmulator;
EDIT: if you don't have sudo installed then use Exec=x-terminal-emulator -e su - instead.
Last edited by Head_on_a_Stick (2020-12-25 20:19:02)
Brianna Ghey — Rest In Power
Offline
Admin, please delete.
Last edited by OalSkuul (2020-12-28 22:31:34)
Offline
the sudo line failed (it opened, but after entering my password and hitting enter, the terminal window crashes)
That's strange, I'm using that .desktop file in SharpBang and it works in my tests.
What happens if you try to run the Exec line from an open terminal (as your normal user)?
x-terminal-emulator -e sudo -i
Brianna Ghey — Rest In Power
Offline
Admin, please delete.
That is very selfish behaviour, threads on these boards are supposed to be a community resource. If you're upset because I accused you of hijacking the other thread then stop being such a baby and grow some thicker skin.
Brianna Ghey — Rest In Power
Offline
OalSkuul wrote:Admin, please delete.
That is very selfish behaviour, threads on these boards are supposed to be a community resource. If you're upset because I accused you of hijacking the other thread then stop being such a baby and grow some thicker skin.
--crickets chirp--
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
Pages: 1