~noskcaj/ubuntu/trusty/xfce4-session/4.10.1-3

« back to all changes in this revision

Viewing changes to debian/README.Debian

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2011-09-07 00:04:08 UTC
  • mfrom: (4.2.7 sid)
  • Revision ID: package-import@ubuntu.com-20110907000408-zol5xrnp34sxbsqy
Tags: 4.8.1-4ubuntu1
* Merge from Debian unstable for the FTBFS fix, remaining Ubuntu changes:
  - debian/control: build-depends on libgconf2-dev and libgnome-keyring-dev
    to enable GNOME services support. 
  - debian/rules: pass --enable-gnome --enable-libgnome-keyring to
    dh_auto_configure.
  - debian/patches:
    + xubuntu_lock-the-screen-on-hibernate-suspend.patch: copy the behavior
      of xfce4-power-manager for consistency.
    + xubuntu_ignore-gdm-lang.patch: do not set $LANG to $GDM_LANG, there's
      already an xsession script to do that, and $GDM_LANG might not contain
      a valid locale code.
    + series: apply these patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Running Xfce
2
2
------------
3
3
 
4
 
If use you a login manager like GDM, you may have two ways to start Xfce :
 
4
If use you a login manager like GDM or LightDM, you may have two ways to start
 
5
Xfce :
5
6
 
6
7
- “Xfce Session” will run a complete xfce session, using Xfce-provided
7
8
  scripts (/usr/bin/startxfce4 which will then run /etc/xdg/xfce4/xinitrc
9
10
- “Default session” will run whatever is the default session manager on
10
11
  your system. This is the /usr/bin/x-session-manager alternatives, meaning
11
12
  you can tune it with update-alternatives (8). If you only have Xfce
12
 
  installed on your system, it will default to xfce4-session, meaning
13
 
  you'll be able to have an Xfce running chosing that option, but it'll be a
14
 
  minimal one because all the preparation made in /etc/xdg/xfce4/xinitrc
15
 
  before running xfce4-session won't be done.
 
13
  installed on your system, it will default to startxfce4, which will run the
 
14
  complete Xfce desktop environment.
16
15
 
17
16
If you don't use a login manager but start Xfce from console, you need to
18
17
take care of few stuff:
22
21
 
23
22
This is because Debian now uses PolicyKit/ConsoleKit to manage policies for
24
23
things like device and power management. If you run Xfce from a compatible
25
 
display manager (gdm and kdm), they'll talk to consolekit so your X session
26
 
will have the authentication tokens, but if you use startx, it won't.
 
24
display manager (like gdm or lightdm), they'll talk to consolekit so your X
 
25
session will have the authentication tokens, but if you use startx, it won't.
27
26
There's a script shipped by default with ConsoleKit which will do that, in
28
 
/etc/X11/Xsession.d/90consolekit, but the /etc/X11/Xsession.d/ scripts are
29
 
only executed if you don't use any .xinitrc. See startx (1) for more
30
 
information.
 
27
/etc/X11/Xsession.d/90consolekit, but the /etc/X11/Xsession.d/ scripts are only
 
28
executed if you don't use any .xinitrc. See startx (1) for more information.
31
29
 
32
30
Managing shutdown
33
31
-----------------
34
32
 
35
33
There are two ways to enable user to shutdown the computer from Xfce:
36
34
 
37
 
 - use sudo, and allow user to run /usr/sbin/xfsm-shutdown-helper in sudoers
38
 
 - use policykit and a compatible login manager (gdm is known to work,
39
 
   startx too if you use the tips above)
 
35
 - use sudo, and allow user to run /usr/lib/xfce4/session/xfsm-shutdown-helper
 
36
 - use policykit and a compatible login manager (lightdm and gdm are known to
 
37
   work, startx too if you use the tips above)