You are not logged in.

#1 2010-01-29 03:25:56

Nullw0rm
Member
Registered: 2010-01-21
Posts: 16

[SOLVED] Create a shortcut?

I tried creating a launcher for various things that require the command line. Such as.. 'sudo opt/lampp/lampp start' and place it into the launcher. It doesn't work so I chmodded it to 755 and it runs!

But the problem is now it doesn't , all it does is freezes the whole system (XFCE and kernel..)

This works when I shortcut to things that require root, such as gftp / thunar on a root folder etc. Is it because it's launching a sudo command that it crashes?  sad

Last edited by Nullw0rm (2010-01-29 04:19:29)

Offline

#2 2010-01-29 03:28:03

hsa2
Member
From: Turkey
Registered: 2008-05-26
Posts: 46
Website

Re: [SOLVED] Create a shortcut?

May be if sudo command requires a password promt, and because there is no password entered system locks up? I think you should try 'gksudo' command owned by package 'gksu'.

Offline

#3 2010-01-29 03:35:16

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] Create a shortcut?

Try including a terminal so you can type your password in:

xterm -e "sudo opt/lampp/lampp start"

Offline

#4 2010-01-29 04:19:10

Nullw0rm
Member
Registered: 2010-01-21
Posts: 16

Re: [SOLVED] Create a shortcut?

anonymous_user wrote:

Try including a terminal so you can type your password in:

xterm -e "sudo opt/lampp/lampp start"

Yes it works, Thanks! Makes a lot more sense than running the command straight off..

Offline

Board footer

Powered by FluxBB