Package Details: kf6-servicemenus-rootactions 1.2.0-1

Git Clone URL: https://aur.archlinux.org/kf6-servicemenus-rootactions.git (read-only, click to copy)
Package Base: kf6-servicemenus-rootactions
Description: Allows admin users to perform several root only actions from dolphin via polkit agent.
Upstream URL: https://gitlab.com/stefanwimmer128/kf6-servicemenus-rootactions
Keywords: kde kf6 rootactions servicemenus
Licenses: GPL-2.0-or-later
Conflicts: kde-servicemenus-rootactions, kf5-servicemenus-rootactions
Replaces: kde-servicemenus-rootactions, kf5-servicemenus-rootactions
Submitter: stefanwimmer128
Maintainer: stefanwimmer128
Last Packager: stefanwimmer128
Votes: 8
Popularity: 0.000005
First Submitted: 2024-03-09 15:33 (UTC)
Last Updated: 2025-09-12 06:14 (UTC)

Pinned Comments

stefanwimmer128 commented on 2024-03-09 15:49 (UTC) (edited on 2024-07-17 19:07 (UTC) by stefanwimmer128)

Pre-built packages are available here or in my repository.

Latest Comments

Pietro_Pizzi commented on 2026-04-01 11:23 (UTC)

2nd File:

[Desktop Entry]
Type=Service
MimeType=application/octet-stream;
Actions=11_EditAsText;12_OpenInKonsoleFile;13_OpenInFilemanagerFile;14_OpenWithCustom;19_separator;21_Copy;22_Rename;23_Compress;24_Delete;29_separator;31_ChangeRoot;32_ChangeUser;33_ChangeCustom;34_ChangePerm;
Icon=kgpg
X-KDE-Priority=TopLevel
X-KDE-Submenu=&Root Actions
X-KDE-Submenu[de]=Administ&rator-Aktionen

[Desktop Action 11_EditAsText]
Exec=kf6-servicemenus-rootactions.pl open_with defaultte %U
Icon=accessories-text-editor
Name=Open as Text
Name[de]=Als Textdatei bearbeiten

[Desktop Action 12_OpenInKonsoleFile]
Exec=kf6-servicemenus-rootactions.pl root_konsole_here konsole $(dirname "%f")
Icon=utilities-terminal
Name=Open Terminal Here
Name[de]=In Konsole öffnen

[Desktop Action 13_OpenInFilemanagerFile]
Exec=kf6-servicemenus-rootactions.pl open_with defaultfm $(dirname "%f")
Icon=system-file-manager
Name=Open File Manager Here
Name[de]=Im Dateimanager öffnen

[Desktop Action 14_OpenWithCustom]
Exec=kf6-servicemenus-rootactions.pl custom_open_with %U
Icon=system-run
Name=Open with ...
Name[de]=Öffnen mit...

[Desktop Action 19_separator]
Name=________________________

[Desktop Action 21_Copy]
Exec=kf6-servicemenus-rootactions.pl root_copy %U
Icon=edit-copy
Name=Copy
Name[de]=Kopieren

[Desktop Action 22_Rename]
Exec=kf6-servicemenus-rootactions.pl root_rename krename %U
Icon=edit-rename
Name=Move/Rename
Name[de]=Umbenennen

[Desktop Action 23_Compress]
Exec=kf6-servicemenus-rootactions.pl root_compress %U
Icon=utilities-file-archiver
Name=Compress
Name[de]=Komprimieren

[Desktop Action 24_Delete]
Exec=kf6-servicemenus-rootactions.pl root_delete %U
Icon=edit-delete
Name=Delete
Name[de]=Löschen

[Desktop Action 29_separator]
Name=________________________

[Desktop Action 31_ChangeRoot]
Exec=kf6-servicemenus-rootactions.pl root_ownership %U
Icon=preferences-desktop-user-password
Name=Ownership to Root
Name[de]=Administrator zum Eigentümer machen

[Desktop Action 32_ChangeUser]
Exec=kf6-servicemenus-rootactions.pl user_ownership %U
Icon=preferences-desktop-user
Name=Ownership to Active User
Name[de]=Aktuellen Benutzer zum Eigentümer machen

[Desktop Action 33_ChangeCustom]
Exec=kf6-servicemenus-rootactions.pl custom_ownership %U
Icon=user-properties
Name=Ownership to ...
Name[de]=Eigentümer wechseln...

[Desktop Action 34_ChangePerm]
Exec=kf6-servicemenus-rootactions.pl root_permissions %U
Icon=folder-locked
Name=Change Permissions
Name[de]=Berechtigungen bearbeiten

Pietro_Pizzi commented on 2026-04-01 11:22 (UTC) (edited on 2026-04-01 11:24 (UTC) by Pietro_Pizzi)

KDE changed something, now Actions appear in alphanumerical order, not like in the order they are written in the Action= rule anymore.

Additionally the special tag SEPARATOR is no more. If you want a seperation, the trick "[Desktop Action ##_separator] \ Name=_____" (with a custome tuned ___ length) works.

My fix for your .desktop file(s):

[Desktop Entry]
Type=Service
MimeType=inode/directory;
Actions=11_OpenInKonsole;12_OpenInFilemanager;13_OpenWithCustom;19_separator;21_Copy;22_Rename;23_Compress;24_Delete;29_separator;31_ChangeRoot;32_ChangeUser;33_ChangeCustom;34_ChangePerm;
Icon=kgpg
X-KDE-Priority=TopLevel
X-KDE-Submenu=&Root Actions
X-KDE-Submenu[de]=Administ&rator-Aktionen

[Desktop Action 11_OpenInKonsole]
Exec=kf6-servicemenus-rootactions.pl root_konsole_here konsole %U
Icon=utilities-terminal
Name=Open Terminal Here
Name[de]=In Konsole öffnen

[Desktop Action 12_OpenInFilemanager]
Exec=kf6-servicemenus-rootactions.pl open_with defaultfm %U
Icon=system-file-manager
Name=Open in File Manager
Name[de]=Im Dateimanager öffnen

[Desktop Action 13_OpenWithCustom]
Exec=kf6-servicemenus-rootactions.pl custom_open_with %U
Icon=system-run
Name=Open with ...
Name[de]=Öffnen mit...

[Desktop Action 19_separator]
Name=________________________

[Desktop Action 21_Copy]
Exec=kf6-servicemenus-rootactions.pl root_copy %U
Icon=edit-copy
Name=Copy
Name[de]=Kopieren

[Desktop Action 22_Rename]
Exec=kf6-servicemenus-rootactions.pl root_rename krename %U
Icon=edit-rename
Name=Move/Rename
Name[de]=Umbenennen

[Desktop Action 23_Compress]
Exec=kf6-servicemenus-rootactions.pl root_compress %U
Icon=utilities-file-archiver
Name=Compress
Name[de]=Komprimieren

[Desktop Action 24_Delete]
Exec=kf6-servicemenus-rootactions.pl root_delete %U
Icon=edit-delete
Name=Delete
Name[de]=Löschen

[Desktop Action 29_separator]
Name=________________________

[Desktop Action 31_ChangeRoot]
Exec=kf6-servicemenus-rootactions.pl root_ownership %U
Icon=preferences-desktop-user-password
Name=Ownership to Root
Name[de]=Administrator zum Eigentümer machen

[Desktop Action 32_ChangeUser]
Exec=kf6-servicemenus-rootactions.pl user_ownership %U
Icon=preferences-desktop-user
Name=Ownership to Active User
Name[de]=Aktuellen Benutzer zum Eigentümer machen

[Desktop Action 33_ChangeCustom]
Exec=kf6-servicemenus-rootactions.pl custom_ownership %U
Icon=user-properties
Name=Ownership to ...
Name[de]=Eigentümer wechseln...

[Desktop Action 34_ChangePerm]
Exec=kf6-servicemenus-rootactions.pl root_permissions %U
Icon=folder-locked
Name=Change Permissions
Name[de]=Berechtigungen bearbeiten

Additional Info: You forgot "Name[de]=Kopieren" for the Actions Copy.

SalvatoreN commented on 2024-04-01 14:05 (UTC)

ty. tested in plasma6, seems to work so good here :)

stefanwimmer128 commented on 2024-03-09 15:49 (UTC) (edited on 2024-07-17 19:07 (UTC) by stefanwimmer128)

Pre-built packages are available here or in my repository.