1
These are taken from Enrico Zini's blog entry:
2
http://www.enricozini.org/2006/tips/pcmanfm-nautilus.html
3
====================================================================
5
Replacing nautilus with pcmanfm
6
--------------------------------
7
To have pcmanfm start instead of nautilus:
9
1. Go to Desktop -> Preferences -> Session manager
10
2. Go to the 'Current Session' tab
11
3. There's an entry like 40 Restart nautilus --sm-config-prefix /nautilus-SoMeThInG/: remove it
12
4. Go to the 'Startup Programs'
13
5. Add an entry to run pcmanfm
17
1. Run gnome-session-remove nautilus
18
2. Go to Desktop -> Preferences -> Session manager
19
3. Go to the 'Startup Programs'
20
4. Add an entry to run pcmanfm
22
To configure pcmanfm to draw the background:
25
2. Go to Edit -> Preferences
26
3. Go to the Desktop tab
27
4. Enable "Show file icons on desktop"
28
5. Customise wallpaper as you wish
30
Alternatively, I wrote a little script that will generate a
31
~/.pcmanfm/main configuration file from you taking some settings from
36
# Generate a pcmanfm configuration file reading values from gconf
38
echo "# ~/.pcmanfm/main configuration file generated by $0"
42
echo 'terminal=gnome-terminal'
48
# Detect wallpaper setting
49
WALLPAPER=`gconftool-2 --get /desktop/gnome/background/picture_filename`
50
if ! [ -z "$WALLPAPER" ]
52
echo 'showWallpaper=1'
53
echo "wallpaper=$WALLPAPER"
56
# Detect color setting (doesn't really work: I could not find
58
#COLOR=`gconftool-2 --get /desktop/gnome/background/primary_color`
61
# R=$(( $(printf %d 0x${COLOR:1:2}) * 65536 / 256 ))
62
# G=$(( $(printf %d 0x${COLOR:3:2}) * 65536 / 256 ))
63
# B=$(( $(printf %d 0x${COLOR:5:2}) * 65536 / 256 ))
67
Getting nautilus again
68
-----------------------
70
2. Run nautilus: it will register itself with the session manager
73
-----------------------
74
Originally, I had nautilus registered in the session manager as
75
something like nautilus --sm-config-prefix /nautilus-SoMeThInG/. After
76
removing it and having it reregister itself, I have it only as nautilus.
77
I have not been able to find out what is the difference.
79
It would also be cool to have a little program that registers pcmanfm as
80
a 'Restart' entry with priority 40, just like nautilus.
81
________________________________________
82
Last edited Tue Dec 26 15:32:40 2006
83
========================================================================
85
-- Andrew Lee <andrew@linux.org.tw>