SOLVED Re: how to start a kde application via shell script

Sascha Güthling guethling at googlemail.com
Fri May 22 15:21:14 BST 2009


On Fri, May 22, 2009 at 9:18 AM, Antonio Augusto (Mancha)
<mkhaos7 at gmail.com> wrote:
>
> Sascha, coud you try the following in your script:
>
> #!/bin/sh
> DISPLAY=:0.0 /usr/bin/kate
>
>
> Also, you might night to run "xhost +" on your KDE session before
> running the above script, so the cron process can access it.
>
> Cheers
>

I tried it, it doesn't work neither with cron nor in a Konsole window.
In the Konsole window I get this error: export: 2: /usr/bin/kate: bad
variable name.
This is with or without running "xhost +".

Thanks
Sascha



More information about the kubuntu-users mailing list