You are not logged in.

1

Tuesday, April 26th 2005, 2:26pm

kdesktop_custom_menu1

Hello

I'm using redhat 72 and kde 2.2-10

I'va configured my desktop in that way that a right mouse click will show Custom Menu1.

I expanded 'kdesktop_custom_menu1' with a few new entries.
These new entries are not to be seen in the custom menu showed by clicking the right mouas button.

Any ideas ?

the original 'kdesktop_custom_menu1'
NrOfItems=1
Item1=konsole

My new 'kdesktop_custom_menu1':
NrOfItems=4
Item1=newterm
Item2=newterm2
Item3=newterm3
Item4=konsole

( newtermx are scripts calling a xterm with certain settings)

( custom menu2, which opens by default a xterm, does not work either)

thanks in advance

hmoeckel

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Wednesday, April 27th 2005, 3:19pm

Can you check your local .kde directory if it contains a file with the same name that coud potentiall override the one you created?

Cheers,
_
Qt/KDE Developer
Debian User

3

Thursday, April 28th 2005, 8:57am

Thanks for your reply

I added a file 'kdesktop_custom_menu1' in the local .kde , but it contains the same entries. ( My first idea was to overwrite the gloabl file with my local file. )

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Friday, April 29th 2005, 2:47pm

I think both should work, i.e. only overwriting the global one.

Perhaps the script you are calling isn't seen in the environment KDE runs in and the menu loader discards all those items.

Cheers,
_
Qt/KDE Developer
Debian User

5

Monday, May 2nd 2005, 10:23am

Thanks for your reply

what do you mean by
"the script you are calling isn't seen in the environment KDE runs in" ?

I located the script in '/usr/local/bin' which is part of $PATH.
Now I put in the same directory ( /usr/bin ) as 'konsole'. It still doesn't worrk.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

6

Monday, May 2nd 2005, 2:01pm

Quoted

Originally posted by hmoeckel
what do you mean by
"the script you are calling isn't seen in the environment KDE runs in" ?

Sometimes a script works in Konsole, i.e. a normal shell but not from KDE, because KDE itself has a different environment, the one present when startkde ran.

Quoted


I located the script in '/usr/local/bin' which is part of $PATH.
Now I put in the same directory ( /usr/bin ) as 'konsole'. It still doesn't worrk.


Strange.

Cheers,
_
Qt/KDE Developer
Debian User