dCore Import Debian Packages to Mountable SCE extensions > dCore X86

Basic HowTo dCore-xenial for murga-forum.com/puppy planning puppy-lookalike

(1/3) > >>

mcewanw:
Hi,

There is a fair amount of interest on murga puppy forum in Core and dCore, with a project thread started there planning to use Core or dCore to build a puppy-lookalike. I have recently posted a 20 step HowTo there, which shows how to install dCore-xenial onto a usb-stick (or harddrive) booted via grub4dos (which is what most Puppy users are used to) and in a file directory structure more familiar to Puppy and DebianDog/XenialDog users. You can find the howto here:

http://www.murga-linux.com/puppy/viewtopic.php?t=109859

William

Jason W:
Thanks William.

mcewanw:
Searched forum but can't find answer to the following, sorry.

Having a slight issue with getting icons to automatically appear onto wbar following sce-import and sce-load. I note that the .desktop file should contain a line of the form X-FullPathIcon=<full path to desired icon> but that only seems to work if the apps desktop file is stored in /usr/local/share/applications and not (like most Ubuntu apps) if stored in /usr/share/applications. Should the mechanism not search through various possible locations for the apps desktop file?

Also, I find that an icon for firefox (currently ver 52.0) does appear in wbar even though I can't see any reference to X-FullPathIcon in its desktop file. How does that work?

Many thanks in advance for enlightenment on these issues.

William

Jason W:
I have not used wbar in a while, was working last time i did.  I will revisit it.  Either /usr/share/applications or /usr/local/share/applications should work in dCore for. desktop files.  And the X-FullPathIcon= should not be needed.

mcewanw:
Hi Jason,

I just had a look in /tmp/tcloop/wbar/usr/local/bin/wbar_update.sh since that looked like a likely script to auto-put the icons on wbar. I note that there is code for both /usr/share/applications/ and /usr/local/share/applications.

At a glance the code does check for X-FullPathIcon but only for the /usr/local/share/applications case.

For /usr/share/appliations case it seems to check "Icon=" and expects the name given there to be in /usr/share/pixmaps as a png or an xpm. I'm guessing that's why it maybe doesn't always find the icon (since might be stored elsewhere). I guess X-FullPathIcon isn't checked for /usr/share/applications desktop file case because special tinycore-made extensions are always designed for /usr/local/share/applications so only these are likely to be manually modified to include X-FullPathIcon line? Makes sense.

If above correct, nothing to worry about. Easy enough to add the icon to wbar manually or via wbar-config.

William

Navigation

[0] Message Index

[#] Next page

Go to full version