Active Topics

 


Reply
Thread Tools
Posts: 145 | Thanked: 32 times | Joined on Dec 2007
#1
As the subject says, if I try to add a menu item
(to do the right click thing for example) the
new item is not saved. The menu reverts to
the the original structure. This happens both
if I edit the menu as root or user ...

any advice welcome ...
 
PinCushionQueen's Avatar
Posts: 538 | Thanked: 168 times | Joined on Dec 2007 @ Seattle
#2
Originally Posted by albright View Post
As the subject says, if I try to add a menu item
(to do the right click thing for example) the
new item is not saved. The menu reverts to
the the original structure. This happens both
if I edit the menu as root or user ...

any advice welcome ...
This is something borken in Menu Editor. I just posted the same issue in another thread. For now I've just made shortcuts/link to the desktop instead - it will work there. Don't know why, Menu Editor allows you to set up the link, says it's saving successfully and then NOTHING.

On a side note, I'm not sure I would add the "Right-click" script to a desktop or menu item, it pretty much needs to be assigned to a button because it's written as a sort of "toggle" so if you assigned it to a menu/desktop item then you could activate it to change from Left click to Right click but it would be nearly impossible to make it change back from Right click to Left click because you would need a Left click to run the script.
__________________
When you wish upon a star, your dreams really can come true... Unless it's an asteroid hurtling towards earth that will destroy all life.
 
Posts: 145 | Thanked: 32 times | Joined on Dec 2007
#3
thanks for the quick reply (and sanity check);

I thought you needed the menu item in place in order
to assign it to a button (command shortcut). Is there
another way?
 
Posts: 145 | Thanked: 32 times | Joined on Dec 2007
#4
oops - never mind; I figured how to add an
"input action" ...
 
PinCushionQueen's Avatar
Posts: 538 | Thanked: 168 times | Joined on Dec 2007 @ Seattle
#5
Originally Posted by albright View Post
oops - never mind; I figured how to add an
"input action" ...
If you can get it to work please let me know what you did. I can't get the right click script key assignment to work by "Input Actions" either The script will run from xterm successfully though. I can't figure out exactly what Penquinbait did.
__________________
When you wish upon a star, your dreams really can come true... Unless it's an asteroid hurtling towards earth that will destroy all life.
 
Posts: 145 | Thanked: 32 times | Joined on Dec 2007
#6
about input actions;

first, my script looks like this:

Code:
#!/bin/sh
export CHANGE=`/usr/bin/xmodmap -pp | awk '{print $2}' | tail -n 33 | head -n 1`
 if test 3 = $CHANGE
 then
 /usr/bin/xmodmap -e "pointer = 1 2 3"
 else
 /usr/bin/xmodmap -e "pointer = 3 2 1"
 fi
I think the first line is important for running outside of
terminal (but I might be wrong).

Then I just went to kcontrol-regional&accessibility-
input actions; went to preset actions and pushed
the "new action" button and selected as "action
type" the "keyboard shortcut -> Command/URL"
option. The entered the script location and selected
the shortcut key at the appropriate places ...
 
PinCushionQueen's Avatar
Posts: 538 | Thanked: 168 times | Joined on Dec 2007 @ Seattle
#7
Originally Posted by albright View Post
about input actions;

first, my script looks like this:

Code:
#!/bin/sh
export CHANGE=`/usr/bin/xmodmap -pp | awk '{print $2}' | tail -n 33 | head -n 1`
 if test 3 = $CHANGE
 then
 /usr/bin/xmodmap -e "pointer = 1 2 3"
 else
 /usr/bin/xmodmap -e "pointer = 3 2 1"
 fi
I think the first line is important for running outside of
terminal (but I might be wrong).

Then I just went to kcontrol-regional&accessibility-
input actions; went to preset actions and pushed
the "new action" button and selected as "action
type" the "keyboard shortcut -> Command/URL"
option. The entered the script location and selected
the shortcut key at the appropriate places ...
Hmmm... that's exactly what I was doing before and it wouldn't work - now I try it again today and all of the sudden it works! Go figure Thanks for the reality check so at least I knew to try it again
__________________
When you wish upon a star, your dreams really can come true... Unless it's an asteroid hurtling towards earth that will destroy all life.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#8
Originally Posted by PinCushionQueen View Post
If you can get it to work please let me know what you did. I can't get the right click script key assignment to work by "Input Actions" either The script will run from xterm successfully though. I can't figure out exactly what Penquinbait did.

I did not use the menu editor, I created a .desktop file in

/usr/local/kde/share/applnk/Utilities


Then I set a shortcut to it

~~~~~~~~~~~~~~~~~~
PROBLEM

I think I have permissions problems on

/usr/local/kde/share/applnk/


Can do this to fix menus

chown -R user.users /usr/local/kde/share/applnk/

Let me know if this fixes it for you?
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Posts: 145 | Thanked: 32 times | Joined on Dec 2007
#9
Can do this to fix menus

chown -R user.users /usr/local/kde/share/applnk/

Let me know if this fixes it for you?
not for me - changes still do not get saved
 
PinCushionQueen's Avatar
Posts: 538 | Thanked: 168 times | Joined on Dec 2007 @ Seattle
#10
Doesn't fix it for me either... Thanx for trying
 
Reply

Tags
deprecated, kde, kde35


 
Forum Jump


All times are GMT. The time now is 09:02.