gnome-session-50.1

#### Beyond Linux® From Scratch (System V Edition) - Version r13.0-1090

### Chapter 33. GNOME Libraries and Desktop

- Prev

  gnome-shell-extensions-50.2

- Next

  gnome-tweaks-49.0

- Up
- Home

# gnome-session-50.1

## Introduction to GNOME Session

The GNOME Session package contains the GNOME session manager.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://download.gnome.org/sources/gnome-session/50/gnome-session-50.1.tar.xz

- Download MD5 sum: 0c02fd88e93b89b8cf09f80637356ca8

- Download size: 396 KB

- Estimated disk space required: 7.6 MB

- Estimated build time: less than 0.1 SBU

### GNOME Session Dependencies

#### Required

elogind-257.16, gnome-desktop-44.5, json-glib-1.10.8, Mesa-26.1.3, and UPower-1.91.3

#### Optional

xmlto-0.0.29, and libxslt-1.1.45 with docbook-xml-4.5 and docbook-xsl-nons-1.79.2 (to build the documentation)

## Installation of GNOME Session

Install GNOME Session by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr              \
                --buildtype=release        \
                -D man=false               \
                -D docbook=false           \
                -D systemduserunitdir=/tmp \
                ..                         &&
    ninja

This package does not come with a test suite.

Now, as the `root` user:

    ninja install

If you generated the documentation, move it to a versioned directory:

    mv -v /usr/share/doc/gnome-session{,-50.1}

Now, as the `root` user, remove systemd units that are useless on SysV systems:

    rm -rv /tmp/{*.d,*.target,*.service}

The startup sequence of gnome-wayland needs to create a dbus session. On SysV, this has to be added to the shipped `gnome-wayland.desktop` file, which is written for systemd. As the `root` user:

    sed -e 's@^Exec=@&/usr/bin/dbus-run-session @' \
        -i /usr/share/wayland-sessions/gnome-wayland.desktop

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

`-D man=false -D docbook=false`: These parameters disable building documentation. Omit them if you have built the optional dependencies.

`-D x11=true`: This option enables support for X11 sessions. X11 support is deprecated and will be removed in GNOME 50.

## Contents

Installed Programs: gnome-session, gnome-session-inhibit, and gnome-session-quit
Installed Libraries: None
Installed Directories: /usr/share/doc/gnome-session-50.1 and /usr/share/gnome-session

### Short Descriptions

gnome-session | is used to start up the GNOME Desktop environment
gnome-session-inhibit | is used to inhibit certain GNOME Session functionality while executing the given command
gnome-session-quit | is used to end the GNOME Session

- Prev

  gnome-shell-extensions-50.2

- Next

  gnome-tweaks-49.0

- Up
- Home