Author Topic: Icons  (Read 3074 times)

ddjolley

  • Newbie
  • *
  • Posts: 15
    • View Profile
Icons
« on: June 19, 2005, 03:12:15 pm »
I have added xmms, konqueror, opie-eye, and opie-mail.  For the first 3, icons eventually showed up on the applications screen although it took a while.  I haven't seen an icon for opie-mail thus far.  It appears that the icons don't get installed as a part of the package installation process.  Apparently it takes something else to get them in place.  So, my question is, what do I do when I install a new application if I want an icon to be available for launching that application?  Thanks for any input.

     ... doug

samac

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Icons
« Reply #1 on: June 19, 2005, 03:46:08 pm »
Use the shutdown utility and restart opie.

Or
Code: [Select]
ipgk-link add packagename
Are you installing things from the command line as package manager adds the icons everytime for me.

samac
Zaurus SL5500
Hentges 1.0.x
64mb CF card
256mb SD card
Pocket-top Keyboard
Slackware 11.0 (2.6.17.13)

ddjolley

  • Newbie
  • *
  • Posts: 15
    • View Profile
Icons
« Reply #2 on: June 19, 2005, 06:22:02 pm »
> Use the shutdown utility and restart opie.

> Or
Code: [Select]
ipgk-link add packagename
> Are you installing things from the command line as package manager adds the icons everytime for me.

Thanks for responding.

As I say, so far the only one that continues to be iconless is opie-mail.  All of the others were ultimately supplied an icon presumably (based on your comments) the next time I re-started opie.

Since I almost always install to my sd card, I typically follow the installation with :

ipkg-link, mount <path_to_dest>

Using 'add' rather than 'mount' probably makes more sense.  I'm just concerned that if there were any other packages installed because of dependency requirements and those packages needed to have links created, those links might not be created if I use 'add' rather than 'mount'.  If I could somehow convince myself that this is not a problem, using 'add' would definitely be the way to go.

I am installing from the command line.  I have, on several occassions, encountered difficulty with package manager where invoking ipkg from the command line has always worked flawlessly for me.  That being the case, I just decided to adopt the policy of always installing from the command line as the path of least resistance.  Perhaps I need to re-think that policy.  If I install from the command line, is there something I can do manually to replicate what package manager does in terms of placing the icons on the desktop?

Thanks for your input.

      ...doug

samac

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Icons
« Reply #3 on: June 20, 2005, 04:34:55 am »
My knowledge doesn't run deep enough to give the details of how package manager works, however you are correct to be cautious, I have had trouble in the past using package manager, but it works fine when only doing one or two package additions or subtractions at a time.

samac
Zaurus SL5500
Hentges 1.0.x
64mb CF card
256mb SD card
Pocket-top Keyboard
Slackware 11.0 (2.6.17.13)

ddjolley

  • Newbie
  • *
  • Posts: 15
    • View Profile
Icons
« Reply #4 on: June 21, 2005, 11:51:38 pm »
> but it works fine when only doing one or two package additions or subtractions at a time.

I always only SPECIFY one addition at a time.  The thing is that, because of dependencies, even though I only specify  one package, ipkg may attempt to install multiple packages.

Any thoughts on how I can get the opie-mail icon up on the desktop?

Thanks.

     ... doug

samac

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Icons
« Reply #5 on: June 22, 2005, 07:10:19 am »
This is from an earlier thread.

Quote
QUOTE (grog @ Jan 4 2005, 08:45 PM)
is there any way I can add an icon to run the start_net.sh script (or any script for that matter), and if so, how?

QUOTE (lardman @ Jan 5 2005, 06:04 AM)
Yes, just create a .desktop file and change the binary it points to to one in /opt/QtPalmtop/bin (either move start_net.sh there, or create a symlink there).

Ok, I found the .desktop files, and they seem to be placed in an apps dir, but there's serveral apps dirs:

/home/QtPalmtop/apps
/home/opt/QtPalmtop/apps
/home/opt/QtPalmtop/share/apps
/root/.kde/share/apps
/root/kdepim/apps

Which is the 'correct' one to place my new files into? I'm guessing the /home/opt/QtPalmtop/apps, 'cause that seems to have all of my 'active' icons in it.


Looking at these files, some are pretty simple, like like the one for nethack:

root@poodle:/home/opt/QtPalmtop/apps/Games# cat nethack.desktop
[Desktop Entry]
Comment = Classic Dungeon Adventure Game
Exec = nethack
Icon = NetHack
Name = NetHack
Type = Games
CanFastload = 0

So the default bin path is /opt/QtPalmtop/bin as you mentioned, but where does it pull it's iocns from? There's no 'icon*' dir that I can see.

thanks for your help.

Just modify as required and you should get your icon.

samac
Zaurus SL5500
Hentges 1.0.x
64mb CF card
256mb SD card
Pocket-top Keyboard
Slackware 11.0 (2.6.17.13)