LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-11-2017, 05:05 PM   #1
zku
LQ Newbie
 
Registered: Nov 2017
Posts: 5

Rep: Reputation: Disabled
Inkscape locale


Hi:
I installed Inkscape from Slackbuild ok ... but I can not translate it into Spanish ... the other applications are fine in Spanish. regards.

Slackware 14.2 stable
Kde default Desktop
 
Old 12-11-2017, 05:22 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Hello,

I just typed in a terminal:
Code:
LANG=es_ES.utf8 inkscape
and the UI is in Spanish.

What locale are you using exactly?
 
Old 12-11-2017, 05:35 PM   #3
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 973

Rep: Reputation: 238Reputation: 238Reputation: 238
Hi zku, did you see this discussion? It gives you the required pointers.
Basically: go to preferences -> interface -> scan the language drop-down for the spanish you want -> close and restart inkscape

EDIT: this is bypassing the method Didier points at, it is bypassing the system-language of the computer

Last edited by brobr; 12-12-2017 at 07:05 AM. Reason: add -> interface
 
Old 12-11-2017, 06:02 PM   #4
zku
LQ Newbie
 
Registered: Nov 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
@Didier Spaier
I use es_ES

bash-4.3# LANG=es_ES.utf8 inkscape
No protocol specified

(inkscape:3433): Gtk-WARNING **: cannot open display: :0


********************

bash-4.3# export LANG=es_ES.utf8 inkscape
No protocol specified

(inkscape:3433): Gtk-WARNING **: cannot open display: :0

**********

it doesn'' T work
 
Old 12-11-2017, 06:03 PM   #5
zku
LQ Newbie
 
Registered: Nov 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
@brobr

it doesn't work
 
Old 12-11-2017, 11:44 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
You should not use a graphical application as root.

Check that you, not root, be the owner of all the files and directory (even the hidden ones) in /home/<your user name> then use the same command as regular user.
 
Old 12-12-2017, 08:36 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by zku View Post
@Didier Spaier
I use es_ES

bash-4.3# LANG=es_ES.utf8 inkscape
No protocol specified

(inkscape:3433): Gtk-WARNING **: cannot open display: :0


********************

bash-4.3# export LANG=es_ES.utf8 inkscape
No protocol specified

(inkscape:3433): Gtk-WARNING **: cannot open display: :0

**********

it doesn'' T work
As Didier alluded, this does not work because you are likely logged in as your normal user but trying to start inkscape as root. As Didier mentioned, it is never a good idea to start a graphical program as root except for certain occasions (like partitioning a drive using gparted or a graphical file manager if you need to manipulate root owned files). However, it is extremely important to not run a graphical program while logged in as a normal user the way you did, because it will overwrite files in your user's home directory as root and can break things. Hopefully this error happened early enough that it prevented the program from overwriting files in your user's home directory.

If you need to start a graphical program as root while logged in as another user, use kdesu (or install gksu from SBo if you don't have KDE installed). But there should be no reason to use inkscape as root, so I would suggest running your command from the terminal as the user you're logged in as.
 
  


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
locale: Cannot Set LC_ALL to default locale: No such file or directory. asym Linux - General 11 10-24-2018 05:54 PM
after-Installation errors. locale error. unsupported locale settings and two more gh0st Fedora 1 05-02-2008 05:06 AM
locale: Cannot set LC_ALL to default locale: Invalid argument GadgetWiz Mandriva 1 03-31-2006 11:38 PM

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

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