maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] My Debian Tricks - N810 xmodmap (https://talk.maemo.org/showthread.php?t=21848)

fatalsaint 2008-07-17 22:55

Re: My Debian Tricks - N810 xmodmap
 
Quote:

Originally Posted by jhford (Post 204226)
I followed your instructions in #1, but the function key on my slide-down keyboard isn't usable.
Thanks

Try running the xmodmap manually..
ive noticed sometimes it doesnt load right ..

open a terminal in Icewm
Code:

cd
xmodmap .Xmodmap

im still working on a more consistant method.

qole 2008-07-17 23:25

Re: My Debian Tricks - N810 xmodmap
 
I can tell Benson still doesn't have his tablet set up right, yet. :D

Benson 2008-07-18 00:27

Re: My Debian Tricks - N810 xmodmap
 
Indeed. Too many distracting projects... But I was just going back to it, honest!

An enhancement I'm making (which I'll post once I've got it working; you may want to incorporate it, or not) allows easy swapping out of the relevant files in /etc for boot/chroot usage.

I'm actually gonna grab your .deb, rip its guts out and spill them all over my computer, and try to put together a reasonable hybrid. I'm liking the xephyrized method you've got going, at least as something to try. Besides, I don't feel like copy/pasting out of the wiki for all the scripts. So, tomorrow, maybe, I'll have some answers. ;)

debernardis 2008-07-18 04:53

Re: My Debian Tricks - N810 xmodmap
 
2 Attachment(s)
Quote:

Originally Posted by qole (Post 204186)
debernardis, do you know of a hack for non-dialog windows that are too large, such as the "Restore Document" window in OOO?

I have no generic solution involving the window manager, but as regards *that* particular dialog, I have it quite readable on my NIT, probably because I reduced the percent size of GUI elements of OOO to 80% - see attached pics.

If you can name me another window that's too big and can't be moved, and tell me how to show it, I'll experiment a little bit :)

qole 2008-07-18 16:24

Re: My Debian Tricks - N810 xmodmap
 
WOW Those are some TINY fonts! But at least you can see the whole window...

qole 2008-07-20 08:49

Re: My Debian Tricks - N810 xmodmap
 
Ok, I stumbled upon something interesting.

Someone with an N810 try this copy command with your Debian chroot mounted in /debian:

Code:

cp -r /usr/share/X11/xkb /debian/usr/share/X11
Then edit your /debian/usr/bin/xpice file. Add "+kb" (without quotes) to your Xephyr command line, before the & at the end.

Disable your xmodmap stuff.

Run the IceWM menu item in OS2008

See if this changes anything about how the N810 keyboard works in IceWM.

debernardis 2008-07-20 09:47

Re: My Debian Tricks - N810 xmodmap
 
Quote:

Originally Posted by qole (Post 205013)
See if this changes anything about how the N810 keyboard works in IceWM.

Not in my setup. Still no 2nd function chars.

But, indeed, not even xmodmap was working as described. No matter where I put the xmodmap call - in .icewm/profiles or .icewm/startup - it was not working. I had to call a rox terminal under icewm and issue the command there. Quite uncomfortable.

qole 2008-07-20 10:00

Re: My Debian Tricks - N810 xmodmap
 
Quote:

Originally Posted by debernardis (Post 205021)
Not in my setup. Still no 2nd function chars.

So no improvement from the basic setup using the +kb method? I'm trying to determine if this is something I should be adding to my next chroot image.

fatalsaint 2008-07-21 14:06

Re: My Debian Tricks - N810 xmodmap
 
Quote:

Originally Posted by qole (Post 205025)
So no improvement from the basic setup using the +kb method? I'm trying to determine if this is something I should be adding to my next chroot image.

May not be worth it unless someone (or me) figures out how to load that xmodmap file on startup.. it worked a couple times after I edited the .icewm/startup but doesn't work after a reboot.. think it kept it loaded in memory or something which caught me off.

I know the startup script is running because I also launch xchat and pidgin; both of which worked - but the xmodmap wasn't for some reason... so one of two things: a script that loads the file.. when you login you just click the script.. or some way to get xmodmap to start when the WM starts.. I'm still working on that.

debernardis 2008-07-21 15:44

Re: My Debian Tricks - N810 xmodmap
 
I succeeded with icewm :) and now it starts with xmodmapped keyboard.
What's needed:
start icewm with "icewm-session" instead that "icewm".
don't forget to chmod 755 the .icewm/startup script and start it with #!/bin/sh.
Let me know if it works for you.


All times are GMT. The time now is 17:00.

vBulletin® Version 3.8.8