Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
The usual option is to go to keyboard settings, and install the US-intl keyboard with dead keys. I don't have a LXDE desktop at hand now so I cannot exactly tell how to do this. If you are in a different reagion and you keyboard is non-US, try do find a keyboard layout which is yours, but does "dead keys".
The usual option is to go to keyboard settings, and install the US-intl keyboard with dead keys. I don't have a LXDE desktop at hand now so I cannot exactly tell how to do this. If you are in a different reagion and you keyboard is non-US, try do find a keyboard layout which is yours, but does "dead keys".
jlinkels
Thanks, I use a UK keyboard. How do I find the keyboard layout I have only been using Lubuntu for a few weeks and am still trying to find my way around it.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Without using any accented keys I was able to type into Google: lubuntu keyboard layout
Which produced a few thousands of hits, including this one: https://askubuntu.com/questions/7882...-lubuntu-15-10
However, it seems that English UK with dead keys does not exist. Only English US, but that swaps a lot of keys like #, $, pounds etc.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I tend to use compose key to type such as ø, ö, å, ç and the like, there's an explanation of how to get it working here. I don't know exactly which characters are available and their shortcuts but I've found the ones I wanted for French, German and Norwegian and they're usually easy to guess (there's also a link to a Wikipedia page in the page linked to above which shows them, I believe).
Compose is usually the answer. Your distro should have a keyboard configuration tool that enables you to designate a compose key: the Windows menu key (is that the name for the thing to the left of the right control?) is a good choice.
Then you have things like
Compose ^ e for ê
Compose 1 2 for ½
Compose + - for ±
The list is endless and can even be configured. I have
Compose l h for ɬ
if you can see it!
As well as gnucharmap for the occasional very exotic things, you also have "Insert - Special character" in Writer.
Thanks I found that pressing ALT GR and 4 gives € with 5 gives ½ and 6 gives ¾
I use all of these but still can't work out how to use French accents, which is what I need, apart from using character map which is rather long winded.
I suppose an easier way will be to use character map type all the accents and add them to the top of the document and then cut and paste the one I need at the time, that would be quicker than going to the character map for each letter.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Or, you could read my post and follow the link. In my case the "compose key" is pressing left-shift then the Alt Gr key then the two characters, as noted in the above post it's a fairly easy thing to do.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hi David_S,
You need to define a second keyboard configuration in xorg and then just configure the LXDE keyboard switching applet. Here in Montreal, the US and Canadian French keyboards are ubiquitous and I am constantly switching between them depending on the language I am using at the time. For example :
- I am writing this line in English using the US English keyboard
- Pour cette ligne, j'ai changé la configuration de mon clavier à français canadien
... and I've switched back again to English US here.
If this is what you need to do, it is extremely common - I use LXDE with Arch and it's a simple setup I do on all of my computers.
Or, you could read my post and follow the link. In my case the "compose key" is pressing left-shift then the Alt Gr key then the two characters, as noted in the above post it's a fairly easy thing to do.
Why do you want to use accents? Are you writing in another language such as French or Spanish?
If so, you might simply use a keyboard configuration which corresponds to the other language. It is easy to switch from one keyboard layout to another in Ubuntu/Linux.
I speak several languages, and for English and French I use a French keyboard layout (azerty), as the French keyboard layout has all of the characters necessary for English. However, when I write in Spanish, I use a spanish layout because (Spanish qwzerty), otherwise, it is very difficult to type in accents manually, for example, for the following characters: ñ, á, é, í, ó, ú.
It took me a while to familiarize myself with the Spanish keyboard layout, but, through time I got used to switching from one to another. Strange thing, now, when I type in Spanish, my fingers naturally fall onto the right keys ("q" and "a" are reversed, "m' is not in the same place, etc.).
If you are really interested in languages, contrary to Windows, on Linux, you can change the language of your OS (menus, notices, etc.) to any language you want, ditto when installing applications (e.g., OpenOffice in Spanish), as well as the usual dictionaries, grammar and spellchecks, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.