Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: thane on February 19, 2021, 03:00:39 PM
-
In x86 64 bit TC (versions 11.1 and 12.0) the icon for evince.tcz is duplicated in wbar after reboot. That is, after downloading and installing evince.tcz a single evince icon appears in wbar, but upon reboot the icon appears twice. Subsequent reboots have the same two icons. This happens on my desktop and laptop.
Maybe this is an evince problem and not a wbar one? Both icons work!
Thane
-
Hi thane
Maybe the same type of problem as mentioned here:
http://forum.tinycorelinux.net/index.php/topic,23933.msg150766.html#msg150766
-
Hi Rich, it looks like the evince.desktop file has 3 icon references; the other apps I checked only have 1 each. So that could be what it is. I have a 32-bit 11.1 system I can look at. Thanks.
-
The 32-bit 11.1 evince.desktop file only has 1 icon reference. Not sure why the code would be different for 64-bit, thought it was just a recompile? Maybe repos have different evince versions? Anyway, not something I want to mess with. I can live with dup icons!
Thane
-
Hi thane
... Click on the ControlPanel icon. Then click the tcWbarConf button. In the panel that says
Wbar Icons click on the name you don't want displayed and it wiil get moved to the eXclude Icons panel. Then click Apply.
-
Oops, I should have said, I did exclude one of the icons when the duplicates popped up the first time. That worked during the session, but then on subsequent boots no evince icon appeared in wbar.
-
Hi thane
The problem is that gnome-session requires a desktop file of the form org.gnome.gedit.desktop and wbar will not display a desktop file of this form if the X gui is already started (it is not a problem in wayland).
If the extension is loaded from the console and the X gui started, then two icons appear.
If you remove evince from your onboot.lst file and create a file in your ~/.X.d directory containing this line:
tce-load -i evincedoes it still create 2 icons?
-
Hi Rich, I removed evince from onboot.lst and created a file named "evince" in ~/X.d containing the command "tce-load -i evince.tcz" (no quotes).
This results in a single evince icon appearing in wbar, which works. There's a short lag between wbar appearing and the icon showing.
-
Hi thane
... There's a short lag between wbar appearing and the icon showing.
That's to be expected, since the loading of evince is being deferred until after the GUI is up and running.
Out of curiosity, if you refresh the wbar by right clicking on it, is there still only 1 icon for evince or does a second
one show up?
-
Hi Rich,
Still only one Evince icon after right-clicking on wbar.
-
Hi thane
Thanks for checking that.
-
This workaround is ok for me, I usually only boot once a day so waiting a couple seconds for an icon won't kill me. Thanks for the help!
Thane