1

I'm using Linux Lite 3.8 with Xfce.

TL;DR
Problem: need to type in question marks "?", but can't. How can I add this key to keyboard layout?

I bought a laptop in the USA that has a regular US-en keyboard. But I need to type special accents (e.g., ó, ò, ö, ô, õ, ç) and the regular keyboard layout doesn't have these keys.

So I went to "Keyboard" => "Layout" tab => set keyboard layout to Brazilian Portuguese. The keyboard model is specified here as "Generic 105-key (Intl) PC". Now I have all the keys I need, except the question mark ("?"). No combination of keys I type outputs a question mark. Usually pressing CTRLALTW inputs a "?", but this is not working, so when I use the Brazilian Portuguese keyboard layout I cannot type in question marks.

Question: How can I add a shortcut or somehow make a combination of keys output a question mark ("?") when using Brazilian Portuguese layout? (just a reminder: I don't know why, but CTRLALTW nor ALT GrW aren't working)

Thanks!

  • 1
    I personerly suggest you to use an input method instead of setting X11 keybord layout, which is much more flexible. – 炸鱼薯条德里克 Sep 25 '18 at 4:53
  • @神秘德里克 Thank you! But how do I do this? Is it something like this?: wiki.archlinux.org/index.php/Smart_Common_Input_Method . If it is the settings on "Keyboard", I've tried changing those as mentioned in the question – flen Sep 26 '18 at 13:36
  • I use IBus.After installation You'll get a config GUI program in your app menu, you can then add other keyboards and switch between them. But somehow ibus doesn't ship with XDG autostart file, you might need to write your own. – 炸鱼薯条德里克 Sep 26 '18 at 14:36
  • @神秘德里克 Cool! Thanks a lot, I'll look into that! – flen Sep 26 '18 at 14:40
  • @神秘德里克 If I understood IBus correctly, all it does is switching between different keyboard layouts, but there's no customization option for adding additional keys to the layout. Am I missing something? Should I look for another keyboard layout to install to IBus? – flen Sep 26 '18 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.