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

Notices


Reply
  Search this Thread
Old 09-26-2019, 06:36 PM   #1
drpeppercan
Member
 
Registered: Jan 2017
Posts: 68

Rep: Reputation: Disabled
Question How to use Spanish accents?


I had tried using the English (US, International with dead keys) keyboard layout, as I have in Mint. But the ALT key is not behaving as expected.

I would appreciate it if someone could give me a hand with this.

Thanks
 
Old 09-26-2019, 08:06 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,366
Blog Entries: 28

Rep: Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162
It might help if you define what you mean by "the ALT key is not behaving as expected."

What's happening that shouldn't be happening, or what's not happening that should?
 
Old 09-26-2019, 09:48 PM   #3
drpeppercan
Member
 
Registered: Jan 2017
Posts: 68

Original Poster
Rep: Reputation: Disabled
When I use Mint, with this keyb layout, I just hold down ALT while I hit the key where I want the accent/tilde. For instance, if I want to do the é, I just hold down ALT and hit the e. If I want the ñ, I do the same but I hit the n.
This is done while my OS's language is English.
Unfortunately when I am in Deepin, the only time this works is when I switch the OS's language to Spanish. Which is not as convenient.
I am hoping there is a work around.
 
Old 09-26-2019, 09:53 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,010

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Guess the program you are using may not support it??

Some ideas may still work here. https://en.wikipedia.org/wiki/AltGr_key


Wonder if the hold alt key or ctrl key plus some three number entry would work? How many times a day do you need some accented letter?

alt 666 is this Ü for example.
 
Old 09-27-2019, 06:43 AM   #5
drpeppercan
Member
 
Registered: Jan 2017
Posts: 68

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post

...Wonder if the hold alt key or ctrl key plus some three number entry would work?
alt 666 is this Ü for example.
How many times a day do you need some accented letter?
Not many, not enough to replace my physical keyboard, nor switch my OS's language to Spanish. That's why just using the English (US, International with dead keys) keyboard layout was good enough, in Mint and Ubuntu that is.

It would be good to know those 3-letter codes though. More alternatives is better than too few.
So, where can I see these codes?

Thanks
 
Old 09-27-2019, 06:07 PM   #6
drpeppercan
Member
 
Registered: Jan 2017
Posts: 68

Original Poster
Rep: Reputation: Disabled
I looked into finding those 3-letter codes, but it seems they are only for Windows
Like ALT + 130 = é
 
Old 09-27-2019, 07:42 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,010

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
I'll test it later. Seems to me it is part of the keymap.
 
Old 10-02-2019, 08:39 PM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

Quote:
Originally Posted by drpeppercan View Post
I looked into finding those 3-letter codes, but it seems they are only for Windows
Like ALT + 130 = é
Unicode for lower case e with an acute is U+00E9.
So try:

Ctrl-Shift-u e9 Enter


é

works for me.


Evo2.

P.S. See https://en.wikipedia.org/wiki/Unicod...Unix_variants)
for more info.

Last edited by evo2; 10-02-2019 at 09:38 PM. Reason: Fix link
 
Old 10-02-2019, 08:55 PM   #9
drpeppercan
Member
 
Registered: Jan 2017
Posts: 68

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,



Unicode for lower case e with an acute is U+00E9.
So try:

Ctrl-Shift-u e9 Enter

é

works for me.


Evo2.
Thanks for that Evo2, I wish it was working for me.
I just tried your suggestion with both the regular English keyboard layout, and the English (US, International with dead keys) keyboard layout. Both yielded the same:

ue9

This is with either Left or Right Ctrl and Shift keys.
Basically I just hold down both Ctrl and Shift while I hit u. But then it just enters the letter "u".

So far the English (US, International with dead keys) keyboard layout works, but only for so long. Then I have to either logout and login again, or reboot.
 
Old 10-02-2019, 09:03 PM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by drpeppercan View Post
Thanks for that Evo2, I wish it was working for me.
I just tried your suggestion with both the regular English keyboard layout, and the English (US, International with dead keys) keyboard layout. Both yielded the same:

ue9

This is with either Left or Right Ctrl and Shift keys.
Basically I just hold down both Ctrl and Shift while I hit u. But then it just enters the letter "u".
Were you using a GTK app?

Quote:
Originally Posted by drpeppercan View Post
So far the English (US, International with dead keys) keyboard layout works, but only for so long. Then I have to either logout and login again, or reboot.
Hmm, quick question: why are you using Deepin? It seems to be giving you lots of trouble and the forum here doesn't seem to have many users.

Evo2.
 
Old 10-02-2019, 09:27 PM   #11
drpeppercan
Member
 
Registered: Jan 2017
Posts: 68

Original Poster
Rep: Reputation: Disabled
Quote:
Were you using a GTK app?
Excuse my ignorance, but how do I identify a GTK app?


Quote:
why are you using Deepin?
I am still in the "trying period" with Deepin.
Mint was my main distro for the past 2 or 3 years, but now I was feeling like trying something new. Deepin's looks caught my attention.
It's been about 2 weeks so far. I do like many things, but so far it feels like at the end of the day I also do not like just as many. What's worse, some of these things I do not like happen to be important enough to be a deal-breaker. Although I am pretty close to call it a day, I am not quite there yet. I want to have the peace of mind that I gave it a fair try.
I still have Mint installed in a different drive, so going back will be very easy.
 
Old 10-02-2019, 09:34 PM   #12
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by drpeppercan View Post
Excuse my ignorance, but how do I identify a GTK app?
Try
Code:
ldd $(which <app-name>) | grep gtk
If <app-name> uses gtk you should get something like:
Code:
ldd $(which gnome-terminal)|grep gtk                                                                    
	libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 (0x00007fe845e5a000)
Note that this won't work if the app has compiled gtk libs directly into it. Eg
Code:
ldd $(which google-chrome-stable)
  	not a dynamic executable
If it's not GTK, then have a look at that wikipida link from my earlier post.

Quote:
Originally Posted by drpeppercan View Post
I am still in the "trying period" with Deepin.
Mint was my main distro for the past 2 or 3 years, but now I was feeling like trying something new. Deepin's looks caught my attention.
It's been about 2 weeks so far. I do like many things, but so far it feels like at the end of the day I also do not like just as many. What's worse, some of these things I do not like happen to be important enough to be a deal-breaker. Although I am pretty close to call it a day, I am not quite there yet. I want to have the peace of mind that I gave it a fair try.
I still have Mint installed in a different drive, so going back will be very easy.
Ok, understood. Thanks for explaining.

Cheers,

Nick.
 
Old 10-02-2019, 09:53 PM   #13
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by evo2 View Post
Note that this won't work if the app has compiled gtk libs directly into it. Eg
Code:
ldd $(which google-chrome-stable)
  	not a dynamic executable
Opps, bad example. google-chrome-stable is a wrapper shell script.

Evo2.
 
Old 10-04-2019, 09:38 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
My experience:
Ctrl-Shift-u e9 <enter>
é
works on GTK apps (including e.g. Firefox), but not in the terminal or Qt apps.

But on my keyboard, I can also use ' (that's a special accent key, not the single quote key) and e.

Last edited by ondoho; 10-04-2019 at 09:39 AM.
 
Old 10-04-2019, 10:13 AM   #15
drpeppercan
Member
 
Registered: Jan 2017
Posts: 68

Original Poster
Rep: Reputation: Disabled
I tried Firefox, Chrome, Vivaldi, Noty, and LibreOffice Writer without success.
In Firefox it's even worse because the moment I press ALT it brings down the menu.
Thanks a million for helping guys!

Oh well, we cannot say we did not try! Maybe it's time to return to Mint.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What changed from PL 4.31 to PL 5.1* that can't use special characters like accents? Benny7440 Puppy 3 04-17-2011 04:28 PM
Spanish accents in OpenOffice 2.4 Raul Claro Linux - Desktop 3 04-11-2009 11:19 PM
FOSS translation tools? English to Spanish, Spanish to Latin, Latin to Icelandic, etc brynjarh Linux - Software 0 06-19-2006 12:34 AM
problem in xemacs with international keyboard accents marlinux Linux - Software 1 09-29-2003 03:41 AM
accents without deadkeys in openoffice messenjah Linux - Software 1 09-19-2003 01:06 PM

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

All times are GMT -5. The time now is 01:39 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