From: john on 30 Jan 2010 09:01 When I create an executable it has an icon of a gear wheel. Other executables (e.g., gvim) have custom icons associated with them that show up in konqueror etc. Assuming I have created a custom png of the right dimensions how do I associate a particular executable with that icon? John Culleton
From: Lew Pitcher on 30 Jan 2010 11:09 On January 30, 2010 09:01, in alt.os.linux.slackware, john(a)wexfordpress.com wrote: > When I create an executable it has an icon of a gear wheel. It sounds like you run KDE as your desktop environment. Am I right? To properly assist you, we need to know what desktop environment (name /and/ version) you use; the tools differ from DE to DE and version to version. > Other > executables (e.g., gvim) have custom icons associated with them that > show up in konqueror etc. Assuming I have created a custom png of the > right dimensions how do I associate a particular executable with that > icon? We can't give specific directions until we know more details about your system. In general, you have two separate issues: 1) On your launcher menu, associating an icon with an executable, and 2) In your file explorer, associating an icon with particular file types If you are asking about #1, then you need to find the "menu editor" for your program launcher. When you add your program to the menu, the "program details" menu will have a place from which to set the program's icon. Use that facility (button/text entry area) to specify the location of the icon you want to associate to the program. If you are asking about #2, then you need to find the "file types editor" for your desktop environment. When you add your data file type to the list of known file types, the "file type details" menu will have a place from which to set the file type's icon. Use that facility (button/text entry area) to specify the location of the icon you want to associate to that particular file type. -- Lew Pitcher Master Codewright & JOAT-in-training | Registered Linux User #112576 Me: http://pitcher.digitalfreehold.ca/ | Just Linux: http://justlinux.ca/ ---------- Slackware - Because I know what I'm doing. ------
From: john on 30 Jan 2010 12:34 On Jan 30, 11:09 am, Lew Pitcher <lpitc...(a)teksavvy.com> wrote: > On January 30, 2010 09:01, in alt.os.linux.slackware, j...(a)wexfordpress.com > wrote: > > > When I create an executable it has an icon of a gear wheel. > > It sounds like you run KDE as your desktop environment. Am I right? > To properly assist you, we need to know what desktop environment (name /and/ > version) you use; the tools differ from DE to DE and version to version. > > > Other > > executables (e.g., gvim) have custom icons associated with them that > > show up in konqueror etc. Assuming I have created a custom png of the > > right dimensions how do I associate a particular executable with that > > icon? > > We can't give specific directions until we know more details about your > system. > > In general, you have two separate issues: > 1) On your launcher menu, associating an icon with an executable, and > 2) In your file explorer, associating an icon with particular file types > > If you are asking about #1, then you need to find the "menu editor" for your > program launcher. When you add your program to the menu, the "program > details" menu will have a place from which to set the program's icon. Use > that facility (button/text entry area) to specify the location of the icon > you want to associate to the program. > > If you are asking about #2, then you need to find the "file types editor" > for your desktop environment. When you add your data file type to the list > of known file types, the "file type details" menu will have a place from > which to set the file type's icon. Use that facility (button/text entry > area) to specify the location of the icon you want to associate to that > particular file type. > > -- > Lew Pitcher > Master Codewright & JOAT-in-training | Registered Linux User #112576 > Me:http://pitcher.digitalfreehold.ca/| Just Linux:http://justlinux.ca/ > ---------- Slackware - Because I know what I'm doing. ------ Thanks. I use xfce. But icons seem to be the same in KDE4. I can associate a particular icon using the program launcher, which takes care of the kicker bar at the bottom. But when I view a directory in Konqueror I can see the icon using "properties" but not change it. So this is your situation 2. When I download and install new apps such as ecub they seem to bring their own icons and associations with them. I am willing to launch (ugh) KDE4 if this is required. John Culleton
From: Steve Masta on 30 Jan 2010 16:42 john(a)wexfordpress.com wrote: > On Jan 30, 11:09 am, Lew Pitcher <lpitc...(a)teksavvy.com> wrote: >> On January 30, 2010 09:01, in alt.os.linux.slackware, j...(a)wexfordpress.com >> wrote: > > Thanks. > > I use xfce. But icons seem to be the same in KDE4. I can associate a > particular icon using the > program launcher, which takes care of the kicker bar at the bottom. > But when I view a directory in Konqueror > I can see the icon using "properties" but not change it. So this is > your situation 2. When I download and install new apps > such as ecub they seem to bring their own icons and associations with > them. > > I am willing to launch (ugh) KDE4 if this is required. I haven't used xfce for a while but it uses the *.desktop files in /usr/share/applications/ Those files have a line like: Icon=/usr/share/pixmaps/firefox.png (for Mozilla Firefox) that gives you the icon. File associations are on a line like: MimeType=text/plain You can change the files (as root, and then you'll need to re-edit them each time you upgrade that program) or copy them to $HOME/.local/share/applications/ Boring details about .desktop files at: http://standards.freedesktop.org/desktop-entry-spec/latest/ I'm sure I'm leaving something out, but it's a start. Steve
|
Pages: 1 Prev: Looking for recommendations on how to perform a massiveupgrade. Next: slack 13.0 sendmail |