Open Terminal Here As Root

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

Open a Terminal in the current Directory As Root.
Have a lot of Fun with it.

floeschie

14 years ago

Hi,


this is the version for all those Kubuntu and "sudoers" out there:

--->8---

[Desktop Entry]
ServiceTypes=inode/directory
Actions=OpenTerminalHereAsRoot
X-KDE-AuthorizeAction=shell_access

[Desktop Action OpenTerminalHereAsRoot]
Name=Open Terminal Here as Root
Name[de]=Root-Terminal öffnen
Icon=konsole
Exec=konsole --workdir %U -e sudo su


--->8---

Report

jboismartel

14 years ago

Hi,

Thanks for your service menu. It's great. Do you know how we could have the same for remote host ? Let's say, I'm browsing a directory /my/dir on remote (with Konqueror and fish) and I would like to open a terminal window (ssh) on that host in /my/dir. I looked at your menu, konsole options, and ssh option but I cannot find an answer. Thanks.

Report

waydaws

15 years ago

This is what I wanted a number of times.

Great work!

Now if someone would only give me the functionality to do a sudo or su from the kicker or Konquerer, I'd have everything :)

Wayne

Report

C

ibiibioha

15 years ago

When you mean that you click to an Icon in your kicker an an konsole-windows open and ask you about the root-password to login?
Then you copy an normal konsole-icon, click with the right mouse-button on it, click on properties, go in the opening windows to programs (the third tab) and change in field command the entry from "konsole" to "konsole -e su". I hope it is what you looking for.
(by faults -> sorry -> translated with dict.leo.org when writing)

Report

waydaws

15 years ago

Thanks, but that is not quite what I wanted. I want to be able to do it directly from the kicker panel too.

Sort of like Microsoft's "run as" command. You can do it from their Start Menu. At least for the applications that need the functionality to run as Administrator when you're logged in with you're non-priveledged user account.

I'd like to be able to open the kicker, select an application with a right or middle click, and have a menu that pops up and says "Launch as..." and it would bring up a sudo dialog, and then launch the applicaiton.

Wayne

Report

moppedboy

15 years ago

Thank you, I've always missed that but didn't know how to do it myself.

Cheerz Lars

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.1
updated Dec 31 2004
added Dec 31 2004
downloads 24h
1
mediaviews 24h 0
pageviews 24h 5
System Tags addon