Author Topic: Gnumeric On Eabi  (Read 12732 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Gnumeric On Eabi
« Reply #15 on: March 22, 2008, 06:57:33 pm »
According to the gnumeric doc,
F4 = repeat the last action
F9 = recalculate

I suspect the num key 4 also got confused with F4, like 1 and F1. But I am not sure about 9.
There seems to be no way to customize the keyboard shortcuts in gnumeric, or not?
« Last Edit: March 22, 2008, 06:59:29 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Gnumeric On Eabi
« Reply #16 on: March 23, 2008, 04:48:39 am »
Another very dirty hack (into yelp). This will make sure "1" "4" and "9" behave themselves in gnumeric...

First, edit /usr/bin/yelp like this:
Code: [Select]
xmodmap -e 'keysym 0x31 = 1'
xmodmap -e 'keysym 0x34 = 4'
xmodmap -e 'keysym 0x39 = 9'
Second, start gnumeric from the terminal by "yelp && gnumeric".
It works at least...
I know this is terribly ugly.
Perhaps we need file a bug report somewhere (debian armel, gnumeric, gnome)?

[EDIT]
Editing /usr/share/applications/gnumeric.desktop like this does NOT work (no effect; num keys remain naughty until "1" is pressed)
Code: [Select]
Exec=yelp && gnumericHad a look at http://standards.freedesktop.org/desktop-e...#exec-variables , but cannot find useful info.
« Last Edit: March 23, 2008, 05:14:16 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

apink

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Gnumeric On Eabi
« Reply #17 on: March 23, 2008, 12:22:27 pm »
This works just fine.  I start my spreadsheets from a script so it is no extra work except to put yelp && into the script.

I have also been wondering about filing a bug report, but am intimidated by the whole process:  never done it before, don't know where it should go, unsure of who is in charge of debian on the zaurus . . .
--current use--
linux chroot on top of lineage  on cell phone

--past handhelds--
pandora
ben nanonote
zaurus sl-c1000

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Gnumeric On Eabi
« Reply #18 on: March 23, 2008, 01:34:36 pm »
I guess the simplest way for now is: edit the yelp script as posted. Then press "1" (i.e. to run the hacked "yelp")  once inside gnumeric and then things will run fine for the whole session.
« Last Edit: March 23, 2008, 01:35:15 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

urkden

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Gnumeric On Eabi
« Reply #19 on: March 24, 2008, 04:22:49 am »
With newest 1.8.2-1 gnumeric from debian official the problem persists.
« Last Edit: March 24, 2008, 04:23:04 am by urkden »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Gnumeric On Eabi
« Reply #20 on: April 03, 2008, 01:56:33 am »
Enchanced fix. Again, rename the original "/usr/bin/yelp" to something else, e.g. "/usr/bin/yelp.orig" (you need to install the yelp package first), and then create a new /usr/bin/yelp file with this content:
Code: [Select]
#!/bin/sh
xmodmap -e 'keysym 0x31 = 1 exclam'
xmodmap -e 'keysym 0x34 = 4 dollar'
xmodmap -e 'keysym 0x39 = 9 parenright'
Save and then do "chmod 755 /usr/bin/yelp".
After opening gnome applications, like gnumeric and epiphany browser, press [1] once. This should make [1], [4], [9] produce "1", "4" and "9", and Shift [1], [4], [9] to produce "!", "$", ")" respectively. i.e. the normal behavior.  
I have just tested the number keys [1]-[0], all keys are working with the right symbols with [Shift].
Please test to see if any other key are misbehaving. I will then make/include this into a new scriptpack and let users just run a simple "./install.sh" to fix this.
« Last Edit: April 03, 2008, 05:48:23 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Gnumeric On Eabi
« Reply #21 on: April 03, 2008, 01:25:01 pm »
Quote from: ZDevil
Enchanced fix. Again, rename the original "/usr/bin/yelp" to something else, e.g. "/usr/bin/yelp.orig" (you need to install the yelp package first), and then create a new /usr/bin/yelp file with this content:
Code: [Select]
#!/bin/sh
xmodmap -e 'keysym 0x31 = 1 exclam'
xmodmap -e 'keysym 0x34 = 4 dollar'
xmodmap -e 'keysym 0x39 = 9 parenright'
Save and then do "chmod 755 /usr/bin/yelp".
After opening gnome applications, like gnumeric and epiphany browser, press [1] once. This should make [1], [4], [9] produce "1", "4" and "9", and Shift [1], [4], [9] to produce "!", "$", ")" respectively. i.e. the normal behavior.  
I have just tested the number keys [1]-[0], all keys are working with the right symbols with [Shift].
Please test to see if any other key are misbehaving. I will then make/include this into a new scriptpack and let users just run a simple "./install.sh" to fix this.

ZDevil,

Just tried doing your fix....

However, have a real problem here to do it as not only can I not type a '1' now but if I try to type a '!'  it also opens up the 'Terminal Emulator' window that I mentioned in my post on the other thread....

So, any way to get around this situation??? Or will I need to wait for your script???

Yipes!!!

 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Gnumeric On Eabi
« Reply #22 on: April 03, 2008, 03:00:09 pm »
Quote from: ArchiMark
Just tried doing your fix....
However, have a real problem here to do it as not only can I not type a '1' now but if I try to type a '!'  it also opens up the 'Terminal Emulator' window that I mentioned in my post on the other thread....
So, any way to get around this situation??? Or will I need to wait for your script???
In this case just use another terminal. The xfce4 terminal and gnome terminal are slow and bulky, and I won't recommend them on the Z (and on laptops as well) even if there is no such issue. There are many more much better choices: rxvt, mrxvt, mlterm, multi-aterm, to name but a few.
« Last Edit: April 03, 2008, 03:00:24 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Gnumeric On Eabi
« Reply #23 on: April 03, 2008, 06:28:25 pm »
Quote from: ZDevil
Quote from: ArchiMark
Just tried doing your fix....
However, have a real problem here to do it as not only can I not type a '1' now but if I try to type a '!'  it also opens up the 'Terminal Emulator' window that I mentioned in my post on the other thread....
So, any way to get around this situation??? Or will I need to wait for your script???
In this case just use another terminal. The xfce4 terminal and gnome terminal are slow and bulky, and I won't recommend them on the Z (and on laptops as well) even if there is no such issue. There are many more much better choices: rxvt, mrxvt, mlterm, multi-aterm, to name but a few.

THANKS for the help, ZDevil.....installed mrxvt and then number '1' and '!' key worked great!!

 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/