.xsession
From FreeBSDwiki
(Difference between revisions)
Line 11: | Line 11: | ||
Linking ''.xsession'' to ''.xinitrc'': | Linking ''.xsession'' to ''.xinitrc'': | ||
ln -s .xsession .xinitrc | ln -s .xsession .xinitrc | ||
+ | (both files may have to be made executable for this to work) | ||
[[Category:FreeBSD for Workstations]] | [[Category:FreeBSD for Workstations]] |
Revision as of 16:54, 17 December 2014
.xsession is a home folder script to start a window manager from a display manager. This file can be linked to .xinitrc for convenience since their configurations are identical. The only other difference between these two files is that .xsession must be executable.
Example of file content:
exec jwm
Changing permission setting (this sets for user and group):
# chmod ug+x .xsession
For all users:
# chmod +x .xsession
Linking .xsession to .xinitrc:
ln -s .xsession .xinitrc
(both files may have to be made executable for this to work)