OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: bam on August 03, 2005, 07:16:37 am
-
anyone got this to work, I get select and switch...no problem but this custom menu seems to be eluding me.
-
What do you want to do?
Here is an example from my setup
in the extensions section of keyhelper.xml make sure you have something like
To have a key mapped to the menu button, this exapmle is the Mail key
Then in keyhelper.conf, have a menu section that looks like this
[Menu]
01_M = Network/kopiemail
02_KeyHelper.xml(&X) = Accessories/zeditor /home/zaurus/Settings/keyhelper.xml
03_KeyHelper.conf(&C) = Accessories/zeditor /home/zaurus/Settings/keyhelper.conf
04_KH_reload(&R) = @qcop QPE/KeyHelper reload()
The numbers are the order of the menu items, the text that comes between _ and the = sign is what is show on the menu, the &+letter makes that letter on the physical keyboard a shortcut for that menu entry.
Anything that comes after the = sign is the command for that menu. As the example hopefully shows you need to add the folder in /home/QtPalmtop/apps/ that the application lives. ie kopiemail lives under the Network tab so it needs Network/kopiemail, while zeditor lives in the Accessories tab.
Any text after the command are used as arguments for the command, so the 2nd entry opens the keyhelper.xml file in zeditor.
The final entry shows how to use qcop command in menu (in this case I could as easily used khctl reload). If you want an entry to restart qtopia you would add something like
05_Restart = @qcop QPE/System restart()
The entries in the menu will have the icon of the app that normal shows in the taskbar when the app is running.
Let me know if any of this is not clear
Stu
-
OOPS, forgot to mention that Cancel will close the menu if you open it up accidently.
Also unlike keyhelper.xml, you don't have to reload keyhelper to see the changes, it appears that keyhelper parses the keyhelper.conf file everytime you press the key mapped to "menu"
Stu
-
yea I wanted Fn+Menu(F11) to open KH(Menu) but cant seem to get it to work.
-
yea I wanted Fn+Menu(F11) to open KH(Menu) but cant seem to get it to work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=90639\"][{POST_SNAPBACK}][/a][/div]
Ahh, I'm not sure you can have FN+Menu as the menu key. I'll have to have a look through the stuff I have on keyhelper and see if I can get it to work
Stu
-
I have tried multiple different key, no joy, but select and switch works....
I have added the [Menu] and 01_balh=blah to the conf then assigned the key under extentions to "menu" and still no go.....I must be doing something wrong, dunno what yet though, btw I was tring to use the 4th key over from the Fn key.
-
I can't get FN key to work with any of "special" keys (menu, home etc) but I can get Shift or Ctrl or Alt to work with them. Just add <modifier Shift="On"/> replacing Shift with Ctrl or Alt as necessary.
If you want to post or attach your keyhelper.xml or keyhelper.conf I'll try them out on my machine and see if I can work out what is missing.
Stu
-
ok partailly solved, I got the qcop command to actually work, so quick question the Applications/[program], the "applications" is actually the tab correct? and the program is the program under that tab?
Edit: A: yes it is, well I'm off and running, finally. Thanks Stu for all the help , now to tackle all those 20XX codes, ive got like 5 already, is there a master list compiled already?
-
Thanks Stu for all the help , now to tackle all those 20XX codes, ive got like 5 already, is there a master list compiled already?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=90774\"][{POST_SNAPBACK}][/a][/div]
Glad I can help.
AFAIK there is no list of the 20xx codes (FN+<key> combo for those wondering) but we could probably start one in the how-to wiki
Stu
-
I will post the codes I have so far, thenothers can add as we go.
-
now to tackle all those 20XX codes, ive got like 5 already, is there a master list compiled already?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=90774\")
AFAIK there is no list of the 20xx codes (FN+<key> combo for those wondering) but we could probably start one in the how-to wiki
[div align=\"right\"][a href=\"index.php?act=findpost&pid=90810\"][{POST_SNAPBACK}][/a][/div]
I made an ascii-art table of all the key combinations for the 860, but the code formatting is broken on this board (doesn't preserve whitespace), and text files can't be uploaded to the wiki ([a href=\"https://www.oesf.org/forums/index.php?showtopic=6926&view=findpost&p=64847]see earlier post[/url]). I'll try attaching it here:
-
I think we have a good start, I will see if the codes hold true for the 3100, my guess is yes, but I will check anyways, thanks bro!
-
back t the list dealie with KH, I will make a small tutorial on submenus, its way cool, all the other nfo I found wasnt in english, bad for those who are "Japanese Challenged", like myself