You are not logged in.
I'm new to Xfce, and still trying to figure my way around. I run Xfce4 on top of Arch, and every time I want to create a URL shortcut on the desktop, the icon will always, 100% of the time, default to the Location Icons/Folder icon. I then have to navigate to either All Applications, or Application Icons, then select the Firefox icon for the shortcut. This happens no matter if I create the shortcut manually via right-click, or if I drag the URL from the address bar of Firefox. Not the end of the world, but the extra steps required to get what I would consider a default URL shortcut icon are just a little annoying to me. There is already a www.<whatever> address location in the URL: text entry line in the Create Link dialog box, and my default system web application is set to Firefox, so it makes me wonder if I have missed a setting or something along the way?
Is there something I can do so that the default icon for a URL shortcut will be the Firefox icon, instead of a Folder icon?
TIA!
Last edited by Doppleganger (2021-05-24 04:36:03)
Offline
It is hard-coded to use the "user-bookmarks" icon. If you want to change this you have two options:
Edit the source code and change "user-bookmarks" to "firefox"
Replace all instances of your icon theme's "user-bookmarks" icon with a comparable "firefox" icon.
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
It is hard-coded to use the "user-bookmarks" icon. If you want to change this you have two options:
Edit the source code and change "user-bookmarks" to "firefox"
Replace all instances of your icon theme's "user-bookmarks" icon with a comparable "firefox" icon.
Excellent, thank you! And of course, one final question.... where do I place the edited main.c file when it's ready? I've looked in /bin and /lib without finding a file that has this name.
Offline
Nevermind, I get it now. I need to edit the main.c file after cloning the project, and then compile exo and install it. There is one thing I don't understand, however. At what point will I need to do this process again? I assume that sooner or later, something in the Xfce system will get updated, and I will once again have to clone the project, make the edit, compile the library, and re-install it.
What should I watch for as an indicator that I need to do that again? As always, thanks much for your help on this!!!
UPDATE: The edit of main.c went excellent, and after install, the default icon is now the firefox icon. I am VERY happy with this outcome, and I can't thank you enough for your help! I swear, everywhere I read on this forum, and you seem to have the answer to most all questions that arise. You are, indeed, a very knowledgeable person!! Have you ever considered becoming a Mod? :-)
Last edited by Doppleganger (2021-05-24 04:35:19)
Offline
Short answer: you will need to rebuild from source every time your distro updates the exo package.
Longer, more sustainable answer: depending on your distro, you should look at using a built-in process to supersede the repository exo package (e.g. in Arch - the AUR, in debian-based distros - custom package builds, etc).
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
I'll look into trying to find an Arch Linux 'built-in process'. Thanks again!
Offline
For Archlinux, it would be AUR packages.
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
For Archlinux, it would be AUR packages.
At this point in my education, I believe the method above re: creating packages to be outside my wheelhouse.
My probable approach will most likely be to monitor my updates, and when I see one for exo, rather than doing the update thru pacman/yay/paru, I'll go the the github page, and do what I did last night. While it's not the most optimal approach, it's the one that I'm capable of doing now that I have done it once.
But when I have more time to learn, I will review that link you just provided, and see if it's something I care to dive into!
Offline
[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 547.92 KiB (Peak: 548.77 KiB) ]