.xsession
From FreeBSDwiki
(Difference between revisions)
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | ''.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'' 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 {{file|.xsession}} must be executable. |
Example of file content: | Example of file content: | ||
− | exec | + | exec fluxbox |
− | Changing permission setting: | + | Changing permission setting (this sets for user and group): |
# chmod ug+x .xsession | # chmod ug+x .xsession | ||
+ | For all users: | ||
+ | # chmod +x .xsession | ||
− | Linking | + | Linking {{file|.xsession}} to {{file|.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]] |
Latest revision as of 08:27, 30 October 2015
.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 fluxbox
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)