PDA

View Full Version : [kubuntu] How do I generate alternate characters?



JimGvo
November 20th, 2008, 04:10 PM
I need to generate some Spanish text and need to figure out how to get the ˝ (enya) and accented vowels generated since I have the US keyboard without those letters. I know how to do it in Word and even Windows, but I don't use them unless I'm forced into it.

Thanks,
Jim.

amauk
November 20th, 2008, 05:24 PM
right click on the top panel, and add the "character palette"

selecting characters from the palette will copy them to the clipboard,
Just paste them into whatever you're doing

*edit*
Oops,
just seen the Kubuntu tag
oh well, for any Gnome users you can use the above
not sure about KDE

chejose
November 20th, 2008, 06:24 PM
A better way is to use the us International (with dead keys) keyboard. The right alt + n = ˝, and the same for all the letters that have accents. Also for letters with accents that will allow you to hit the ' key first then the letter and it will print with accent.

JosÚ

joey-elijah
November 20th, 2008, 06:42 PM
i asked a question similar yesterday but for swedish umlauts and french accents.

I use a British layout (I'm not ready to give up my "@" and ' " ' placings! The character palette option sucks, tbh. I don't have time to be copy and pasting from it when i'm on MSN etc. Is there a way to get the windows like 'ALT + Letter' in Ubuntu? (Gnome, not KDE for me)

DonQuichote
November 20th, 2008, 11:55 PM
Formerly, this used to be in /etc/X11/xorg.conf, but that has changed with Intrepid. Now you have to edit /etc/default/console-setup (as root).

There is an entry called XKBOPTIONS. If you change this to

XKBOPTIONS="compose:rwin"
your right windows key becomes a "compose key". You can use this for "foreign" characters, like [compose] = E is a euro sign (just type the compose key. do not hold it down like you would do with shift). For the list of combinations, see: http://webcvs.freedesktop.org/xorg/xc/nls/Compose/en_US.UTF-8?view=co

This only comes into effect after you have restarted the X server by either [control]+[alt]+[backspace] (kills all open programs in the graphic environment, take care) or restarting your PC.

JimGvo
November 28th, 2008, 03:53 PM
Formerly, this used to be in /etc/X11/xorg.conf, but that has changed with Intrepid. Now you have to edit /etc/default/console-setup (as root).

There is an entry called XKBOPTIONS. If you change this to

XKBOPTIONS="compose:rwin"
your right windows key becomes a "compose key". You can use this for "foreign" characters, like [compose] = E is a euro sign (just type the compose key. do not hold it down like you would do with shift). For the list of combinations, see: http://webcvs.freedesktop.org/xorg/xc/nls/Compose/en_US.UTF-8?view=co

This only comes into effect after you have restarted the X server by either [control]+[alt]+[backspace] (kills all open programs in the graphic environment, take care) or restarting your PC.

Good idea but it pretty much killed my X session. I couldn't log in with that setting. I couldn't even get a command console to come up. I had to reboot into single user mode and edit the file, removing that.

Jim.