Tiny Core Linux

General TC => Tiny Core Netbooks => Topic started by: cute curtis on January 06, 2021, 12:12:26 AM

Title: [Solved] PCmanfm not initializing
Post by: cute curtis on January 06, 2021, 12:12:26 AM
Hi I got problem running pcmanfm file manager on first click as it is not opening, I had to execute some Ondemand app like gnome-calculator before I could make it work.
Title: Re: PCmanfm not initializing
Post by: polikuo on January 10, 2021, 05:41:38 AM
Sounds like the startup script could use some fixing.

Which platform are you using ? 32-bit or 64-bit
Title: Re: PCmanfm not initializing
Post by: cute curtis on January 10, 2021, 10:58:56 AM
32 bit
Title: Re: PCmanfm not initializing
Post by: polikuo on January 11, 2021, 08:33:18 PM
This is the startup script for pcmanfm:
Code: [Select]
tc@box:/tmp$ cat squashfs-root/usr/local/tce.installed/pcmanfm
#!/bin/sh
# borrowed from bmarkus the LXDE guru

if [ ! -f /home/$USER/.gtkrc-2.0 ] ; then
   USER=`cat /etc/sysconfig/tcuser`
   cp /usr/local/share/pcmanfm/.gtkrc-2.0 /home/$USER/
   # echo 'include "/home/$USER/.gtkrc-2.0.mine" ' >> /home/$USER/.gtkrc-2.0

   chown $USER:staff /home/$USER/.gtkrc*
   chmod 644  /home/$USER/.gtkrc*

This is the startup script for gnome-calculator
Code: [Select]
tc@box:/tmp$ cat calc/usr/local/tce.installed/gnome-calculator
#!/bin/sh

glib-compile-schemas /usr/local/share/glib-2.0/schemas

I believe you'll need to add that line to pcmanfm.

Can you confirm that as I don't have a working machine around ?
Title: Re: PCmanfm not initializing
Post by: cute curtis on January 12, 2021, 05:57:30 AM
I've already added the line 4
Code: [Select]
glib-compile-schemas /usr/local/share/glib-2.0/schemas to pcmanfm startup.

Working like a charm :-). Thank you!
Title: Re: PCmanfm not initializing
Post by: cute curtis on January 12, 2021, 06:00:49 AM
Need to update the extension btw for future download. Moderator pls. mark this as SOLVED. Thanks.
Title: Re: PCmanfm not initializing
Post by: Juanito on January 12, 2021, 06:54:37 AM
Here's what I see with pcmanfm from the x86 11.x repo:
Code: [Select]
$ tce-load -i pcmanfm
...
gtk-query-immodules-2.0: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
...
$ pcmanfm
pcmanfm: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

If I then add pcre as a dep of gtk2, pcmanfm works without the need for gsettings.

gtk2 dep file adjusted.
Title: Re: [Solved] PCmanfm not initializing
Post by: Rich on January 12, 2021, 07:07:30 AM
Hi cute curtis
... Moderator pls. mark this as SOLVED. Thanks.
Marked.
Title: Re: [Solved] PCmanfm not initializing
Post by: cute curtis on January 12, 2021, 02:31:55 PM
I'm sorry but the problem reoccurred after I deleted Seamonkey on onboot list