Hot answers tagged

18

Run this in a terminal : gsettings set org.gnome.nautilus.icon-view default-zoom-level small


17

I can think of at least 2 options you can choose from: 1. use LXAppearance LXAppearance can change the GTK2/3 icons (and themes, fonts, etc.). LXAppearance is part of the LXDE desktop environment, but as you can see on the package page, its dependencies are only dbus-glib and gtk2. I prefer using LXAppearance because it gives access to all important theme-...


16

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.


16

Found it on imagemagick.org site: convert image.png -bordercolor white -border 0 \ \( -clone 0 -resize 16x16 \) \ \( -clone 0 -resize 32x32 \) \ \( -clone 0 -resize 48x48 \) \ \( -clone 0 -resize 64x64 \) \ -delete 0 -alpha off -colors 256 favicon.ico


14

To run your script by double clicking on its icon, you will need to create a .desktop file for it: [Desktop Entry] Name=My script Comment=Test hello world script Exec=/home/user/yourscript.sh Icon=/home/user/youricon.png Terminal=false Type=Application Save the above as a file on your Desktop with a .desktop extension. Change /home/user/yourscript.sh and /...


12

Just go to "dconf-editor", then org -> gnome -> nautilus -> icon-view, and set the default-zoom-level small


11

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 far as I can remember.


9

This works for me. Might not work with all applications and all window managers. The pam format is at least supported by ImageMagick, so you can view it with display and convert it to other formats if need be with convert: xprop -notype 32c _NET_WM_ICON | perl -0777 -pe '@_=/\d+/g; printf "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\nMAXVAL 255\nTUPLTYPE ...


9

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 .desktop file, that relies on icon themes, so it’s worth reading the icon theme spec. Ideally you should use xdg-icon-resource to install icons locally.


8

Run the application under xtrace. It'll log all communications between the application and the X server, including the command to send or receive an X client message. xtrace myapp


7

To answer my own question: Ignacio's answer takes care of the large icon on the system menu, and the taskbar launcher if you add one. Changing the icon on the taskbar button/panel button took more digging. Uninstalling the 'native' Firefox from LMDE (sudo apt-get remove firefox) and installing the tar.gz from http://getfirefox.com still left me with the ...


6

xseticon allows you to do exactly that.


6

Its actually very simple to do that. Just go to your Nautilus files preferences and click on 'Behavior' tab. Under the 'Executable Text Files' check 'Ask each time' or 'Run executable text files when they are opened'. Please look at the screenshot for reference.


5

Have you looked in /usr/share/xfce4/xkb/flags/? I guess changing these files could do the trick.


5

what does ~/.xsession-errors say? Does it hint on the error that a validation would give? What does desktop-file-validate say? It should say something like this: sm.desktop: error: (will be fatal in the future): value "sm.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the ...


5

I would think that SVG is preferred, because they are scalable to any size. This should also answer your second question. For other formats, there are a variety of sizes. I got the following counts from my Ubuntu installation. Based on this, I'm guessing you should include 8, 16, 22, 24, 32, 48, and 256. 17M /usr/share/icons/gnome/scalable 628K /usr/...


5

Yes, it does have an icon name: inode-fifo. The icon name usually matches the mime type, in this case inode/fifo. And yes, you cannot find it in the official docs because the specification does not list all possible icon names it only aims to (emphasize mine): lay out a standard naming scheme for icon creation, as well as providing a minimal list of must ...


5

Install Nautulus (avoiding the whole gnome desktop with --no-install-recommends) sudo apt-get install -–no-install-recommends nautilus dconf-tools Open dconf-editor. Click twice on org -> gnome -> nautilus -> preferences -> desktop-is-home-dir. It should be left disabled. Edit ~/.config/user-dirs.dirs. Add XDG_DESKTOP_DIR="$HOME/Desktop to the bottom of ...


5

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 will change the size of the desktop icons as well.


5

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


4

Here is a more complete $HOME/.config/user-dirs.dirs for anyone that doesn't have the file at all: XDG_DESKTOP_DIR="$HOME/Desktop" XDG_DOWNLOAD_DIR="$HOME/Downloads" XDG_TEMPLATES_DIR="$HOME/" XDG_PUBLICSHARE_DIR="$HOME/" XDG_DOCUMENTS_DIR="$HOME/Documents" XDG_MUSIC_DIR="$HOME/Music" XDG_PICTURES_DIR="$HOME/Pictures" XDG_VIDEOS_DIR="$HOME/Videos"


4

Make sure $HOME/.config/user-dirs.dirs contains the line: XDG_PICTURES_DIR="$HOME/Pictures" Then restart Thunar.


4

Assuming you are using something like Gnome, Xfce or some compliant desktop environment; a good alternative is to create a .desktop file. For example unix_stackexchange_com.desktop with the following contents: [Desktop Entry] Version=1.0 Name=Unix & Linux Comment=Link to Unix & Linux. Exec=google-chrome http://unix.stackexchange.com Terminal=false ...


4

The applet for the Battery Monitor plugin does not use a simple icon. It draws a 2D vector graphic using the Cairo library. You can only edit the panel item's appearance within the limits provided by the plugin, which does not currently include an option for replacing it with an icon. It's normal that themes do not affect this panel item's appearance ...


4

I had a similar issue, I was getting the google keep icon instead of chrome. It seems to be a common issue with Docky, see http://wiki.go-docky.com/index.php?title=How_to_Customize_Window_Matching I simply followed their instructions, but to simplify: run: xprop | grep WM_CLASS | awk '{print $4}' This will give you a '+' shaped pointer. Use it to click on ...


4

One way of finding the location of the icon for an application is to add it to the panel (right click > add to panel) and then right click on the newly added icon to edit it. By clicking on the icon in "Launcher Properties" you'll get its location. For instance mintInstall is found in /usr/lib/linuxmint/mintInstall/icon.svg Having this you can then replace ...


4

The Numix circle icon theme for Arch Linux is packaged in the Arch User Repository (AUR). You may wish to read more about the AUR and how it works before you continue. However, I will provide the steps with explanations here for reference. First, visit the AUR page for numix-circle-icon-theme-git. Download the tarball containing the package build by ...


4

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 While zooming the icon view the icons are changed on the desktop at the same time. Zooming is not reflected while using detailed view! Edit: If you're on a ...


4

Look in ~/.config for a file named plasm-org.kde.plasma.desktop-appletsrc. It will contain something like: [Containments][25][Applets][35][Configuration][General] applicationName=GNU Emacs 24 genericName=Text Editor iconName=/usr/share/icons/hicolor/scalable/apps/partitionmanager.svg url=file:///usr/share/applications/emacs24.desktop Change the IconName ...


4

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 .desktop file: Exec=firefox --class FirefoxDevel %u It works for me for the same firefox executable, so as long as your versions support that flag, you ...


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