[Xfce-bugs] [Bug 11964] New: Use exec to launch xfce4-session from xinitrc

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Jun 5 17:42:49 CEST 2015


https://bugzilla.xfce.org/show_bug.cgi?id=11964

            Bug ID: 11964
           Summary: Use exec to launch xfce4-session from xinitrc
    Classification: Xfce
           Product: Xfce4-session
           Version: 4.12.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: andrey.vihrov at gmail.com
        QA Contact: bjt23 at cornell.edu
                CC: benny at xfce.org, nick at xfce.org

Created attachment 6303
  --> https://bugzilla.xfce.org/attachment.cgi?id=6303&action=edit
Possible fix

Xfce's xinitrc launches xfce4-session as a simple command. This means that the
shell process executing xinitrc will stay running and wait for xfce4-session to
complete, even though it has nothing more to do.

"exec xfce4-session" can be used instead to replace the shell process instead
of creating a new one, thus saving memory.

Side note: the xinitrc script might benefit from "set -e" in the beginning
(will not ignore errors).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list