Forum › Forums › New users › New Users and General Questions › How do I change an icon from an app whose exec is from /opt directory?
- This topic has 10 replies, 5 voices, and was last updated Jun 21-4:26 am by Xunzi_23.
-
AuthorPosts
-
June 19, 2025 at 6:51 pm #179726
Nouveau
MemberAt this resplendent time, I have installed an application whose executable is in the /opt directory. I have tried to find any .png files matching the name of the applications using find. How do I change the icon of an app that is from the /opt directory?
Just your average antiX user
June 19, 2025 at 7:21 pm #179727Nouveau
MemberAlso, the application image looks like this before I unlock the password for the application (You can set a password for the application):
Attachments:
Just your average antiX user
June 19, 2025 at 7:24 pm #179729
melodieMemberYou need to find the *.desktop file belonging to.this package and look for the “Icon=” line using a text editor. This will give you the name of the icon. Then look for it in /opt and also in /usr/share/icons.
In the console cd to the said directories. Then use find:find . -name “*the-icon-name*”
(Be careful not to miss a ‘.’ or a.space, nor a ” .. )
- This reply was modified 1 year, 3 months ago by melodie.
- This reply was modified 1 year, 3 months ago by melodie.
- This reply was modified 1 year, 3 months ago by melodie.
June 19, 2025 at 7:33 pm #179733Nouveau
MemberThe icon’s name is session-desktop, but isn’t oftentimes the icon name different from the one that show’s up on the taskbar?
I’ve changed the directory to /opt and /usr/share/icons
No results came when I copied and pasted your command and changed the “the-icon-name” part to this
find . -name “*session-desktop*”
Just your average antiX user
June 19, 2025 at 10:38 pm #179734BobC
ModeratorDid you check to make sure that wasn’t going to cause problems for your antiX system? Hopefully you are testing this on a live USB first.
Of course you didn’t tell us what package it was that you installed, so we don’t have much to go on.
Maybe it doesn’t include an icon? The one you posted is a default. If the package included a .desktop file, paste in the contents of it.
What exactly are you trying to do?
Here is the link to SEARCH THE FORUM >> http://www.antixforum.com/search-forums
June 19, 2025 at 11:16 pm #179735Nouveau
Member@BobC
No, I am not testing on live usb.
I installed the session messenger application following the debian install guide:
In Session Messenger, you can set a password before messages are accessed
The icon on the page where it asks you for your password is in fact a default one
However, when you enter the password it changes to a different icon with a green S
I would like both to be a custom icon for both.
Desktop file is as follows:
[Desktop Entry]
Name=Session
Exec=/opt/Session/session-desktop %U
Terminal=false
Type=Application
Icon=session-desktop
StartupWMClass=Session
Comment=Private messaging from your desktop
Categories=Network;InstantMessaging;Chat;Just your average antiX user
June 20, 2025 at 7:38 am #179746
melodieMemberNo results came when I copied and pasted your command and changed the “the-icon-name” part to this
find . -name “*session-desktop*”
Then something is wrong in their package. You might try either
sudo find . -name "*session-desktop"”or “sudo ls -lR /opt/<package directory> > /hoome/you/list-files.txtThen have a look in the list?
June 20, 2025 at 9:12 am #179749BobC
ModeratorIts good that it looks like its not a session manager that would conflict with antiX’s system.
If you put a copy of that .desktop file in ~/.local/share/applications antiX’s utilities might be able to find and use it. I’m guessing it will appear on the internet menu and app-select, as well as the IceWM toolbar icon manager if you do that.
PS: You could try changing the name of the icon in the .desktop file to the one you want to appear. My guess is it might work for the menu, app-select and the toolbar,but not sure if it will work for the taskbar.
- This reply was modified 1 year, 3 months ago by BobC.
Here is the link to SEARCH THE FORUM >> http://www.antixforum.com/search-forums
June 20, 2025 at 9:13 am #179750BobC
ModeratorNo results came when I copied and pasted your command and changed the “the-icon-name” part to this
find . -name “*session-desktop*”
Then something is wrong in their package. You might try either
sudo find . -name "*session-desktop"”or “sudo ls -lR /opt/<package directory> > /hoome/you/list-files.txtThen have a look in the list?
He just didn’t give us the correct name of the file is my guess…
- This reply was modified 1 year, 3 months ago by BobC.
Here is the link to SEARCH THE FORUM >> http://www.antixforum.com/search-forums
June 20, 2025 at 12:28 pm #179766
DaveForum AdminHe just didn’t give us the correct name of the file is my guess…
Probably a snap file, or some other prepackaged all in one app deal.
Likely need to extract/download the icon file and place it in the icon pack or /usr/share/pixmaps so it can be referenced. Alternatively provide the full path in the .desktop file to the icon.Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
June 21, 2025 at 4:26 am #179808Xunzi_23
MemberHi, this is Session Messenger, icons are available in the appimage usr share folder.
To get the icon or icons rename the appimage adding.zip at the end of the name then unpack.
you can copy icons to appropriate locations using rox or other file manager, sudo needed.The appimage is full of chromium code, no idea how trustworthy, it might be the easier option
to use on antiX.
https://getsession.org/privacy-policySession is located in Switzerland and claims to be very private, please remember Switzerland
monitors all connections/connections to other by government wiretapping project and encryption
is under attack. Plese read. Alarming aspect of proposed Swiss law revisions is the obligation
to undermine encryption by backdoor or other.,
https://www.isoc.ch/swiss-surveillance-ordinance-encryption-threat-vupf-oscpt/ -
AuthorPosts
- You must be logged in to reply to this topic.