|






| Link: http:// Downloads: 16870
| Submitted: Nov 8 2006 Updated: Jan 11 2010
| | Description:
***NOTE***
2.4 Includes some code changes, so please report any bugs you may encounter...mail address is provided in the README file (You can also post a comment here)
KNOWN ISSUES:
- Some KDE3 distributions (like Debian Lenny) may still use an old version of kdesudo, which has a bug handling filenames with spaces, and unexpected results may occur. Workarounds: 1. uninstall kdesudo (and use kdesu instead), 2. avoid using root actions on filenames with spaces, 3. "bug" your distributors to update kdesudo to the latest. 4. build your own kdesudo from the latest sources.
*************
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 (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)
----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
Optional:
krename -for multiple file (batch) renaming
krusader -to use the included krusader actions
----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. (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, both in 2.4.7 and later) - open a root terminal session in chosen folder
- Open in File Manager (folders, both in 2.4.7 and later) - open chosen folder(s) in file manager (default is konqueror)
- Open as Text (files) - open chosen folder(s) in text editor (default is kate)
- 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
- 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.4.8 Translation release
- Added Catalan translation
- Small XDG fixes on the .desktop files
2.4.7 Improved actions
- Added "open in filemanager" and "open in terminal" to the menu also when right-clicking on files, which will open the apps in the parent folder.
(This should save a mouse-click when you would otherwise have to go up a directory to right-click on the folder)
(2.4.7.1) Fixed KDE3-Konqueror version to open in konqueror instead of dolphin...my bad.
2.4.6 Xdg-su
- Added support for xdg-su (should fix remaining issues with Pardus that seems to prefer xdg-su)
2.4.5 Bugfix
- Bugfix for bin path check (Bug reported by Cihat Imamoglu on Pardus)
- Some code clean-up
2.4.4 Translation and Krusader release
- Added requirements to README
- Included an importable user action file for krusader (KDE4, english only)
- Added Turkish translation
2.4.3 Translation release
- Added Russian translation
- Fixed a typo in Lithuanian translation in the .desktop files
- Minor changes in French translation
2.4.2 Translation release
- Added Serbian (latin & cyrillic) translations
2.4.1 Translation release
- Added Lithuanian translation
2.4 Small improvements and translations
- Run kwrite as the editor if kate is not installed
- Hopefully fixed issue with KDE3/KDE4 dual installations (kde3 versions of programs run on kde4)
- Fixed icon names for the KDE4 menus (thanks to Andrzej Szelachowski)
- Added Czech translation
- Updated Dutch translation
2.3 Bugfixes and translations
- Bugfix: switched to only two desktop files in dolphin versions, one for folders and one for files (now dolphin does not show two separate menus)
- Feature improvement: Use LANG environment variable if kdelanguage is not found (thanks to Andreas Nordal)
- Translation string change: Change 'All:' to 'Others:' in the permission change dialog, as it is in konqueror's native permission dialog (as suggested by Andreas Nordal)
- Added Norwegian translations (bokmål and nynorsk)
- Changed package structure (See Readme for details)
--Full changelog included in the download---
License: GPL
|
| |
add commentback
|