26 votes
Accepted

How to create ico file with more than one image

Newer versions have an easier command: convert -background transparent image.png -define icon:auto-resize=16,32,48,64,256 favicon.ico -background transparent is of course optional.
Tobias Kienzler's user avatar
26 votes
Accepted

Extract icons from Windows executable

There are a number of tools you can use. icoutils, available as the eponymous package in many distributions, includes a tool capable of extracting resources from most Windows executables (16-bit NE, ...
Stephen Kitt's user avatar
21 votes
Accepted

Is there a home directory location for overriding icons?

The historical equivalent is ~/.icons, the XDG equivalent is ~/.local/share/icons (strictly speaking, icons subdirectories of the paths in $XDG_DATA_DIRS). When you specify an icon by name only in a ....
Stephen Kitt's user avatar
19 votes

RHEL 7, GNOME shell - decrease desktop icon size

Run this in a terminal : gsettings set org.gnome.nautilus.icon-view default-zoom-level small
paul-emil's user avatar
  • 191
11 votes
Accepted

Thunderbird tray icon for mail notifications

In the past I used this plugin: https://addons.mozilla.org/en-US/thunderbird/addon/firetray/ a quote from the official plugin page: display unread messages count in tray icon Worked perfectly as ...
Luca D'Amico's user avatar
9 votes

How do I change the icon for an application on the KDE panel?

kmenuedit will allow you do it via GUI see this other question/answer https://askubuntu.com/questions/647121/how-do-i-set-custom-application-icons-in-kde
Mathieu J.'s user avatar
8 votes
Accepted

How to give each Firefox profile its own application icon in Plasma

I hope I have understood your question correctly. I assume the icons you are talking of are those of the tabs in the "Task Manager" widget of KDE Plasma's Panel. It looks like your question has an ...
fra-san's user avatar
  • 10.2k
7 votes

RHEL 7, GNOME shell - decrease desktop icon size

One more way how to change the size of desktop icons is directly from Nautilus: Open nautilus change the way of displayed icons to icon view NOT detailed view! zoom icons using Ctrl + mouse wheel ...
ino's user avatar
  • 317
7 votes

Why do freedesktop .desktop files not allow relative paths?

You could use an inline shell script to compute the path: Exec=sh -e -c "exec \\"\\$(dirname \\"\\$0\\")/some_app\\"" %k Yes, two levels of escaping are required.
Timothy Baldwin's user avatar
6 votes

Gnome 3.18 icon size

Or a workaround I've found to do that: Open (Unity/Gnome file manager) While holding CTRL, scroll with mouse scroll up/down to increase/decrease the icon sizes of the "Files" Amazingly enough this ...
Mike Rodov's user avatar
6 votes
Accepted

Why doesn't Rofi show icons on Debian 9 when run with drun-icon-theme option?

I wasn't seeing icons on Debian Sid either. Have you tried the -show-icons option? rofi -modi drun,run -show drun -font "DejaVu Sans 10" -show-icons
nab's user avatar
  • 176
6 votes
Accepted

How to change icons and tray icons in Gnome?

There are a few things you need to understand. Gnome doesn't support system tray since 3.26. It's their decision and we should accept it. Some people don't agree with this and they started creating ...
BlueManCZ's user avatar
  • 1,753
6 votes

List / folder of all GTK icons and their names

You can set a widget to have a certain icon using the icon-name property with admitted values the ones you find inside gtk3-icon-browser (ex-gtk3-icon-viewer): Some widgets which support other ...
Scrooge McDuck's user avatar
5 votes

Where are the icons in the ALT-TAB switcher loaded from? How can I edit them?

These icons are generally located in the /usr/share/icons/hicolor/<resolution>/apps/ directories. <resolution> corresponds to each resolution available: for instance, 22x22 or 128x128. ...
clk's user avatar
  • 2,146
5 votes
Accepted

How does Wine generate the image files for a Start Menu entry?

Wine includes a winemenubuilder program which takes care of this: it takes a Windows shortcut, and creates a matching FDO (FreeDesktop.Org) .desktop file. Icon extraction is part of this, handled by ...
Stephen Kitt's user avatar
5 votes
Accepted

Best way to check if Nautilus File Manager is running?

The best way to check whether there are any Nautilus windows open is to check for them on the session D-Bus: gdbus introspect --session --dest org.gnome.Nautilus \ --object-path /org/gnome/...
Stephen Kitt's user avatar
5 votes
Accepted

Increase System Tray Icon Size in KDE

Open ~/.config/plasma-org.kde.plasma.desktop-appletsrc with a text editor. Find every line starting with extraItems= Add another line iconSize=3 below each of those. Save the edited file and ...
K7AAY's user avatar
  • 3,816
4 votes
Accepted

GNOME confuses names of multiple different Firefox installations

Well, I might as well answer to your question. Try using the --class flag in firefox. If it matches the relative .desktop file, the various instances should be grouped correctly. For example, in your ...
AkiRoss's user avatar
  • 623
4 votes

How to set an icon for custom mimetype in Linux Mint Mate?

There were necessary steps I was unaware of. Add text/x-session session line to /etc/mime.types Copy icon file to theme folder: $ sudo cp my_icon.png /usr/share/icons/Mint-X/mimetypes/48/text-...
Egor Skriptunoff's user avatar
4 votes

How to dump the icon of a running X program?

Based on @Stéphane Chazelas amazing snippet I created a script to dump not just the first but all icons of a given window to .png images: #!/bin/bash if [[ "$1" == '--help' ]]; then echo ...
MestreLion's user avatar
  • 1,428
4 votes

Remove icons in gnome application menu

According to the FreeDesktop documentation (https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html) the correct option is NoDisplay=true for what you want to achieve. ...
cesar.rickinho's user avatar
4 votes
Accepted

How to use and display icon images in Linux terminal (like on OSX)

These are unicode symbols or emoji. Homebrew used to have a Beer Mug as a symbol in its output. As long as you have a font that supports them you will see them. On macOS you can go to the Edit > Emoji ...
Jacob Degeling's user avatar
4 votes
Accepted

Modify desktop application icon after progam opens e.g. in alt-tab

The problem is that gnome-shell needs to be able to associate the window with the .desktop file. In applications that don't use the GtkApplication API (i.e. most non-GNOME applications) this is done ...
Sebastian's user avatar
  • 961
4 votes

Why do freedesktop .desktop files not allow relative paths?

Keep in mind that the FreeDesktop standard is just that: a standard. In principle a vendor such as KDE, GNOME, LXDE, or XFCE could add support for relative paths without going through the standards ...
Nathaniel M. Beaver's user avatar
4 votes

How to iconify Anaconda Navigator on the task bar?

This works in Ubuntu 18.10: Download and install alacarte. sudo apt install alacarte Find and save an icon for Anaconda Navigator. Find where Anaconda Navigator is stored. "which anaconda-navigator" ...
JimFuqua's user avatar
  • 141
4 votes
Accepted

How to use icon fonts in text editor?

if I want to use a new icon, I don't know how to type it. Should I copy/paste it? From where? Should I use a tool such as CharMap? And then, how do I insert the unicode in the text editor? The go-to ...
Patrick Ziegler's user avatar
4 votes

Increase System Tray Icon Size in KDE

Debian 11, KDE Plasma In order to increase the size of systray icons, you need to edit the file /usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml Find the string ...
LnxUser's user avatar
  • 41
4 votes

tree command with icons

This already exists, for example in the shape of the lsd --tree "enhanced ls alternative". It has a limited range of icons, due to technical reasons: Basically, icons on the console either ...
Marcus Müller's user avatar
3 votes

Change icons of application in Linux Mint

On newer versions of Linux Mint (tested on 19.1) the accepted solution doesn't work. You have to go to /usr/share/applications with elevated privileges (command: sudo nemo) and then modify the icon ...
bazaarjack's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible