WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] PCmanfm not initializing  (Read 6541 times)

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
[Solved] PCmanfm not initializing
« on: January 06, 2021, 03: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.
« Last Edit: January 12, 2021, 10:05:24 AM by Rich »

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: PCmanfm not initializing
« Reply #1 on: January 10, 2021, 08:41:38 AM »
Sounds like the startup script could use some fixing.

Which platform are you using ? 32-bit or 64-bit

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: PCmanfm not initializing
« Reply #2 on: January 10, 2021, 01:58:56 PM »
32 bit

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: PCmanfm not initializing
« Reply #3 on: January 11, 2021, 11: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 ?

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: PCmanfm not initializing
« Reply #4 on: January 12, 2021, 08: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!

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: PCmanfm not initializing
« Reply #5 on: January 12, 2021, 09:00:49 AM »
Need to update the extension btw for future download. Moderator pls. mark this as SOLVED. Thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14756
Re: PCmanfm not initializing
« Reply #6 on: January 12, 2021, 09: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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11516
Re: [Solved] PCmanfm not initializing
« Reply #7 on: January 12, 2021, 10:07:30 AM »
Hi cute curtis
... Moderator pls. mark this as SOLVED. Thanks.
Marked.

Offline cute curtis

  • Full Member
  • ***
  • Posts: 102
  • Welcome In Da Club
Re: [Solved] PCmanfm not initializing
« Reply #8 on: January 12, 2021, 05:31:55 PM »
I'm sorry but the problem reoccurred after I deleted Seamonkey on onboot list