Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-08-2016, 04:59 PM   #1
Registered: Nov 2012
Location: Northwest suburbs of Chicago
Distribution: Ubuntu & Mint LTS, Manjaro Rolling; Android
Posts: 229

Rep: Reputation: Disabled
Help with InkScape

I'm running Ubuntu 16.04.1 with Unity, and have i-Bus active to facilitate easy keyboard switching. i-Bus places an icon on the top panel to indicate which language is currently selected. For English, the default, the icon looks something like [En], for Greek [Gr], and so forth.

These icons must be in svg format; for the "ubuntu-mono-dark" theme at least, they are located in /usr/share/icons/ubuntu-mono-dark/status/22/indicator-keyboard-En.svg, Gr.svg, and so forth.

For various reasons, I would like to make it much more obvious when a language other than English is chosen (entering commands in a terminal, for instance, becomes an exercise in humor if one is not watching carefully). I had originally assumed that there was a single icon over which iBus overlaid the active ISO script code, but once I realized that each script had its own icon, I decided that modifying these to a: be in a different color, and b) to display an obvious letter from the script in question (e.g. [E] for English, [θ] for Greek, [โ] for Thai etc.) would make life much simpler.

When viewing these icons in the file manager (Nautilus in my case) or the Image Viewer, the "En," "Gr," and "Th" are easily visible, and look exactly as they do on the top panel of my desktop. If I load them into Gimp, those characters are also quite obvious. But when I load any of these svg files into InkScape, all I can find is the background. I've tried looking for something akin to layers or paths, but although I can change the color of the icon very easily, I can't figure out how to make the character visible - and even then, I'm assuming that if I can see it I can probably figure out how to replace it with what I want.

I loaded one of these files into LibreOffice Draw, but the characters were not visible at all there either.

I trolled the internet, but the question seems too specific for any usable information. I also went through various on-line tutorials for saving a file as an svg in Gimp - none of which worked at all for me.

I am using InkScape version 0.91 r13725 by the way. I would add one of the svg files, but that doesn't seem to be permitted in the [Manage Attachments] box below. Can anyone provide some sage advice for what I'm missing?

Thanks in advance.

Last edited by CVAlkan; 08-08-2016 at 05:00 PM. Reason: typo
Old 08-08-2016, 08:50 PM   #2
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
That is puzzling, not surprising though since I know next to nothing about svg files.

The svg files are text (xml) so try using a text editor to change the color and text.
I don't run Ubuntu or use Gnome so I can't test the following. Hopefully it will give you a white theta on a blue background.

<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" width="22" height="22">
        <mask id="m">
            <rect x="0" y="0" width="22" height="22" style="fill:white"/>
            <text x="4.5" y="15.5" style="font-family:Ubuntu;font-weight:500;font-size:12;fill:white">\u03b8</text>
    <rect x="1" y="1" width="20" height="20" rx="2" mask="url(#m)" style="fill:#0000ff"/>
1 members found this post helpful.
Old 08-08-2016, 09:02 PM   #3
Senior Member
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,075

Rep: Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725
Can you give us a hint as to what file, specifically, you are looking at? It would be more useful than us guessing.
Old 08-09-2016, 08:16 AM   #4
Registered: Nov 2012
Location: Northwest suburbs of Chicago
Distribution: Ubuntu & Mint LTS, Manjaro Rolling; Android
Posts: 229

Original Poster
Rep: Reputation: Disabled
Help with InkScape

For Norobo:

Darn - I knew svg files were xml text and didn't even consider trying a text editor. That worked like a charm and does just what I want.

I'm still confused as to why I can't see the characters in Inkscape itself, but I'll attack that with the xml/text file open on the side to try connecting the dots. For now, I'm happy, so thanks much.

For notKlattu:

The files' location, as stated in the original question, is /usr/share/icons/ubuntu-mono-dark/status/22/ and the files themselves are "indicator-keyboard-En.svg," then Gr.svg, and so forth ...

Thanks to both of you for your prompt responses and to Norobo for pointing me to a quick and easy solution.


inkscape, ubuntu 16.04

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Inkscape and it's capabilities Ztcoracat Linux - Software 5 06-30-2012 12:25 AM
Need help installing inkscape RNanney56 Linux - Software 3 12-16-2011 08:26 AM
Launching Inkscape - nothing happens voip4africa Linux - Software 2 01-12-2011 08:34 AM
[SOLVED] inkscape 0.46 aihaike Slackware 10 05-13-2009 06:44 AM
which distro is better for inkscape? codec General 0 12-14-2005 04:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration