| | |
| Link: http:// Downloads: 35605
| Submitted: Nov 8 2006 Updated: Mar 22 2016
| | Description:
Version: 2.9
***IMPORTANT***
- You need to have "ruby" installed for Automatic installation to work
- Make sure you get the latest version, the automatic download from dolphin seems to download a really old version (2.7.3) for some mysterious reason. Manual download from kde-apps/kde-look will guarantee you'll get the latest version.
****
***NOTES***
- From version 2.8 onwards, Root Actions only supports KDE4 or later...Files from version 2.7.3 are included in the package for KDE3 users.
- My mail address can be found in the README file in the package if you wish to contact me for translations or feedback (You can of course also post a comment here)
- I can't test the menu on KDE3 anymore, so I can't guarantee the menu works 100% on KDE3
- Full Kf5 support is work in progress, but the menu should work on kf5 as is.
*************
Root Actions servicemenu provides a convenient way to perform several actions 'as root', from the right-click context menu in KDE filemanagers.
It aims to be distribution agnostic, if you experience issues in your distribution, drop me an email describing the issue.
The menu needs a properly configured kdesu/kdesudo to work (kdesudo is preferred, for some added functionality, like remembering password for a period of time...timeout is configurable by sudo settings)
Any comments, criticism and improvement suggestions welcomed :)
Included in the download are .desktop file versions for KDE3 konqueror, KDE3 dolphin, KDE4 and KF5 (both konqueror and dolphin) and an importable user action xml file for krusader KDE4...see installation for details.
README:
I've dropped version 1.x from the package since 2.x is stable and can do a lot more than 1.x. If you're still interested in the 1.x version, drop me a mail and I'll send it to you.
Thanks to:
Stefan Majewsky - German translation (1.1.x and 2.x)
Pierre Buard - French translation (1.1.x)
Guillaume Millet &
Jean-Marc Detourmignies - French translation (2.x)
Alessio - Italian translation (1.1.x)
Massimo Pissarello - Italian translation (2.x)
João Pedro Gomes - Portuguese translation (2.x)
Viruscg - Brazilian Portuguese translation (1.1.x amd 2.x partial)
Eduardo Grau - Spanish translation (1.1.x and 2.x)
Kenny Verstraete - Dutch translation (1.1.x and 2.x)
Paul Körössy - Hungarian translation (2.x)
nikt_taki - Polish translation (2.x)
Andreas Nordal - Norwegian translation (2.x)
Jakub Matas - Czech translation (2.x)
Donatas Glodenis - Lithuanian translation (2.x)
Mladen Pejaković - Serbian translation (2.x)
Netrebin Alexey - Russian translation (2.x)
Cihat Imamoglu - Turkish translation (2.x)
Manuel Tortosa Moreno - Catalan translation (2.x)
Neo Tet - Greek translation (2.x)
Adrián Chaves Fernández - Galician translation (2.x)
Mihael Simonič - Slovene translation (2.x)
Niklas Åkerström - Swedish translation (2.x)
----Requirements:-----------------------------------------------------
Essential: (these should already be installed on a standard KDE installation)
perl -the script is written in perl
kdesu | kdesudo -to gain administrative privileges
kdialog -to show dialogs
kreadconfig -to read kde configuration
dolphin | konqueror -filemanager
kwrite | kate -editor
ark -handles compression
Optional:
krename -for multiple file (batch) renaming
krusader -to use the included krusader actions
xdg-utils -for default application support (2.5.x-)
----Installation:-----------------------------------------------------
Some distributions have packages available in either their main repos or community repos. For easy installation and possible distro specific patches you can use them if available. Manual installation instructions below:
Version 2.3 ->
1. Uncompress the rootactions-servicemenu.pl script in Root_Actions_2.x to a directory in your $PATH. /usr/local/bin or /usr/bin are two valid options. Make the script executable (if it's not).
2a. (Konqueror for KDE3) Uncompress the three .desktop files in /konqueror-KDE3 to ~/.kde/share/apps/konqueror/servicemenus (This will enable the menu for individual users, if you wish to enable the menu for all users, copy the files to /usr/share/apps/konqueror/servicemenus instead).
2b. (Dolphin for KDE3) Uncompress the two .desktop files in /dolphin-KDE3 to ~/.kde/share/apps/d3lphin/servicemenus (This will enable the menu for individual users, if you wish to enable the menu for all users, copy the files to /usr/share/apps/d3lphin/servicemenus instead).
2c. (Dolphin and Konqueror for KDE4) Uncompress the two .desktop files in /dolphin-KDE4 to your kde4 servicemenu folder (possibly ~/.kde/share/kde4/services/ServiceMenus...although $KDEHOME [".kde"] can be something else in your distribution). If you wish to use konqueror instead of dolphin as your filemanager, edit 10-rootactionsfolders.desktop by changing 'dolphin' to 'konqueror'.
2d. (Dolphin and Konqueror for Kf5) Copy the two .desktop files in /dolphin-KDE4 to your kf5 servicemenu folder (likely ~/.local/share/kservices5/ServiceMenus). If you wish to use konqueror instead of dolphin as your filemanager, edit 10-rootactionsfolders.desktop by changing 'dolphin' to 'konqueror'.
2e. (Krusader for KDE4) Import krusader_rootactions.xml file in /krusader-KDE4 with krusader's action manager.
----Available Actions----------------------------------------------------------------
Version 2.x
- Open Terminal Here (folders) - open a root terminal session in chosen folder
- Open in File Manager (folders) - open chosen folder(s) in file manager
- Open as Text (files) - open chosen folder(s) in text editor
- Open With ... (both) - open chosen items in a program of your choice
- Copy (both) - copy a single file or folder (ADDED in 2.1)
- Move/Rename (both) - if multiple items selected and a batch renamer installed (default is krename) start renamer, otherwise use a simple move/rename dialog
- Compress (both) - Compress selected files/folders (ADDED in 2.7)
- Delete (both) - Completely removes chosen items (as this is potentially hazardous, there is an extra confirmation dialog), handy for removing back-up files etc.
- Ownership to Root (both) - change ownership of chosen items to root:root
- Ownership to Active User (both) - change ownership of chosen items to current user
- Ownership to ... (both) - change ownership of chosen items to UID:GID of your choice
- Change Permissions (both) - change permissions of chosen items
If only a single folder is selected, permissions/ownership can be set recursively. If changing permissions recursively, files are only set executable if they already are executable (Otherwise all files in a directory would be set executable if the parent folder is set executable, which is necessary for the folder to be accessible)
----Translating and customizing:-----------------------------------------------------
Read the README file in the package for instructions on translating and customizing the menu
----Disclaimer-------------------------------------------------------
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Changelog:
2.9 KF5 fixes
- Support for kf5-kdesu not in $PATH
- fixes in installer/uninstaller scripts
- workaround: use --nofork to open konsole as root
2.8.7 KF5 installer fix
- Fix installer script (and uninstaller) for kf5 (detect both kde4 and kf5 and install the .desktop files as necessary).
- add version number to the script
2.8.6 KF5 update & bugfix
- kf5 default application fix
- Really, really, really fix the --caption issue
- Updated README to include plasma5/kf5
2.8.5 Root reminders back for KDE4 (Really fix it this time)
- Added back root reminders for KDE4 (thanks to Caldazar for the patch), haven't found a way to add them to KF5 apps.
2.8.4 Root reminders back for KDE4
- Bad upload
2.8.3 KF5 quick fix
- Removed root reminders for now because of kf5/qt5 compatibility (no "--caption" option support)
- I'll try to add them back if I find a way to do that. TIP: Setting a different theme/color scheme for root will help you distinguish root apps even without the reminders.
2.8.2 Hopefully refixed the issue originally fixed in 2.7.4/2.8 and reverted in 2.8.1
- Using dbus-run-session, which is a better solution than dbus-launch.
- dbus-run-session is only available in dbus 1.8.x >, so the fix will only work with newer dbus releases, but the menu will still work with older versions (but the bug is obviously not fixed with that version).
2.8.1 "Out with the new, in with the old and tested" -release
- Revert "dbus-launch fix" in 2.7.4/2.8 as this is a suboptimal solution to the problem see "Known Issues". I'll revisit the original issue once dbus-run-session trickles down from upstream dbus.
- Reorganize package to move KDE3 files to a separate directory (Still hoping to get to that code clean-up part on the KDE4 version)
2.8 Reupload 2.7.4 as 2.8 since this version does not support KDE3 anymore (KDE3 files from version 2.7.3 are still included in the package for those that use KDE3)
2.7.4 Bugfix
- Use dbus-launch when starting applications as root (should fix dbus issues like not being able to open files from file manager that was opened as root) REVERTED in 2.8.1
2.7.3 Bugfix
- Fixed GHNS installation bug in 2.7.2 (forgot to update install script)
2.7.2 Translation release
- Added Swedish translation
2.7.1 GHNS bugfix & translation release
- GHNS: Create servicemenu directory (if it doesn't exist) with the install script
- Added Slovene translation
2.7 (Stable)
- Improve filemanager and texteditor fallbacks if xdg-mime fails to detect default applications
- Changes from 2.6:
1. Compress action (using ark)
2. GHNS installation in KDE4 dolphin
- GHNS installation is still a recent addition, so there may be issues with it, but it should be safe to try (the worst thing that should happen is that the installation fails).
- 2.7 is likely the last version that supports KDE3. I can't test the menu on KDE3 anymore, and dropping KDE3 workarounds would allow me to clean up the code. I'd still include 2.7 for KDE3 but no new features.
2.6.99 (2.7 RC2)
- Try removing version number from the tarball to see if it fixes a few issues with GHNS
- Edit GHNS scripts accordingly
2.6.98 (2.7 RC)
- Fix install/uninstall scripts when using kdesu or xdg-su
2.6.96 (2.7 beta4)
- Fix install/uninstall dialogs in older versions of KDE (pre 4.6)
- Uninstallation dialog made a bit more informative
- Small fixes in the install/uninstall scripts
- Test removing the extract-directory in $KDEHOME/share/apps/servicemenu-download/ when uninstalling, dolphin's servicemenu uninstallation doesn't seem to do that for some reason.
- No changes to the servicemenu itself.
2.6.94 (2.7 beta3)
- EXPERIMENTAL: Added install/uninstall scripts for GHNS in dolphin (for testing only)
- No changes to the servicemenu itself.
2.6.92 (2.7 beta2)
- Bytesize bugfix to fix an issue with kdesu on KDE SC 4.6
2.6.90 (2.7 beta1)
- Added "Compress" menu option, brings up ark compression dialog (as root) to choose filename, format etc.
- NEW DEPENDENCY: ark
- Consider compress option a beta feature...all testing feedback welcome.
2.6 "Stable"
- Fixed bug with default application detection on desktop files with kde4-prefix
2.5.92 (2.6_beta2) (hopefully just) temporary bugfix
- removed "--overwrite" option from normal copy and move operations (fix error in older versions of KDE). The "advanced" noninteractive mode still uses the option (So it'll work on KDE SC 4.5 only).
2.5.90 (2.6_beta1) kde-cp and kde-mv
- Use kde-cp and kde-mv (if available) instead of cp and mv (This should prevent accidental overwrites by bringing up KDE's overwrite dialog). If you prefer the old "noninteractive" behavior, change $CPDIALOGS to "false" in the rootactions-servicemenu.pl script (recommended for "advanced" users only)
- Some optimizations on the default application checks (removing redundancies)
- Refreshed requirements. xdg-utils is an optional requirement (default application checks need it, but the menu will work without it)
2.5.0 (Default applications, TESTING)
- KDE4 desktop files should now use your chosen default applications for "File Manager" and "Text Editor" actions.
- As I cannot test the changes in KDE3, KDE3 desktop files still use hardcoded applications (which you can change by editing the desktop files)
- As this also includes some changes in the code, it may contain bugs (please report if you run into any). It should work, but consider this a testing release (there is only so much I can test myself).
2.4.11 Bugfix
- Changed "terminal" icon to "utilities-terminal" in KDE4 desktop files (and krusader xml)...fixes missing icon in "open terminal here" action for KDE SC 4.5
- Also made KDE3 desktop files consistent in using konsole icon
--Full changelog included in the download---
License: GPL
|
| |
Add commentBack
|
| |
|