The officially official Devuan Forum!

You are not logged in.

#1 2020-12-23 20:07:08

OalSkuul
Member
Registered: 2020-12-23
Posts: 13  

Admin, please delete.

Admin, please delete.

Last edited by OalSkuul (2020-12-28 22:36:31)

Offline

#2 2020-12-23 20:14:37

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Admin, please delete.

OalSkuul wrote:

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:

https://wiki.archlinux.org/index.php/Po … ion_agents


Brianna Ghey — Rest In Power

Offline

#3 2020-12-23 20:25:28

OalSkuul
Member
Registered: 2020-12-23
Posts: 13  

Re: Admin, please delete.

Admin, please delete.

Last edited by OalSkuul (2020-12-28 22:37:30)

Offline

#4 2020-12-23 20:42:14

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Admin, please delete.

OalSkuul wrote:

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:

OalSkuul wrote:

My way, I can do it all

Your way runs entire GUIs as root, which exposes your system to major vulnerabilities unnecessarily.

OalSkuul wrote:

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

#5 2020-12-23 22:23:13

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: Admin, please delete.

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

#6 2020-12-24 11:15:02

OalSkuul
Member
Registered: 2020-12-23
Posts: 13  

Re: Admin, please delete.

Admin, please delete.

Last edited by OalSkuul (2020-12-28 22:34:45)

Offline

#7 2020-12-25 19:54:13

OalSkuul
Member
Registered: 2020-12-23
Posts: 13  

Re: Admin, please delete.

Admin, please delete.

Last edited by OalSkuul (2020-12-28 22:32:45)

Offline

#8 2020-12-25 20:18:00

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Admin, please delete.

OalSkuul wrote:

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

#9 2020-12-25 20:38:21

OalSkuul
Member
Registered: 2020-12-23
Posts: 13  

Re: Admin, please delete.

Admin, please delete.

Last edited by OalSkuul (2020-12-28 22:31:34)

Offline

#10 2020-12-25 21:12:50

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Admin, please delete.

OalSkuul wrote:

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

#11 2020-12-28 23:13:58

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Admin, please delete.

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.


Brianna Ghey — Rest In Power

Offline

#12 2020-12-28 23:18:43

zapper
Member
Registered: 2017-05-29
Posts: 835  

Re: Admin, please delete.

Head_on_a_Stick wrote:
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

Board footer