Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
21
rated 0 times [  21] [ 0]  / answers: 1 / hits: 22341  / 2 Years ago, sun, october 30, 2022, 7:02:57

I created a script for XChat according to this answer, and I was wondering if there is anyway to apply XChat icon to it.


More From » scripts

 Answers
2

Create a .desktop file like this and put it in /usr/share/applications/



[Desktop Entry]
Type=Application
Name=XChat Firefox
Exec=/usr/bin/your_script
Icon=/usr/share/icons/xchats_icon


"XChat Firefox" will then be a launchable application with XChat's icon. Exec can also take a bash command (with arguments, optionally) as its value.



For a complete explanation of the .desktop format, see this specification.


[#43556] Monday, October 31, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nquirewha

Total Points: 256
Total Questions: 109
Total Answers: 122

Location: Namibia
Member since Mon, Feb 21, 2022
2 Years ago
nquirewha questions
Wed, Jan 26, 22, 03:38, 2 Years ago
Mon, Nov 1, 21, 13:50, 3 Years ago
Thu, Dec 1, 22, 09:23, 1 Year ago
;