-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


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

Root Actions Servicemenu

   2.8.2  

KDE Service Menu

Score 89%
Root Actions Servicemenu
zoom


Root Actions Servicemenu
zoom


Root Actions Servicemenu
zoom


Link:  http://
Downloads:  31530
Submitted:  Nov 8 2006
Updated:  Aug 22 2014

Description:

Version: 2.8.2

****
- You need to have "ruby" installed for Automatic installation to work
****

***NOTES***
- From version 2.8 onwards, Root Actions only supports KDE4...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

*************

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)
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. (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.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  Apps  from kubicle
Report inappropriate content



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

-

 error

 
 by ricnar456 on: Aug 10 2008
 
Score 50%

Could not find the program 'rootactions-servicemenu.pl'

how solve this i use dolphin in kde4.1?

ricnar


Reply to this

-

 Re: error

 
 by kubicle on: Aug 10 2008
 
Score 50%

Did you copy the 'rootactions-servicemenu.pl' script to one of the executable directories in your $PATH (/usr/bin or /usr/local/bin are common valid choices)?

You can check your $PATH directories with the command:
echo $PATH


Reply to this

-

 Re: Re: error

 
 by ricnar456 on: Aug 10 2008
 
Score 50%

thanks works now.

ricnar


Reply to this

-

 Not working?

 
 by snowhog on: Oct 20 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

What I've done:
1. As root, copy ~/Root_Actions_2.4/rootactions-servicemenu.pl to /usr/bin
(file is marked as executable)
2. Copy ~/Root_Actions_2.4/dolphin-KDE4/* to ~/.kde4/share/kde4/services/ServiceMenus
3. Edit ~/.kde4/share/kde4/services/ServiceMenus/10-rootactionsfolders.desktop and replace 'dolphin' with 'konqueror'
4. Restart KDE

In a 'root' directory (/boot/grub) I can right-click on a file (menu.lst) and I have the Root Actions menu item, and within it:
Open as text
Open with ...
Copy
Move/Rename
Delete
Ownership to Root
Ownership to Active User
Ownership to ...
Change Permissions

But selecting Open as text does nothing.
What am I missing?


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: Not working?

 
 by kubicle on: Oct 20 2008
 
Score 50%

Hi Snowhog

A few questions:
1. Which version of kdesudo are you using?
(See known issues on top of this page)
2. Do other actions work as they should?
3. What kind of output/errors you get when the action is run from a terminal?:
"rootactions-servicemenu.pl open_with kate /boot/grub/menu.lst"


Reply to this

-

 Re: Re: Not working?

 
 by snowhog on: Oct 20 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Thank you for looking into this.

Adept Manager shows as installed:

kdesudo 2.5.1-0ubuntu3
kdesudo-kde4 3.0-0ubuntu1

From a console, the command results in a prompt (GUI) for my user password. After typing that in, the console returns:

sh: kate: not found

All other Root Actions function (just tested them).

My %PATH shows:

/usr/lib/kde4/bin:/usr/lib/kde4/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

sudo find / -mount -name kate results in:

/root/.kde4/share/apps/kate
/usr/lib/kde4/bin/kate
/usr/lib/kde4/share/doc/kde4/HTML/en/kate
/usr/lib/kde4/share/kde4/apps/kate


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: Re: Re: Not working?

 
 by snowhog on: Oct 20 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Oops. I meant to type:

"My $PATH shows:"


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: Re: Re: Re: Not working?

 
 by kubicle on: Oct 20 2008
 
Score 50%

Probably a binpath issue in the script (since it can't find kate in your kde4 installation path). I thought I had that issue 'fixed' with the latest changes, but apparently not..I'll take a look at it when I have spare time and a hardy machine to test it on (which may take a while :P)

In the mean time, as a workaround, try running with the absolute path to kate:
"rootactions-servicemenu.pl open_with /usr/lib/kde4/bin/kate /boot/grub/menu.lst"...and if that works you can change the command accordingly in the 11-rootactionsfiles.desktop file as well.

Also, this issue is probably specific to hardy (with it's dual KDE installations), so if you're planning on upgrading to intrepid that will fix it.


Reply to this

-

 Re: Re: Re: Re: Re: Not working?

 
 by snowhog on: Oct 20 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Okay, a 'blank' Kate window opens as:

Untitled - /USR/LIB/KDE4/BIN/KATE OPENED AS ROOT

Console output shows:

paul@laptop:~$ rootactions-servicemenu.pl open_with /usr/lib/kde4/bin/kate /boot/grub/menu.lst

kate(9605): createDoc
kate(9605) KateSessionManager::KateSessionManager: LOCAL SESSION DIR: "/root/.kde4/share/apps/kate/sessions"
kate(9605) KateApp::initKate: Setting KATE_PID: ' 9605 '
kate(9605) KateViewDocumentProxyModel::updateBackgrounds: false
kate(9605) KateMainWindow::KateMainWindow: **************************************************************************** 0x8280bf0
kate(9605) KateViewDocumentProxyModel::updateBackgrounds: false
kate(9605) KateViewDocumentProxyModel::updateBackgrounds: false
kate(9605) KateDocManager::slotDocumentNameChanged: docname changed: "Untitled" -----> "Untitled"
kate(9605) KMimeTypeFactory::parseMagic: Now parsing "/usr/share/mime/magic"
kate(9605) KateDocManager::slotDocumentNameChanged: docname changed: "Untitled" -----> "menu.lst"
kate(9605) KateViewDocumentProxyModel::updateBackgrounds: false
kate(9605) KateApp::startupKate: KateApplication::init finished successful
QDBusConnection received a message of type 3 that it shouldn't have
error: "org.freedesktop.DBus.Error.ServiceUnknown" "The name org.kde.kded was not provided by any .service files"
kate(9605) KToolInvocation::klauncher: klauncher not running... launching kdeinit
kdeinit4: preparing to launch /usr/lib/kde4/lib/kde4/libexec/klauncher
kdeinit4: Launched KLauncher, pid = 9614 result = 0
kdeinit4: opened connection to :0.0
kdeinit4: preparing to launch /usr/lib/kde4/bin/kded4
kdeinit4: Launched KDED, pid = 9616 result = 0
kdeinit4: Got EXT_EXEC '/usr/lib/kde4/bin/kbuildsycoca4' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/bin/kbuildsycoca4
kbuildsycoca4 running...
kbuildsycoca4(9620) kdemain: Reusing existing ksycoca
kbuildsycoca4(9620) KBuildMimeTypeFactory::createEntry: Missing <comment> field in "/usr/share/mime/application/x-vmware-team.xml"
kbuildsycoca4(9620) KBuildMimeTypeFactory::createEntry: Missing <comment> field in "/usr/share/mime/application/x-vmware-vmdisk.xml"
kbuildsycoca4(9620) KBuildMimeTypeFactory::createEntry: Missing <comment> fieldin "/usr/share/mime/application/x-mswinurl.xml"
kbuildsycoca4(9620) KBuildMimeTypeFactory::createEntry: Missing <comment> fieldin "/usr/share/mime/application/x-vmware-vm.xml"
kbuildsycoca4(9620) KBuildMimeTypeFactory::createEntry: Missing <comment> fieldin "/usr/share/mime/application/x-vmware-snapshot.xml"
kbuildsycoca4(9620) KBuildMimeTypeFactory::createEntry: Missing <comment> fieldin "/usr/share/mime/application/x-vmware-vmfoundry.xml"
kbuildsycoca4(9620) KBuildMimeTypeFactory::createEntry: Missing <comment> fieldin "/usr/share/mime/application/x-dbm.xml"
kbuildsycoca4(9620) KBuildMimeTypeFactory::createEntry: Missing <comment> fieldin "/usr/share/mime/text/x-ksysv-log.xml"
kbuildsycoca4(9620) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde/kontactdcop.desktop" is not compliant with XDG standard (missing trailing semicolon).
kdeinit4: PID 9620 terminated.
kdeinit4: Got EXEC_NEW 'kconf_update' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/lib/kde4/libexec/kconf_update
kdeinit4: PID 9623 terminated.
kdeinit4: PID 9616 terminated.
kdeinit4: Got EXEC_NEW 'kconf_update' from launcher.
kdeinit4: preparing to launch /usr/lib/kde4/lib/kde4/libexec/kconf_update
kdeinit4: PID 9624 terminated.

Ctrl+C terminates the process and the Kate window closes.


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: Re: Re: Re: Re: Re: Not working?

 
 by kubicle on: Oct 20 2008
 
Score 50%

The 'blank' window issue is fixed in kdesudo versions 3.3.x.



-

 Re: Not working?

 
 by snowhog on: Oct 20 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Well, kdesudo 3.3.x isn't what I have. And my HH KDE 4.1.2 system is 'up to date' making me ask, what is kdesudo 3.3.x packaged for?


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: Re: Not working?

 
 by kubicle on: Oct 21 2008
 
Score 50%

Unfortunately 3.3.x has not been backported hardy (kde4 ppa).

If upgrading to intrepid is not an option, your options seem to be:
1. make do without that action (the kdesudo bug may affect you in other ways too...like running kdesudo from krunner).
2. Compile the newest kdesudo version from source (available from kde-apps, for example)
Note: since you have KDE4 installed alongside KDE3, you'll probably need to cmake with "cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ." (to install in the right place)


Reply to this

-

 Re: Re: Re: Not working?

 
 by snowhog on: Oct 22 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Well, okay. I'm not ready (yet) to move to II, so I'll just accept that your excellent service menu isn't an option for me with HH KDE 4.1.2. To bad, but it isn't a show stopper.

Thank you very much.


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: Re: Re: Re: Not working?

 
 by snowhog on: Oct 27 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Okay. Downloaded kdesudo 3.3.1 source. Extracted, CD'd the folder and issued
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` and got:

The program 'cmake' is currently not installed. You can install it by typing:
sudo apt-get install cmake
bash: cmake: command not found

However, sudo find / -mount -name cmake shows:

/usr/lib/kde4/share/kde4/apps/cmake

One of the problems I appear to have, is that my paths aren't properly identified so as to 'see' all kde4 resources. I'd like to actually fix the path issue first.


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: Re: Re: Re: Re: Not working?

 
 by kubicle on: Oct 27 2008
 
Score 50%

"/usr/lib/kde4/share/kde4/apps/cmake" looks like the shared resource directory for cmake...not the executable.

Do you have 'cmake' package installed?


Reply to this

-

 Re: Re: Re: Re: Re: Re: Not working?

 
 by snowhog on: Oct 28 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Didn't have cmake installed, so did so. Then, within the ~/kdesudo-3.3.1 folder, issued the command:

cmake -DCMAKE_INSTALL_PREFIX='kde4-config --prefix'

and got:

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/paul/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done

What does the CMake Error mean? I'm assuming something isn't correct.


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: Re: Re: Re: Re: Re: Re: Not working?

 
 by kubicle on: Oct 28 2008
 
Score 50%

You need the devel libraries installed to compile, package 'kdelibs5-dev' and it's dependencies should do the trick.



-

 Re: Not working? kdelibs5-dev

 
 by snowhog on: Oct 28 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Okay, downloading and installing now. I'll post back after that's done and I've rerun the cmake command.

Thank you.


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

-

 kdelibs5-dev

 
 by snowhog on: Oct 28 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Okay, downloaded and installed. Running

cmake -DCMAKE_INSTALL_PREFIX='kde4-config --prefix'

now results in:

-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.4.1 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found Phonon: /usr/lib/kde4/lib/libphonon.so
-- Found Phonon Includes: /usr/lib/kde4/include/KDE;/usr/lib/kde4/include
-- Found KDE 4.1 include dir: /usr/lib/kde4/include
-- Found KDE 4.1 library dir: /usr/lib/kde4/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/lib/kde4/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Looking for include files HAVE_LIBINTL_H
-- Looking for include files HAVE_LIBINTL_H - found
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/paul/kdesudo-3.3.1

I see no 'ERROR' lines, so did all go as it was supposed to? I appreciate your assistance and feedback.


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: kdelibs5-dev

 
 by snowhog on: Oct 28 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

No joy in Mudville. :(

The Root Actions menu still doesn't have an Edit as Root, and the Open as Text does nothing.


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: Re: kdelibs5-dev

 
 by kubicle on: Oct 28 2008
 
Score 50%

After cmake, you need to run:
1. 'make'
2. 'sudo make install'
in the build directory (the same directory you ran cmake in) to actually install it.

You can also install 'checkinstall' and use 'sudo checkinstall -D' in place of 'sudo make install' to create a .deb package.


Reply to this

-

 Re: Re: Re: kdelibs5-dev

 
 by snowhog on: Nov 1 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Thank you. Okay, after 'make' and 'make install' this is the output:

Generating moc_kdesudo.cpp
Scanning dependencies of target kdesudo
[ 20%] Building CXX object kdesudo/CMakeFiles/kdesudo.dir/kdesudo_automoc.o
[ 40%] Building CXX object kdesudo/CMakeFiles/kdesudo.dir/main.o
[ 60%] Building CXX object kdesudo/CMakeFiles/kdesudo.dir/kdesudo.o
/home/paul/kdesudo-3.3.1/kdesudo/kdesudo.cpp: In member function ‘void KdeSudo::parseOutput()’:
/home/paul/kdesudo-3.3.1/kdesudo/kdesudo.cpp:323: warning: format not a string literal and no format arguments
[ 80%] Building CXX object kdesudo/CMakeFiles/kdesudo.dir/kcookie.o
Linking CXX executable kdesudo
[ 80%] Built target kdesudo
Scanning dependencies of target doc-handbook
[ 80%] Generating index.cache.bz2
[100%] Built target doc-handbook
root@laptop:/home/paul/kdesudo-3.3.1# sudo make install
[ 80%] Built target kdesudo
[100%] Built target doc-handbook
Install the project...
-- Install configuration: "Debugfull"
-- Installing: /home/paul/kdesudo-3.3.1/kde4-config --prefix/bin/kdesudo
-- Installing: /home/paul/kdesudo-3.3.1/kde4-config --prefix/share/doc/HTML/en/doc/index.cache.bz2
-- Installing: /home/paul/kdesudo-3.3.1/kde4-config --prefix/share/doc/HTML/en/doc/index.docbook

Nothing happens when selecting Root Actions > Open as Text or Open with ... (typing in kate) but I haven't restarted the system yet. Doing that now, and will comment on the results.


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

-

 Upgraded to 8.10

 
 by snowhog on: Nov 2 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Thank you for all the assistance. However, I decided to upgrade my HH 8.04 KDE 4.1.2 to II 8.10 KDE 4.1.2. I'm on it now.

Does/will your Root Actions Service Menu work under Intrepid Ibex running KDE 4.1.2?


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: Upgraded to 8.10

 
 by kubicle on: Nov 2 2008
 
Score 50%

Ibex has the newest kdesudo, so it'll work.

@your previous post:
I should have clarified this a bit more:
Quote:
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`

The (`)s are "backticks" not single quotation marks ('). The difference is that the output of `kde4-config --prefix` is substituted in place.

You used single quotation marks, which is why your installation attempt tries to:
Quote:
Installing: /home/paul/kdesudo-3.3.1/kde4-config --prefix/bin/kdesudo

instead of /actual/path/to/kde/bin/kdesudo


Reply to this

-

 Re: Re: Upgraded to 8.10

 
 by snowhog on: Nov 3 2008
 
Score 50%
snowhogsnowhog
none
Home
-
Paul L 40

none
United States of America, Wasilla
Last visit Jan 4 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

I've got the Root Actions working. I had to copy ~/Root_Actions_2.4/dolphin-KDE4/* to:

~/.kde/share/kde4/services/ServiceMenus

instead of to:

~/.kde4/share/kde4/services/ServiceMenus

While Intrepid Ibex is KDE 4 only, I have a .kde and a .kde4 directory.

I had upgraded to II from HH running KDE 4.1.2, which it self was upgraded from KDE 3.5.x.


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 

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

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

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.