LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2009, 12:23 AM   #1
wizardhat
Member
 
Registered: Apr 2008
Location: Melbourne, Australia
Distribution: Slackware 12.2
Posts: 52
Blog Entries: 1

Rep: Reputation: 15
Inputting accented characters under xfce


I've recently switched my WM from kde to xfce. I'm loving it so far, but I'm not sure how to input accents (that is, for foreign characters).

Under KDE there was an option in the control centre to allocate a key on the keyboard (such as alt-gr) to be used in such a way as to select an accent and apply it to the next key pressed. For example, holding down alt-gr and pressing ' would make the next character have an acute accent. There's a term for this, but I'm having trouble remembering... it's right on the tip of my tongue.

I hope I haven't confused too many people. I am just having a hard time conversing with foreigners because I can not find the option to enable this. If anyone is able to point me int he right direction, I would be very thankful.

Cheers!
 
Old 03-19-2009, 03:50 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You can edit /etc/X11/xorg.conf and add the following line in the keyboard section
Code:
Option "XkbOptions" "lv3:ralt_switch"
 
Old 03-19-2009, 04:02 AM   #3
wizardhat
Member
 
Registered: Apr 2008
Location: Melbourne, Australia
Distribution: Slackware 12.2
Posts: 52

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thanks for your help, but that doesn't seem to have done anything
 
Old 03-19-2009, 05:08 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
The xkb Options in your keyboard section should look like this:
Code:
Section "InputDevice"
        ...
       Option      "XkbVariant"   "altgr-intl"
       Option      "XkbLayout"    "us"
       Option      "XkbOptions"  "lv3:ralt_switch"
EndSection
 
Old 03-19-2009, 05:55 AM   #5
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 510

Rep: Reputation: 53
As with all Gtk application, you can simply enter the character directly with pressing ctrl-shift-u <unicode codepoint> - which is my preferred method for entering french accents or a spanish ~ on n or the turkish i without dot and so on.

Works also with everything else like japanese or chinese or klingon.
 
Old 03-19-2009, 12:10 PM   #6
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by wizardhat View Post
For example, holding down alt-gr and pressing ' would make the next character have an acute accent. There's a term for this, but I'm having trouble remembering... it's right on the tip of my tongue.
I believe it is called an ague.
I know this doesn't help with the OP issue with Xfce, but for those interested in using accented characters in KDE there is a small tutorial on linuxjournal.com for this issue.
http://www.linuxjournal.com/video/ac...characters-kde

Last edited by larryhaja; 03-19-2009 at 12:15 PM.
 
Old 03-19-2009, 03:30 PM   #7
wizardhat
Member
 
Registered: Apr 2008
Location: Melbourne, Australia
Distribution: Slackware 12.2
Posts: 52

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thanks Bathory, it works now!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Typing accented characters in Linux VicRic Linux - Newbie 3 05-21-2007 01:41 PM
Inputting Norwegian (Danish/Swedish) characters in Gnome boomklever Linux - Desktop 1 04-04-2007 10:53 AM
Quanta accented characters spaniard Linux - Software 4 11-04-2005 12:08 AM
How to type accented Greek characters? fishpi Linux - Software 1 08-04-2005 02:26 PM
Accented characters in C Orkie Programming 2 05-17-2005 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration