Skip to main content

UI icons workaround for Inkscape 0.91 on Windows

[Note: this issue has been solved with the release of Inkscape version 0.92 in January 2017.]

An 'In-x-scapable' problem

When version 0.91 of Inkscape, the famous free and open source SVG illustration program, was finally released last year (it took five years for it to jump from 0.48 directly to 0.91), fans were wowed by the new features.

However, a bug soon surfaced: Missing icons in toolbars and menus (they used to be there in the previous 0.48 version). This presentationally embarassing shortcoming usually happens on Inkscape 0.91 installed on Windows™ and OS X™:
Menu icons

Expected action icons, like document 'templates', 'revert', 'preferences', 'undo' and 'redo' were replaced by document icons with red 'x' on them. Also the right-to-left (RTL) icons, for right to left systems, remained at the left-to-right direction. However, the buttons still worked when pressed.

'undo' and 'redo' toolbar icons

This is not much of a problem for those on Linux, because Inkscape's default behavior is to get icons provided by the system first, and these are usually stock icons in the current iconset applied to the system. When Inkscape cannot find these icons in the system, it searches its SVG icon files and other files (libraries) that came with the installation, usually drawn in the stock GTK icon style.

However, in Windows and OS X systems, Inkscape cannot find some of the needed icons in its libraries. This is a bug that has been fixed for the next Inkscape version, 0.92x – release date unknown [edit: Jan 4, 2017]. Inkscape's developers are still at work on the 0.91.1 bugfix version (but there are 32-bit and 64-bit 'try-at-your-own-risk' developmental versions for download at TuxFamily.org – in the win32 and win64 folders, respectively).

Meanwhile, there are workarounds. For OS X, a workaround has already been included in the new installer.

For Inkscape 0.91 installed on Windows, you have to spend some effort. Go to your Inkscape user icons folder by entering the following command either in Windows Explorer or the 'run' dialog box (WIN+R keys):

%APPDATA%\inkscape\icons

In my case, this becomes 'C:\Users\Tommy\AppData\Roaming\inkscape\icons' (the AppData folder is usually hidden from Explorer). Create the icons folder if it doesn't exist. Now place a tweaked 'icons.svg' in that folder. The next time you start Inkscape, it will show the icons included in the new 'icons.svg' file. The trick there is that when the missing icons are included (with proper object IDs) in the icons.svg file, they show up properly on menus and toolbars instead of blank document icons with 'x's. Inkscape has its default icons.svg (usually in C:\Program Files\Inkscape\share\icons folder) but it is overridden by your icons.svg file placed in %APPDATA%\inkscape\icons.

In Linux, the user's Inkscape icons folder is:

~/.config/inkscape/icons

Now, where to find a modified icons.svg file? The quickest way is to Google for 'Inkscape missing icons'. That's what I did. ;-)

Icons.svg from the Web

Logo designer Nick Saporito, who provides a lot of good Inkscape tutorials on YouTube, designed and shared modern-looking main tool icons, in both light and dark styles:


(I used Solmiler's Placebo visual style 'Ashtray' for Windows 7 to show the dark-theme icons.) However, take note the rest of the icons in Nick Saporito's icons.svg modifications are still in the original GTK+ style (and, if you're on Windows™, the 'template', 'revert', 'undo' and 'redo' buttons may still be 'x'ed) so you may want to use another icons.svg iconset).

If you only want Inkscape darkened, you can follow these instructions from bhavyesh2567 from the Inkscape forums. The 7zip file comes with a modified gray monochrome Tango-style icons.svg intended to stand out in a dark background:

This still has missing 'templates', 'revert', 'undo' and 'redo' icons.

If you don't like the dark background but want the monochrome icons, download and use the icons.svg provided by samueldellicour in the same thread (this is a bigger-than-usual icons.svg file, as there are alternative icons, but the 'templates', 'revert', 'undo' and 'redo' icons are still 'x'ed on Windows):

Here's a flat gray version provided by Alexi Helligar:
Note that his screenshot was done in Linux so, even though his screenshots have the 'templates', 'revert', 'undo' and 'redo' icons, they're still in the old, non-flat GTK+ style. They're 'x'ed on Windows.

Un-Xed

As you can see, the previously-mentioned modified icons.svg may have changed the icon style, yet they still failed to address the 'x'ed icons problem on Windows (and some of them even changed icons to the point of unfamiliarity). I think this is a matter of using the proper icon ID verb tags in the icons.svg file. [Use the ones in parentheses (usually preceded by 'INKSCAPE_ICON' and with hyphens in between words) and put these in the ID field (without the double quotes) of the selected object's properties (CTRL+SHIFT+O)]:



If you want all the correct (un-'x'ed) icons, get the official bugfix icons.svg file from this Inkscape bug thread.

Another one, based on this, is BobSongs' modified icons.svg file (at the Inkscape forums) where "Edit > Undo" and "Edit > Redo" are coloured differently than their original counterparts to work against a more darker grey system theme.

These last two solve the 'x'ed icons on Windows. The official bugfix icon even has alternative icons for RTL systems, although I wasn't able to test these.

However, even with the 'x'ed icons solved on Windows, there's still a consistency problem as you can see below (using Alexi Helligar's modified icons.svg):

This is because some of the UI icons are not taken from the icons.svg file but from Inkscape's other library (DLL) files. Consequently, these are still in the old 'clip-arty' GTK+ style and may stick out like a sore thumb for some. If you don't want inconsistency, stick with the official bugfix icons.svg – although the icon style may turn you off. Inkscape may one day offload these icons from DLLs and put these in the icons.svg file where they can be customized.

Speaking of customizing icons, ten years ago, I still had the time (and the eyesight) to do that. I hope I could make a customized icons.svg file and share it to you one of these days. ;-)

Comments

Popular posts from this blog

Create 'Fake Identity Generator'-style email addresses and passwords in Excel

Last week I needed to compile a list of several hundred fake customer names with fake (but verifiable) email addresses and passwords to test a client's eCommerce site. Fake data generators At that time, I knew of only two online identity generators: Fake Identity Generator  (FIG) and GenerateData.com  (GD). By accepting three user-specified parameters (country, gender, age range) FIG outputs a lot of nice fake data, including disposable (but accessible) YopMail email addresses and relatively easy-to-remember passwords. However FIG doesn't provide free bulk identity generation so I had to generate and copy-paste identities one at a time – a very slow process – along with manually creating accounts using these fake identities at the client site (I had no access to the client content management system so I couldn't bulk register the fake identities). On the other hand, GD allows bulk generation of identities (up to 100 at a time) for free (and with more paramete

Make a quick-&-dirty repeating pattern in Inkscape (using hexagon base)

[Note: This was first published as a Facebook Note on January 29, 2016 . I am making it available here to add to the Inkscape pattern tutorials.] This is based on a tutorial for making hexagonal tiles for David White’s “The Battle for Wesnoth”, but you can skip the 72×72-pixel requirement. You can make your base hexagon in any size that looks good at 100% zoom. First, make a hexagon using the “Create stars and polygons” tool. Press the CTRL key while you’re dragging the cursor to make a proportioned hexagon like this: You may have to move the cursor around to have the hexagon lie on its side. Next, with the hexagon selected, remove the outline by holding SHIFT and left-clicking the ‘X’ swatch in the color palette: Replace the hexagon’s color with what you want by left-clicking the color swatches in the color palette – almost black, in this case: Next, add your main decoration. I just dropped-in a dragon I found at Wikimedia Commons: Group the hexagon and the object (selec

Quick AdWords keyword match formatting in Google Docs and Excel

If you often work on AdWords text ads, you'll like this little spreadsheet that will make the keyword matching tags automatically for you. As you know, the matching convention for keywords is: Exact Match Phrase Match Modified Broad Match [this is a keyword] "this is a keyword" +this +is +a +keyword Imagine how tiresome doing this would be, for every word, if you have hundreds of keywords (or search terms). Here's a Google spreadsheet that will do this for you: Keyword Match Tagger . You just paste your search terms (one search term per line) on the "Keyword" column, and the other columns will populate with the keyword matching tags which you can then copy to your own spreadsheet. If you pasted in keywords with duplicates, those will be highlighted in red. Since modified broad match does not consider the order of the words in a search term, the "MMB Duplicate Detector" column will rearrange the words alphabetically in a search term and highl