[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

konsole from script errors



I've got a simple script to start KDE konsole with a specific geometry:

  /usr/bin/konsole --geometry $coordinates &

The value for 'coordinates' is either passed in via an argument or set set to a default value:  671x504+0-0

I just used this script to start a konsole session from a session started using Panel->Terminal Sessions->Shell.  With the ampersand backgrounding the konsole process, the invoking shell exits and the konsole process attaches to init:

  bob 2586 1 0 08:24 ... /usr/bin/konsole --geometry 671x504+0-0

This works OK but after the initial execution only, and in the konsole window from which I ran the script, I got these errors, once, so far:

konsole: WARNING: Unable to use /usr/share/apps/konsole/screen.desktop
konsole: WARNING: Unable to use /usr/share/apps/konsole/mc.desktop
konsole: WARNING: Unable to use /usr/share/apps/konsole/sumc.desktop

The files exist, are readable:

-rw-r--r-- 1 root root 3876 2006-10-01 10:32 mc.desktop
-rw-r--r-- 1 root root 4737 2006-10-01 10:32 screen.desktop
-rw-r--r-- 1 root root 6427 2006-10-01 10:32 sumc.desktop

and have content:

screen.desktop: UTF-8 Unicode text
mc.desktop:     UTF-8 Unicode text
sumc.desktop:   UTF-8 Unicode text

Any ideas why they can't be "use"d?

Bob



Reply to: