How adding accents in Ubuntu?

How do you get an accent grave in ubuntu

If you use Ubuntu do you have to become a f’ing programmer just to add a French accent? Some things windows does better.

Your question has nothing to do with LibreOffice. Refer to your OS manual.

@gabix: don’t be too harsh with newcomers (and probably newbies). The question is not detrimental to LO and solely betrays ignorance of the “dead key” feature in keyboard management. For OP’s defence, accents (dead keys) are usually hidden under keys absolutely unrelated to the engraving because they were originally allocated on an US keyboard and not reallocated while the letters are in non US layouts (QWERTY becomes AZRTY, QWERTZ and many others). MacOS used to have a nice keyboard utility where you could see the effect of modifier keys. Accents were clearly highlighted. I am not aware of an equivalent app under Linux.

I put my keyboard in French layout to experiment. My configuration is Fedora with Plasma desktop (KDE) but I think the layouts are common to all distributions though there may be slight variations with desktop managers.

Apparently, acute accent is at Alt Gr+ù and grave accent at Alt Gr+*.

To make sure, open a blank Writer document. Press Alt Gr and without releasing this key hit successively all keys in a row. If nothing prints, release Alt Gr and press e to see which accent corresponds to the “alt’ed” key.

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer) or comment the relevant answer.

There have been a number of questions dealing with this OPERATING SYSTEM question. For example ‘Where can I find access to accents to use on non-English words ?’ Where can I find access to accents to use on non-English words ?

On my Linux Mint system it is the KEYBOARD command which controls the keyboard. The Alt Gr key adds two more levels to the keyboard. It also allows you to display and/or print the keyboard layout. The shift and Alr Gr keys give the four combinations.

You do not specify your language or keyboard settings. If you are using Ubuntu you need to tell the system which keyboard version you need. Remember that you are not using an old manual typewriter when you would need to enter each accented character as letter / backspace / accent. Assuming you have set up your keyboard correctly you type the accent directly. For example Alt Gr C will give Ç. The C and Ç have different codes. Alt Gr e é, Alt Gr s ß etc.

If you using an American keyboard or English keyboard you must select the International version. Also, the American (US) and English (UK) keyboards are NOT interchangeable as a glance at such keys as £ $ @ € ; : will show you.

You mention Ubuntu. This uses Unicode as does LibreOffice and the Internet etc. This currently supports about 138,000 characters which is a little large for a basic QWERTY keyboard. The alt+code provided by Windows just goes up to the first 255 characters, a little less than 138,000 and you have to learn the codes. Alt x gives a similar support to LibreOffice Windows and Linux.

Alt+X is intended for Unicode support: type 4 hexadecimal digits then Alt+X and you get the character designated by its code point. Put the cursor after any character and Alt+X converts the character to its U+1234 codepoint representation.