pavement

Desktop, BSD style

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(XDM)
(Redirect to Desktop, light setup)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
* work in progress
+
#REDIRECT [[Desktop, light setup]]
 
+
==Xorg==
+
Install {{port|x11/xorg-minimal}}. Then add {{code|<nowiki>dbus_enable="YES"</nowiki>}} to {{file|/etc/rc.conf}}:
+
 
+
For using fd, add to {{file|/etc/fstab}}:
+
fdescfs    /dev/fd    fdescfs  rw    0  0
+
 
+
==XDM==
+
To configure {{port|x11/xdm}} to start up on boot, edit {{file|/etc/ttys}} and change the option on line ttyv8 from {{code|off}} to {{code|on}}:
+
ttyv8  "/usr/local/bin/xdm -nodaemon"  xterm  '''on''' secure
+
The {{code|secure}} option allows logging in to the root console without a password from single user mode.
+
 
+
Then set up {{file|.xsession}} in each home folder, with owner permissions to read and execute, for example {{code|chmod 400 .xsession}}.
+
 
+
{{file|.xsession}} requires the minimum of:
+
#!/bin/sh
+
exec ''/usr/local/bin/<windowmanager>''
+
exec $1
+
 
+
If problems occur, check {{file|/var/log/xdm.log}}
+
% less /var/log/xdm.log
+
 
+
====Customization====
+
Customization files for XDM are located in {{file|/usr/local/lib/X11/xdm/}}.
+
 
+
The background image can be changed by using a background setting command in {{file|Xsetup_0}}. To change the login manager's background, use {{port|graphics/feh|MIT}}.
+
 
+
Example of addition to {{file|Xsetup_0}}:
+
feh --bg-scale /home/user1/bsd.jpg &
+
It is important to add an {{code|&}} after adding new configuration commands, or the login screen will freeze up with certain commands.
+
 
+
To change the box logo, edit {{file|Xresources}}, comment out or reference another .xpm file in the lines {{code|xlogin*logoFileName}}.
+
 
+
The file {{file|Xsession}} is responsible for choosing the window manager, it points to {{file|.xsession}} in the home directory.
+
 
+
==Desktops==
+
Choose your desktop with {{file|~/.xsession}}:
+
#!/bin/sh
+
exec /usr/local/bin/<windowmanager>
+
exec $1
+
 
+
These desktops install with xorg-minimal.
+
* {{port|x11-wm/ctwm|MIT}} Claude's Tab Window Manager; twm extension
+
* {{port|x11-wm/dwm|MIT}} Dynamic Window Manager; Minimalist window manager that uses C programming language for custom desktop configuration
+
* {{port|x11-wm/wmii|MIT}} Window Manager Improved, Improved; Minimalist and dynamic window manager
+
 
+
==Desktop programs==
+
Desktop programs start up through the window manager's configuration files, and not through {{file|~/.xsession}}.
+
 
+
Be sure you install the programs you need such as {{port|x11/xterm}}, since this is a minimal install to be further customized.
+
 
+
[[Category:FreeBSD for Workstations]]
+
[[Category:FreeBSD Multimedia]]
+
[[Category:Installation]]
+
[[Category:Configuring FreeBSD]]
+

Latest revision as of 20:49, 10 February 2018

  1. REDIRECT Desktop, light setup
Personal tools