WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: accents in openoffice and "@" sign in opera  (Read 4885 times)

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
accents in openoffice and "@" sign in opera
« on: March 27, 2009, 12:08:18 PM »
i know that such a problem depends on each application, but I would like to mention it in order to know if someone has found a solution.

I am using the de_CH-latin1.kmap and also tried the fr_CH-latin1.kmap, and I don't want to use xorg, but I rather want to stay with the default tiny x-server of TC.

openoffice: ê does not work, and I don't find key combinations in order to produce this sign;
opera: the "@" sign does not work as typing "altgr+q" or "altgr+2".

thanks.

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: accents in openoffice and "@" sign in opera
« Reply #1 on: April 04, 2009, 01:07:40 PM »
I confirm the problem in Firefox too meanwhile xterm works properly with altgr symbols.

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: accents in openoffice and "@" sign in opera
« Reply #2 on: April 04, 2009, 01:49:20 PM »
solution:

Code: [Select]
sudo xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &

to make it persistent put  the command without sudo into ~/.xsession (diff shown below):

Code: [Select]
- exec "${DESKTOP:=jwm}"
+ exec "${DESKTOP:=jwm}" &
+ sleep 1
+ xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
« Last Edit: April 05, 2009, 11:06:15 PM by robang »

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: accents in openoffice and "@" sign in opera
« Reply #3 on: April 06, 2009, 04:14:02 AM »
to make it persistent put  the command without sudo into ~/.xsession (diff shown below):

Code: [Select]
- exec "${DESKTOP:=jwm}"
+ exec "${DESKTOP:=jwm}" &
+ sleep 1
+ xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
Looks like the exec/& may conflict or be redundant.  I think the standard way is to put the commands before the last exec line, like:
Code: [Select]
xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
exec "${DESKTOP:=jwm}"

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: accents in openoffice and "@" sign in opera
« Reply #4 on: April 06, 2009, 05:58:25 AM »
to make it persistent put  the command without sudo into ~/.xsession (diff shown below):

Code: [Select]
- exec "${DESKTOP:=jwm}"
+ exec "${DESKTOP:=jwm}" &
+ sleep 1
+ xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
Looks like the exec/& may conflict or be redundant.  I think the standard way is to put the commands before the last exec line, like:
Code: [Select]
xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
exec "${DESKTOP:=jwm}"


I tried but it does not work because xmodmap should be executed when X/jvm is running.
The solution need sleep 3 instead sleep 1, like this (diff):

Code: [Select]
- exec "${DESKTOP:=jwm}"
+ exec "${DESKTOP:=jwm}" &
+ sleep 3
+ xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch"

« Last Edit: April 06, 2009, 11:48:31 AM by robang »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: accents in openoffice and "@" sign in opera
« Reply #5 on: April 06, 2009, 11:43:56 AM »
xmodmap can only modify X keymaps, not console ones
The only barriers that can stop you are the ones you create yourself.

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: accents in openoffice and "@" sign in opera
« Reply #6 on: April 06, 2009, 11:49:35 AM »
xmodmap can only modify X keymaps, not console ones

yes, you are right. It is useless in pure console, without any X running.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: accents in openoffice and "@" sign in opera
« Reply #7 on: April 10, 2009, 12:13:13 AM »
exec can probably be removed since it will just be backgrounded, then.

If you wanted to keep the exec, I guess something like this could work:
Code: [Select]
sleep 3 && xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
exec "${DESKTOP:=jwm}"

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: accents in openoffice and "@" sign in opera
« Reply #8 on: April 10, 2009, 06:16:18 PM »
don't work for me, neither in opera nor in oo2. is there a possibility to pick up keymap's layouts from some other distros (as the one from *buntu or from DSL) in order to use them with tc? thanks