General TC > Tiny Core Netbooks

[Solved] PCmanfm not initializing

(1/2) > >>

cute curtis:
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.

polikuo:
Sounds like the startup script could use some fixing.

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

cute curtis:
32 bit

polikuo:
This is the startup script for pcmanfm:

--- Code: ---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*

--- End code ---

This is the startup script for gnome-calculator

--- Code: ---tc@box:/tmp$ cat calc/usr/local/tce.installed/gnome-calculator
#!/bin/sh

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

--- End code ---

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

Can you confirm that as I don't have a working machine around ?

cute curtis:
I've already added the line 4
--- Code: ---glib-compile-schemas /usr/local/share/glib-2.0/schemas
--- End code ---
to pcmanfm startup.

Working like a charm :-). Thank you!

Navigation

[0] Message Index

[#] Next page

Go to full version