You are not logged in.
Pages: 1
Hi,
Quite often I have to install XFCE on SSD+HDD disks where "/" is on SSD while on HDD I just have those big folders such as videos and downloads symbolic linked to my /home/user partition.
The drawback is that in Thunar and Nemo, linked folders are shown with the arrow in the bottom right corner which I don't like to see.
Is there any method to show the folder icon just as a normal one (without the arrow) ?
I tried to look for on startpage.com but I didn't get any relevant results.
Thank you in advance
Offline
There are two ways that this can be achieved:
1. Using "mount --bind" to bind the contents of one directory to another (no symbolic emblem will be used for these folders).
sudo mount --bind /media/DATA/Videos /home/toz/Videos
2. Remove the symbolic link emblem system-wide:
The icon responsible for that emblem is emblem-symbolic-link. Search your current icon theme for that icon (there may be multiple size instances). Change that icon to be a blank transparent icon of the same size (good idea to keep a copy of the original somewhere). Once complete, make sure you run:
sudo gtk-update-icon-cache /path/to/icon/theme/folder
...to update the icon cache. You may need to kill all thunar instances with:
thunar -q
...for it to take effect.
As an example, default Xubuntu 14.04, icon theme = elementary-xfce-darker that inherits the main elementary-xfce icon theme. elementary-xfce has emblems/48/emblem-symbolic-link.png (the only emblem-symbolic-link file in either the elementary-xfce-darker or elementary-xfce themes). I edited the file in gimp, removed everything leaving only the transparent background, and saved the file.
Ran "sudo gtk-update-icon-cache /usr/share/icons/elementary-xfce" (also rebooted here, but not sure its necessary, maybe just "thunar -q" would work) and the link emblem was gone (or at least, transparent).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Toz,
I was already thinking about the method#2 but found it as a not "professional" way to do it, anyway I have now learnt the bind mount which successfully solved my problem. In addition bind mounts can be used also in fstab so that I do not have to write any scripts for the mount at boot.
A big thank you!
Offline
Sorry for hijacking old thread, I just want to add that we can use
sudo gtk-update-icon-cache /usr/share/icons/*
This on all cache, so it will work accordingly, example we have ~/.icons/default, then this icon can only be indexed using that comand, even when we force using gtk-update-icon-cache ~/.icons/default -t -f -i, it will make no different, so....
Better use that for all/whole icon pack.
tested on Fedora 38 XFCE Spin
Offline
Pages: 1
[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 534.82 KiB (Peak: 535.66 KiB) ]