Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

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? - Nov 01 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

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. - Nov 01 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

No joy in Mudville. :(

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

Dolphin Service Menus by kubicle 227 comments

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. - Oct 28 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

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

Thank you. - Oct 28 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

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. - Oct 27 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

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. - Oct 27 2008
Canyon descent 2

Wallpaper Other by zb123 9 comments

I just wanted to be sure that a copyright infringement wasn't happening. Happy to know that you are the photographer, and that you are willing to have this beautiful shot shared with the community. - Oct 21 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

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. - Oct 21 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

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? - Oct 20 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

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. - Oct 20 2008
Canyon descent 2

Wallpaper Other by zb123 9 comments

This is a very nice photo. Are you the photographer? I ask, as there is a copyright in the lower left of the image of a William C. Adams (as best I can make out). - Oct 20 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

Oops. I meant to type:

"My $PATH shows:" - Oct 20 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

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 - Oct 20 2008
Root Actions Servicemenu

Dolphin Service Menus by kubicle 227 comments

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? - Oct 19 2008
I'm pretty sure that M$ has a copyright on the look of Windows XP Professional, as well as most, if not all, of the icons used by Microsoft. - Jul 27 2008
Linux Blues KDM Login Theme Screenshot

KDE Plasma Screenshots by snowhog 2 comments

Thanks! I've found the imagery of some of your graphics just scream out to be made into KDM Login and KSplash Themes. So I've just had to comply. :) - Jul 07 2008
Snail Racing

Wallpaper Other by vladstudio 2 comments

Very nicely done! Whimsical, colorful, heck, just plain nice. - Jun 23 2008
Lightning

Wallpaper Other by voycieck 3 comments

Dark, but still a very nice background. - Jun 12 2008