Bug 208648 - Suggestion for adding detail about Xsetup_* and Xsession to FreeBSD Handbook: 5.6. The X Display Manager
Summary: Suggestion for adding detail about Xsetup_* and Xsession to FreeBSD Handbook:...
Status: Closed Feedback Timeout
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-09 07:16 UTC by sid
Modified: 2017-12-16 07:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sid 2016-04-09 07:16:51 UTC
Suggestion for adding (or similar) to FreeBSD Handbook: 5.6. The X Display Manager ...

/start

5.6.3 Xsetup_#
Here background image and xdm applications can be launched. To change the color you can use "x11/xsetroot," but changing the image requires an application like "x11/bgs".

Example:
  #!/bin/sh
  bgs ~/mypic.jpg &
  #xsetroot &
  #xconsole &

xconsole can be commented out without concerns, if it is not needed.


5.6.4 Xsession
Customization is better done by ~/.xsession.

Example of ~/.xsession:
  #!/bin/sh
  exec xterm &
  exec fluxbox
  exec $1

In this example, applications are ended with an "&". The desktop choice is last on the list, and is absent of an "&". Be sure "~/.xsession" is read and execute permissible by owner and group.
  chmod 660 ~/.xsession

/end

.xsession (and Xsession) is covered in the next section, but it has more to do with XDM. Thank you.