~ubuntu-branches/debian/squeeze/pcmanfm/squeeze

« back to all changes in this revision

Viewing changes to debian/README.Debian

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee, Lu, Chao-Ming (Tetralet), Andrew Lee
  • Date: 2006-12-26 23:28:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061226232833-8d2ooh0v2m772zlc
Tags: 0.3.2.2-1
[ Lu, Chao-Ming (Tetralet) ]
* New upstream release 0.3.2.2.
  - Block unnecessary signal handlers to fix the performance problem
    caused when doing invert selection.
  - Fix a segfault in on_file_propertiesDlg_response triggered on 
    chown.
  - Fix let to avoid SegFault when file monitoring.
  - Mark some functions as static to avoid conflicts.
  - Invoke vfs_file_monitor_remove() with care.
  - Fix #ifdef EACCESS for FreeBSD.
  - Little fix for opening terminal with popup menu of desktop.
  - Skip desktop window in Alt+Tab.
* Applied a patch for "FTBFS on GNU/kFreeBSD (due to unsatisfied 
  Build-Depends on libhal-dev)" by 
  Petr Salinger <Petr.Salinger@seznam.cz> (Closes:#404050)

[ Andrew Lee ]
* Taken a entry from Enrico Zini's blog to README.Debian for how to
  replace nautilus with pcmanfm and provide genconf.sh 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
These are taken from Enrico Zini's blog entry:
 
2
http://www.enricozini.org/2006/tips/pcmanfm-nautilus.html
 
3
====================================================================
 
4
 
 
5
Replacing nautilus with pcmanfm
 
6
--------------------------------
 
7
To have pcmanfm start instead of nautilus:
 
8
 
 
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
 
14
 
 
15
Alternatively:
 
16
 
 
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
 
21
 
 
22
To configure pcmanfm to draw the background:
 
23
 
 
24
   1. Run pcmanfm
 
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
 
29
 
 
30
Alternatively, I wrote a little script that will generate a 
 
31
~/.pcmanfm/main configuration file from you taking some settings from 
 
32
gconf:
 
33
 
 
34
#!/bin/bash
 
35
 
 
36
# Generate a pcmanfm configuration file reading values from gconf
 
37
 
 
38
echo "# ~/.pcmanfm/main configuration file generated by $0"
 
39
echo
 
40
 
 
41
echo '[General]'
 
42
echo 'terminal=gnome-terminal'
 
43
echo
 
44
 
 
45
echo '[Desktop]'
 
46
echo 'showDesktop=1'
 
47
 
 
48
# Detect wallpaper setting
 
49
WALLPAPER=`gconftool-2 --get /desktop/gnome/background/picture_filename`
 
50
if ! [ -z "$WALLPAPER" ]
 
51
then
 
52
    echo 'showWallpaper=1'
 
53
    echo "wallpaper=$WALLPAPER"
 
54
fi
 
55
 
 
56
# Detect color setting (doesn't really work: I could not find 
 
57
significant keys)
 
58
#COLOR=`gconftool-2 --get /desktop/gnome/background/primary_color`
 
59
#if ! [ -z "$COLOR" ]
 
60
#then
 
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 ))
 
64
#   echo "Bg1=$R,$G,$B"
 
65
#fi
 
66
 
 
67
Getting nautilus again 
 
68
-----------------------
 
69
   1. Kill pcmanfm
 
70
   2. Run nautilus: it will register itself with the session manager
 
71
 
 
72
Open questions
 
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.
 
78
 
 
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
========================================================================
 
84
 
 
85
 -- Andrew Lee <andrew@linux.org.tw>