Warning: session_start(): open(/tmp/sess_oqbpejd3jn215jnof2innk1fs0, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Root Actions Servicemenu openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (44) .- Knowledge Base  . 

Root Actions Servicemenu

   2.9  

KDE Service Menu

Score 90%
Root Actions Servicemenu
zoom


Root Actions Servicemenu
zoom


Root Actions Servicemenu
zoom


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---




LicenseGPL
Send to a friend
Subscribe
Other  Content  from kubicle
Report inappropriate content



goto page: prev   1  2  3  4  5  6  7  8  9  10  11  12 

-

 Requirements

 
 by gubuuu on: Jan 24 2010
 
Score 50%

I would like to ask what this "kreadconfig" is? Is it really a requirement? It doesn't exist as a package on openSUSE but your script seems to work anyway.


Many greetings and thanks for the script
G.

Reply to this

-

 Re: Requirements

 
 by v6lur on: Jan 25 2010
 
Score 50%

kreadconfig is part of kdebase-bin, not a separate package. It is used to read the value of given setting from specified KDE configuration file.


...more or less.
Reply to this

-
.

 Re: Re: Requirements

 
 by gubuuu on: Jan 25 2010
 
Score 50%

Thank you for the clarification


Reply to this

-

 Greek Translation

 
 by tetris4 on: Feb 15 2010
 
Score 50%

Thank you for this!!

Here is the Greek translation:

http://rapidshare.com/files/350718967/Root_Actions_Greek__el__Translation.tar.gz

keep up the g00d w0rk =)


Reply to this

-

 Re: Greek Translation

 
 by kubicle on: Feb 16 2010
 
Score 50%

Thanks,

your Greek translation has been added (2.4.9)


Reply to this

-
.

 Bug ?

 
 by srog on: Feb 16 2010
 
Score 50%

Hi,

There seems to be a typo in the rootactions-servicemenu.pl (missing comma ?).

Konsole:
rootactions-servicemenu.pl open_with kate /home/rog/Templates/Monitor.txt

Error:
String found where operator expected at /usr/local/bin/rootactions-servicemenu.pl line 266, near ""en_US""
(Missing semicolon on previous line?)
syntax error at /usr/local/bin/rootactions-servicemenu.pl line 266, near ""en_US""
Execution of /usr/local/bin/rootactions-servicemenu.pl aborted due to compilation errors.

Line 265 is:
"el" => "Εφαρμογή αλλαγών επαναλαμβανόμενα;"

If i add a comma:
"el" => "Εφαρμογή αλλαγών επαναλαμβανόμενα;",
then the rootactions-servicemenu.pl is working.


PS.
Is the mail address (README) current ?

Hotmail told:
Delivery to the following recipients failed.


Reply to this

-

 Re: Bug ?

 
 by kubicle on: Feb 16 2010
 
Score 50%

Thanks for the report Rog, I'll upload a fixed version later today.

And I'll look into the email issue.


Reply to this

-

 Re: Re: Bug ?

 
 by kubicle on: Feb 16 2010
 
Score 50%

Should be fixed in 2.4.9.1


Reply to this

-

 Re: Re: Re: Bug ?

 
 by kubicle on: Feb 16 2010
 
Score 50%

The gmail address in the readme works (gawab address seems to be dead...probably deactivated because I haven't logged into the account for a good while).

I'll probably change the readme file and remove the gawab address to avoid confusion.


Reply to this

-

 missing icon

 
 by birdflesh on: Sep 1 2010
 
Score 50%

Only a minor bug: On dolphin (kde 4.5.1) the "open terminal here" menu item is a "?" and not the terminal icon. This is easily fixed by changing the "terminal" icon references to "utilities-terminal" in *.desktop files. Maybe you would like to include this on a new release.


Reply to this

-

 Re: missing icon

 
 by kubicle on: Sep 1 2010
 
Score 50%

Thanks for reporting, will fix in the next release.


Reply to this

-

 Re: Re: missing icon

 
 by kubicle on: Sep 1 2010
 
Score 50%

Should be fixed in 2.4.11


Reply to this

-
.

 Unknown option ?

 
 by srog on: Sep 14 2010
 
Score 50%

Hi !

(KDE 4.4.2, does the KDE version matter ?)

Here the Root Actions 2.5.90 copy/move/rename is dying with the:

kde-cp: Unknown option 'overwrite'.
kde-cp: Use --help to get a list of available command line options.
Died at /usr/local/bin/rootactions-servicemenu.pl line 854.

and

kde-mv: Unknown option 'overwrite'.
kde-mv: Use --help to get a list of available command line options.
Died at /usr/local/bin/rootactions-servicemenu.pl line 854.

Do you need more information ?


Reply to this

-

 Re: Unknown option ?

 
 by kubicle on: Sep 14 2010
 
Score 50%

Thanks for reporting Rog,

Works ok in KDE SC 4.5, so it's probably a new option that's isn't available in 4.4...you can check whether it's listed on "kde-cp --help" in 4.4 (it probably isn't).

I'll remove the option for now (in the next release)...or make a check for the KDE version.


Reply to this

-
.

 Re: Unknown option ?

 
 by srog on: Sep 14 2010
 
Score 50%

This seems to be a KDE 4.4 vs KDE 4.5

KDE 4.4, kde-cp --help:

Options:
--noninteractive Non-interactive use: no message boxes


KDE 4.5, kde-cp --help:

Options:
--noninteractive Non-interactive use: no message boxes
--overwrite Overwrite destination if it exists (for copy and move)


Reply to this

-

 Add Compress sub-menu?

 
 by snowhog on: Dec 26 2010
 
Score 50%

Would you concider adding the Compress menu into Root Actions? It's the one thing that I can't do from Root Actions - create an archive 'as root' while in a root owned directory.


It takes less time to take the time to do it right the first time, than it does to fix it the second time.
Reply to this

-

 Re: Add Compress sub-menu?

 
 by kubicle on: Dec 31 2010
 
Score 50%

Thanks for the suggestion.

I think that due to the number of compression formats and options compression tasks are better handled with a dedicated (backup) application rather than a quick task from a menu, but I'll consider adding a compress option to the menu if I can think of an elegant way of putting it in without overcomplicating the menu.

I could, for example, choose "sane" defaults for compression, and let advanced users modify the format/options.

I won't make promises, but I'll certainly look into it.


Reply to this

-

 Re: Re: Add Compress sub-menu?

 
 by kubicle on: Dec 31 2010
 
Score 50%

On closer inspection, I'll likely use ark for this.

This would add ark as a dependancy, but the ark compression dialog should handle different formats and file naming nicely.


Reply to this

-

 Re: Re: Re: Add Compress sub-menu?

 
 by kubicle on: Dec 31 2010
 
Score 50%

"Compress" menu option uploaded for testing (version 2.6.90)


Reply to this

-

 Re: Re: Re: Re: Add Compress sub-menu?

 
 by snowhog on: Jan 2 2011
 
Score 50%

Thank you. This adds to the incredible usefulness of this servicemenu. Utilizing Ark in the Compress option was what I had in mind.


It takes less time to take the time to do it right the first time, than it does to fix it the second time.
Reply to this

goto page: prev   1  2  3  4  5  6  7  8  9  10  11  12 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team