Author Topic: Firefox And Xfce4 Keymapping Questions  (Read 12650 times)

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #15 on: September 11, 2006, 10:52:33 pm »
Quote
Quote
I am particulary interested in getting the menu key working and the brightness keys.  In one of the posts on the finetuning xfce topic it does mention using the settings app to map custom commands but I have not been able to find how that works.  When I go into the Windows Manager settings/keyboard I cannot see how to add any new shortcuts.
I presume this is still the area you're having trouble with. Note that it doesn't let you change the default settings (you have to add an entry in the list at left). Then just choose a command shortcut in the bottom box and start pressing buttons. Chero has written a good howto somewhere...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141146\"][{POST_SNAPBACK}][/a][/div]

Okay - this is starting to make sense, just  

The problem is that I do not seem to be able to "chose a command shortcut".  Well that is not quite true.  If I click on one that says "none" a box comes up but I am not sure what to type in in it.  clicking on keys does not seem to do anything.

I then tried to manually edit the keytheme file as suggested by ntrolls[/b], putting in the values listed, but it does not seem to have any effect, although they do now show up in the bottom window of the settings window.

Also wondering where I would find the command to add to bring up the xfce menu
and just how you define the zoom in/out keys using xrandr.

Boy, I must be a Newbie!!!!!

Confused.......
« Last Edit: September 11, 2006, 11:03:01 pm by uMP2k »
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #16 on: September 11, 2006, 11:04:16 pm »
Quote
Quote
Quote
I am particulary interested in getting the menu key working and the brightness keys.  In one of the posts on the finetuning xfce topic it does mention using the settings app to map custom commands but I have not been able to find how that works.  When I go into the Windows Manager settings/keyboard I cannot see how to add any new shortcuts.
I presume this is still the area you're having trouble with. Note that it doesn't let you change the default settings (you have to add an entry in the list at left). Then just choose a command shortcut in the bottom box and start pressing buttons. Chero has written a good howto somewhere...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141146\"][{POST_SNAPBACK}][/a][/div]
The problem is that I do not seem to be able to "chose a command shortcut".  Well that is not quite true.  If I click on one that says "none" a box comes up but I am not sure what to type in in it.  clicking on keys does not seem to do anything.
The first box that comes up asks for a command  (e.g. '/sbin/setfl +' to increase brightness), then click OK, then then next box is where you press the button you want to trigger that command.

The second bit is where it gets tricky - if xfce recognises the button, it'll save the shortcut and all is well. If not, it won't do anything and you have to delve deeper into key mappings etc because X isn't responding to the buttons at all.
SL6000-L, RC12

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #17 on: September 11, 2006, 11:07:44 pm »
Quote
Quote
Quote
Quote
I am particulary interested in getting the menu key working and the brightness keys.  In one of the posts on the finetuning xfce topic it does mention using the settings app to map custom commands but I have not been able to find how that works.  When I go into the Windows Manager settings/keyboard I cannot see how to add any new shortcuts.
I presume this is still the area you're having trouble with. Note that it doesn't let you change the default settings (you have to add an entry in the list at left). Then just choose a command shortcut in the bottom box and start pressing buttons. Chero has written a good howto somewhere...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141146\"][{POST_SNAPBACK}][/a][/div]
The problem is that I do not seem to be able to "chose a command shortcut".  Well that is not quite true.  If I click on one that says "none" a box comes up but I am not sure what to type in in it.  clicking on keys does not seem to do anything.
The first box that comes up asks for a command  (e.g. '/sbin/setfl +' to increase brightness), then click OK, then then next box is where you press the button you want to trigger that command.

The second bit is where it gets tricky - if xfce recognises the button, it'll save the shortcut and all is well. If not, it won't do anything and you have to delve deeper into key mappings etc because X isn't responding to the buttons at all.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141173\"][{POST_SNAPBACK}][/a][/div]

AHHH - a (dim!) light starts to dawn.

So maybe it will work if I set the shortcut to, say the Alt or super key + 3 for example.  I will try this and also, maybe, try "uncommenting" the section mentioned by ntrolls in akita.xmodmap and see if that gets the function keys recognised.

Wish me luck!
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #18 on: September 11, 2006, 11:15:30 pm »
Yahhhhh - success!  

No need to uncomment the section in akita.xmodmap.  I just defined the keys in the settings window using the number three and then went in and modified the themes file - and it works!
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

ntrolls

  • Newbie
  • *
  • Posts: 22
    • View Profile
Firefox And Xfce4 Keymapping Questions
« Reply #19 on: September 12, 2006, 05:50:47 am »
Weird - mine stopped working; or rather, I thought it was working 2am last night, but it is not now   uMP2K, can you confirm your results? Can you get the normal behavior from "3" and the shortcut from "Fn+3"?
SL-C1000/pdaXii13

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #20 on: September 12, 2006, 10:43:00 am »
Quote
Weird - mine stopped working; or rather, I thought it was working 2am last night, but it is not now   uMP2K, can you confirm your results? Can you get the normal behavior from "3" and the shortcut from "Fn+3"?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141205\"][{POST_SNAPBACK}][/a][/div]

I actually just buggered up my install of xfce4 (not sure how - but when I tried to add xfcepanel menu it kills the panel) so I will have to uninstall everything and start again - but I will let you know how it goes with the keymapping this time round.
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #21 on: September 13, 2006, 04:37:49 am »
Arggggghhhh - this is doing my head in!

Just when I thought I was getting things sorted out I seem to have created an unholy mess.  Now I do not seem to be able to get xfce4 (either the original version or beta2) running on my system despite starting with a clean pdaXrom beta3 install and using the same ipks as i used before (at least I think they are the same ones!).

When I install the old beta of xfce4 it and the menu ipks it does not show up on the panel and if I try to add it it kills the panel.  I have loaded all the librarys etc that are mentioned at the start of the finetuning xfce thread but still no go.  I can only guess that i am installing something wrong or have a dud file.  Can anybody tell me where I can get the "definitive" xfce4 ipks as there seems to be a number of different versions of them floating about in the feeds.
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

ntrolls

  • Newbie
  • *
  • Posts: 22
    • View Profile
Firefox And Xfce4 Keymapping Questions
« Reply #22 on: September 13, 2006, 06:59:46 pm »
Ironically, my installation of xfce4 just went through similar misfortune. I decided to give up the Fn key, allocated the brightness control to Alt+3/4, then configured all the menu icons last night. Then suddenly the panel crashed with segmentation fault - after that, it just won't load with the menu plugin.

I came back to matchbox+ROX combination after that. Although I very much liked what I saw in xfce4, I cannot spend all my time tweaking the windows manager... With all due repect to Chero and other people who have been trying hard, I guess I will try again when it's a bit more stable

ps. uMP2K, bet you hadn't problems like this with the good ol' MP2K, right? I miss my green machine too...
« Last Edit: September 13, 2006, 07:00:34 pm by ntrolls »
SL-C1000/pdaXii13

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #23 on: September 13, 2006, 09:03:23 pm »
Quote
Ironically, my installation of xfce4 just went through similar misfortune. I decided to give up the Fn key, allocated the brightness control to Alt+3/4, then configured all the menu icons last night. Then suddenly the panel crashed with segmentation fault - after that, it just won't load with the menu plugin.

I came back to matchbox+ROX combination after that. Although I very much liked what I saw in xfce4, I cannot spend all my time tweaking the windows manager... With all due repect to Chero and other people who have been trying hard, I guess I will try again when it's a bit more stable [div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Pretty much mirros my sentiments.  I finally managed to get my panel back after installing the xfce4_local ipk, and got the xfce4 menu installed (I think it was that way round!), but then I tried to install the panel menu plugin and have not managed to get it back again.

It is a real pity because it looks sooooo much better than matchbox.

BTW - I did seem to get the fn key working consistently by editing the themes file but as the rest of the panel died I am not sure if it was really a permenant fix.


Quote
ps. uMP2K, bet you hadn't problems like this with the good ol' MP2K, right? I miss my green machine too...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141351\"][{POST_SNAPBACK}][/a][/div]

Ahhhh - the Newton OS, now there was an operating system way ahead of its time.  My uMP2k still gets dragged out every now and then just so I can play with the Newton HRW, which, even ten years on, I have never found the equal to.

Actually there is a project to port the Newton OS to the Zaurus, and other arm based pdas, called the [a href=\"http://www.kallisys.com/newton/einstein/] Newton Einstien project [/url].  It looks pretty serious and fairly well advanced.  Pity they seem to be concentrating on the sl-5500 and the Nokia 770 at the moment.  I would love to see this run on my C1000!
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #24 on: September 13, 2006, 09:04:54 pm »
Quote
Ironically, my installation of xfce4 just went through similar misfortune. I decided to give up the Fn key, allocated the brightness control to Alt+3/4, then configured all the menu icons last night. Then suddenly the panel crashed with segmentation fault - after that, it just won't load with the menu plugin.

I came back to matchbox+ROX combination after that. Although I very much liked what I saw in xfce4, I cannot spend all my time tweaking the windows manager... With all due repect to Chero and other people who have been trying hard, I guess I will try again when it's a bit more stable

ps. uMP2K, bet you hadn't problems like this with the good ol' MP2K, right? I miss my green machine too...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141351\"][{POST_SNAPBACK}][/a][/div]
For what it's worth, only the panel has ever given me any problems in xfce, and I solved that problem by not using it (use fbpanel instead, and the right-click xfce menu still works fine too). Never any issues with key mapping or anything like that...
SL6000-L, RC12

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #25 on: September 13, 2006, 09:20:34 pm »
Quote
For what it's worth, only the panel has ever given me any problems in xfce, and I solved that problem by not using it (use fbpanel instead, and the right-click xfce menu still works fine too). Never any issues with key mapping or anything like that...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141361\"][{POST_SNAPBACK}][/a][/div]

Interesting idea, I will have to give it a try.

Thanks
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

ntrolls

  • Newbie
  • *
  • Posts: 22
    • View Profile
Firefox And Xfce4 Keymapping Questions
« Reply #26 on: September 15, 2006, 05:11:57 pm »
Quote
Actually there is a project to port the Newton OS to the Zaurus, and other arm based pdas, called the Newton Einstien project .  It looks pretty serious and fairly well advanced.  Pity they seem to be concentrating on the sl-5500 and the Nokia 770 at the moment.  I would love to see this run on my C1000!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141360\"][{POST_SNAPBACK}][/a][/div]

Now, you may laugh, but one of the reasons I decided to finally get a Zaurus was the Einstein project. NewtonOS in a new body! One day I will try installing the thing on my C1K. One day...
SL-C1000/pdaXii13

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #27 on: September 15, 2006, 07:35:17 pm »
Quote
Quote
Actually there is a project to port the Newton OS to the Zaurus, and other arm based pdas, called the Newton Einstien project .  It looks pretty serious and fairly well advanced.  Pity they seem to be concentrating on the sl-5500 and the Nokia 770 at the moment.  I would love to see this run on my C1000!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141360\"][{POST_SNAPBACK}][/a][/div]

Now, you may laugh, but one of the reasons I decided to finally get a Zaurus was the Einstein project. NewtonOS in a new body! One day I will try installing the thing on my C1K. One day...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141515\"][{POST_SNAPBACK}][/a][/div]

Why would I laugh, that is one of the main reasons I got my C1K as well  

Since my Newton, I have been in the PocketPC camp (still have an axim as well) and each version of the OS is getting better, but I still hanker after the Newton OS.  I have never found anything as intuitive or well integrated!  And don't get me started on the handwritting recognition.....!
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #28 on: September 17, 2006, 09:43:55 pm »
Well despite what I said above, I just could not keep away from xfce4!

I managed to get all the plugins working and have it pretty well set up how I want it.  

No luck however with the keymapping, I have managed to allocate Fn+(other key) commands by a combination of the the windows manger settings and manually editing the keythemes file.  Unfortunately, the settings do not seem to survive restarting xfce4.  Maybe this can be fixed somewhere in the .xinitric.xfce4 file, but I am too much of a newbie to have a clue where to start!

It is a pity that the default mapping for window commands are all desktop orientated (using desktop Fn key commands), I have not yet been bothered going in and changing all of them yet.
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Firefox And Xfce4 Keymapping Questions
« Reply #29 on: September 18, 2006, 12:13:35 am »
Quote
No luck however with the keymapping, I have managed to allocate Fn+(other key) commands by a combination of the the windows manger settings and manually editing the keythemes file.  Unfortunately, the settings do not seem to survive restarting xfce4.  Maybe this can be fixed somewhere in the .xinitric.xfce4 file, but I am too much of a newbie to have a clue where to start!
The xinitrc file is just another script - insert a line that calls one of your own to make the changes required (e.g. copy in the correct keythemes file). Put it somewhere near the end so it runs after xfce is loaded.
SL6000-L, RC12