Xfce upravitelj sesijama

Benedikt Meurer

Razvijatelj software-a
os-cillation
Razvoj sustava


This manual describes the xfce4-session package, version 4.8.3.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. The complete license text is available from the Free Software Foundation.

July 2005


Sadržaj

Uvod
Postavke upravitelja sesijama
Osnovne osobitosti
Napredne osobitosti
Prilagođavanje Upravitelja sesijama
Splash screen settings
Isključi/ponovno pokreni opcije
Napredno
Files and Environment Variables
Kiosk način rada
O programu xfce4-session

Uvod

xfce4-session je upravitelj sesijama za Xfce 4.Njegov zadatak je spremiti stanje vašega zaslona (otvoreni programi i njihove lokacije) i obnoviti ga tijekom slijedećeg pokretanja.Možete napraviti nekoliko različitih sesija i izabrati jednu od njih prilikom pokretanja.

xfce4-session provides session management for both X11R6 and legacy X11R5 protocols. If you don't need legacy session management support, you can disable it at compile time, giving --disable-legacy-sm to ./configure. Do NOT EVER run smproxy in session that is managed by xfce4-session, or weird things will happen. The included legacy session management does everything that smproxy would do, and besides that, it also supports multiscreen display.

Postavke upravitelja sesijama

Osnovne osobitosti

Slika 1. xfce4-session osnovne osobitosti

Shows the General tab of the xfce4-session settings dialog.

Prikaži izbor kod prijave

Ako je postavljen,upravitelj sesijama će vas pitati da odaberete sesiju svaki put kada se prijavite u Xfce.

Automatski spremi sesiju kod odjave

Ova opcija upućuje upravitelja sesijama da automatski spremi trenutnu sesiju kada se odjavite.Ako ne odaberete ovu opciju kod svake odjave će biti tražena potvrda želite li spremiti trenutnu sesiju.

Traženje potvrde kod odjave

Ova opcija onemogućuje potvrdni dijalog odjave.Hoće li sesija biti spremljena ili ne ovisi o tome jeste li omogućili automatsko spremanje sesija ili ne.

Napredne osobitosti

Slika 2. xfce4-session napredne osobitosti

Shows Advanced tab of the xfce4-session settings dialog.

Pokreće Gnome servise pri pokretanju

Enable this option if you need the GNOME keyring daemon to be run on startup. This option also instructs xfce4-session to bring up the GNOME assistive technologies at startup (if enabled in the GNOME control center). See the GNOME documentation for more information on this topic.

Pokreće KDE servisee pri pokretanju

Omogućite ovu opciju ako pkanirate pokretati KDE programe kao dio Xfce sesije.Ovo će vidno povećati vrijeme pokretanja ali u drugu ruku,KDE programi će sepokretati brže.Neki KDE programi možda uopće neće raditi ako ne omogućite ovu opciju.

Upravlja udaljenim programima

Omogućava upravitelju sesijama da upravlja programima pokrenutim na udaljenim računalima.Kako ova opcija predstavlja sigurnosni rizik zbog slušanja TCP porta na vašem sustavu, ne omogućujte ovo ukoliko ne znate što radite.

System administrators may want to disable this option globally using the session managers KIOSK capabilities.

Prilagođavanje Upravitelja sesijama

You can customize the splash-screen that xfce4-session will use when you log in to Xfce 4. There is a dedicated dialog available from the Xfce 4 Settings Manager.

Splash screen settings

Slika 3. Splash screen settings dialog

Shows the xfce4-session splash screen settings dialog.

On the left, the dialog shows a list of all installed engines. Select an engine, and you will see, if available, a preview and information about it. You can click on the Test button to see a demonstration of the selected splash screen engine.

xfce4-session provides three Splash themes engines by default. Their respective configuration options - if any - are available from the Configure button.

Isključi/ponovno pokreni opcije

xfce4-session supports shutting down your computer when you log out of your desktop session. To be able to shutdown the computer, you have to be listed in the systems sudoers file, in particular, you must be allowed to execute the command ${libdir}/xfce4/session/xfsm-shutdown-helper (/usr/sbin/xfsm-shutdown-helper on Debian GNU/Linux) as user root (where ${libdir} is the lib sub directory in the prefix you installed xfce4-session, for example /usr/local/lib/xfce4/session).

Na primjer,recimo da ste instalirali xfce4-session u /usr/local, ime vašeg računala je računalo i vaš korisnički račun je korisnik, tada morate dodati slijedeći redak u vašu sudoers datoteku (koristite visudo za uređivanje datoteke):

korisnik računalo=/usr/local/lib/xfce4/session/xfsm-shutdown-helper

Napredno

Files and Environment Variables

Xfce now uses the Basedir Specification as defined on Freedesktop.org to locate its data and configuration files. This means that file locations will be specified as a path relative to the directories described in the specification.

${XDG_CONFIG_HOME}

The first base directory to look for configuration files. By default this is set to ~/.config/.

${XDG_CONFIG_DIRS}

Lista direktorija sustava koji sadrže konfiguracijske podatke.Kao zadano,ploča će gledati u ${sysconfdir}/xdg/ i /etc/xdg/.Vrijednost ${sysconfdir} zavisi o tome kako je program napravljen i često će biti /etc/za binarne pakete.

${XDG_CACHE_HOME}

Specifies the root for all user-specific cache data. If this environment variable is unset, it defaults to ~/.cache.

${XDG_CONFIG_DIRS}/autostart/

This is the location where the list of applications that should be automatically run on login is stored. Each autostarted application is represented by a .desktop file (see the Desktop Entry Specification for details).

Prior to Xfce 4.3, the list of autostarted applications was stored in ~/Desktop/Autostart, which contained scripts and symbolic links to applications. If you run xfce4-session 4.8.3 or above for the first time, it will automatically migrate the autostart items from the old location to the standard location and place a LOCATION-CHANGED.txt file in the old directory, that describes the location change.

${XDG_CONFIG_DIRS}/xfce4-session/xfce4-session.rc

Ovo je lokacija konfiguracijske datoteke koja uključuje različite postavke za xfce4-session, koje se mogu promijeniti iz dijaloga postavki.

${XDG_CONFIG_DIRS}/xfce4-session/xfce4-splash.rc

This is the location of the configuration file that includes the configuration for the splash screen, which can be changed from the settings dialog.

${XDG_CACHE_HOME}/sessions/

Direktorij u kojem xfce4-session i xfwm4 pohranjuju podatke o sesijama.

${sysconfdir}/xdg/xfce4/kiosk/kioskrc

Kiosk mode configuration file. See next section for an explanation.

Nijedna konfiguracijska datoteka,osim kioskrc,nije oblikovana za ručno uređivanje tijekom Xfce sesije; promjene će biti prebrisane ako ih uređujete kada je upravitelj sesijama ili upravitelji sesijama pokrenut.

System administrators might want to customize the file ${sysconfdir}/xdg/xfce4-session/xfce4-session.rc to change the default applications that are run on Xfce startup. For example, if you want to start the xfce4-iconbox instead of the xftaskbar4, you would change the [Failsafe Session] section like to something like this:

[Failsafe Session]
Count=4
Client0_Command=xfwm4
Client0_PerScreen=False
Client1_Command=xfce4-panel
Client1_PerScreen=True
Client2_Command=xfce4-iconbox
Client2_PerScreen=True
Client3_Command=xfdesktop
Client3_PerScreen=False

Kiosk način rada

The session manager offers support for the Kiosk Mode, that helps to prevent users from making changes to their session settings. To use it you have to edit or create the file ${sysconfdir}/xdg/xfce4/kiosk/kioskrc.

Način objašnjenja formata ove datoteke je korištenje primjera.Postavke xfce4-sesije vašega kioskrc mogu izgledati ovako:

[xfce4-session]
CustomizeSplash=ALL
CustomizeChooser=ALL
CustomizeLogout=ALL
CustomizeCompatibility=%wheel
Shutdown=%wheel
CustomizeSecurity=NONE

This allows all users to change their splash, chooser and logout settings, but allows only users in the group wheel to customize the compatibility settings and shutdown the system. No one will be allowed to adjust the security settings.

The session manager supports the following KIOSK capabilities:

CustomizeSplash

Whether or not the user is allowed to customize the splash screen.

CustomizeChooser

Whether or not the user is allowed to customize the session chooser settings.

Prilagodi odjavu

Whether or not the user is allowed to customize the logout settings.

CustomizeCompatibility

Whether or not the user is allowed to customize the compatibility settings (KDE/Gnome compat)

CustomizeSecurity

Whether or not the user is allowed to customize the security settings. This is one of the most IMPORTANT settings, since it prevents users (actually libICE) from binding to a TCP port.

Isključi

Whether or not the user is allowed to shutdown (reboot or poweroff) the system. If a user lacks this capability the reboot and poweroff options in the shutdown dialog will be greyed out.

O programu xfce4-session

xfce4-session je napisao Benedikt Meurer (). Das biste našli više informacija,molimo posjetite Xfce web site.

To report a bug or make a suggestion regarding this application or this manual, use the bug tracking system at http://bugzilla.xfce.org/.

Ako imate pitanja o korištenju ili instalaciji ovoga pakete, molim pitajte na xfce mailing list.Diskusije o razvoju su na xfce4-dev mailing list.

This program is distributed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.