pavement

.xsession

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
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'' must be executable.
+
''.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 jwm
+
  exec fluxbox
  
 
Changing permission setting (this sets for user and group):
 
Changing permission setting (this sets for user and group):
Line 9: Line 9:
 
  # chmod +x .xsession
 
  # chmod +x .xsession
  
Linking ''.xsession'' to ''.xinitrc'':
+
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)
 
(both files may have to be made executable for this to work)
  
 
[[Category:FreeBSD for Workstations]]
 
[[Category:FreeBSD for Workstations]]

Latest revision as of 09: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)

Personal tools