diff options
Diffstat (limited to 'tools/x.html')
-rw-r--r-- | tools/x.html | 125 |
1 files changed, 94 insertions, 31 deletions
diff --git a/tools/x.html b/tools/x.html index 3c6aff7..8a68c5b 100644 --- a/tools/x.html +++ b/tools/x.html @@ -13,32 +13,64 @@ <h2>Install</h2> - <p>Add <a href="https://crux.nu/portdb/?a=getup&q=6c37">6c37</a> - port collection and activate on /etc/prt-get.conf above xorg.</p> + <pre> + $ sudo prt-get depinst xorg-server \ + xorg-xinit \ + xorg-xrdb \ + xorg-xdpyinfo \ + xorg-xauth \ + xorg-xmodmap \ + xorg-xrandr \ + xorg-xgamma \ + xorg-xf86-input-evdev \ + xorg-xf86-input-synaptics \ + xsel \ + xkeyboard-config + </pre> + + <h2>Fonts</h2> <pre> - $ sudo prt-get depinst xorg-server - $ sudo prt-get depinst xorg-xinit - $ sudo prt-get depinst xkeyboard-config - $ sudo prt-get depinst xorg-xf86-input-evdev - $ sudo prt-get depinst xorg-font-dejavu-ttf - $ sudo prt-get depinst xorg-xrdb - $ sudo prt-get depinst xorg-xmodmap - $ sudo prt-get depinst xorg-xrandr - $ sudo prt-get depinst xorg-xgamma - $ sudo prt-get depinst xorg-xf86-input-synaptics - $ sudo prt-get depinst xsel + $ sudo prt-get depinst xorg-font-util \ + xorg-font-alias \ + xorg-font-dejavu-ttf \ + xorg-font-cursor-misc \ + xorg-font-misc-misc \ + console-font-terminus \ + xorg-font-terminus \ + xorg-font-mutt-misc + + $ prt-get search xorg-font-bitstream | xargs sudo prt-get depinst + $ prt-get search xorg-font-bh | xargs sudo prt-get depinst </pre> + <pre> - $ sudo prt-get depinst dwm - $ sudo prt-get depinst dmenu - $ sudo prt-get depinst st + $ prt-get search otf- | xargs sudo prt-get depinst + $ prt-get depinst otf-sourcecode </pre> <h2>Configure</h2> - <p>/usr/etc/X11/xinit/xinitrc</p> + <p>Example of <a href="conf/etc/skel/.xinitrc">/etc/skel/.xinitrc</a>;</p> + + <pre> + #xrandr --output eDP1 --mode 1024x768 + #xrandr --dpi 100 + #xgamma -gamma 0.8 + syndaemon -d + # + ## Start the window manager + + #exec dwm + #exec twm + #exec openbox-session + exec spectrwm + </pre> + + + <p>Example of + <a href="conf/usr/etc/X11/xinit/xinitrc">/usr/etc/X11/xinit/xinitrc</a>;</p> <pre> #!/bin/sh @@ -78,7 +110,7 @@ fi </pre> - <p>/etc/X11/xorg.conf.d/10-keyboard.conf</p> + <p><a href="conf/etc/X11/xorg.conf.d/10-keyboard.conf">/etc/X11/xorg.conf.d/10-keyboard.conf</a></p> <pre> Section "InputClass" @@ -88,7 +120,7 @@ EndSection </pre> - <p>/etc/X11/xorg.conf.d/50-synaptics.conf</p> + <p><a href="/etc/X11/xorg.conf.d/50-synaptics.conf">/etc/X11/xorg.conf.d/50-synaptics.conf</a></p> <pre> # Example xorg.conf.d snippet that assigns the touchpad driver @@ -146,22 +178,53 @@ EndSection </pre> - <p>Example of ~/.xinitrc;</p> + <h2>Window Managers</h2> + <pre> - #twm & - #xclock -geometry 50x50-1+1 & - #xterm -geometry 80x50+494+51 & - #xterm -geometry 80x20+494-0 & - #exec xterm -geometry 80x66+0+0 -name login + $ sudo prt-get depinst \ + alsa-utils \ + libdrm \ + mesa3d \ + ffmpeg \ + gstreamer \ + gstreamer-vaapi \ + gst-plugins-base \ + gst-plugins-good \ + gst-plugins-bad \ + gst-plugins-ugly \ + cmus \ + adwaita-icon-theme \ + dmenu \ + st \ + conky \ + dillo \ + spectrwm \ + gparted \ + gimp \ + libreoffice \ + epiphany + </pre> - #xrandr --output eDP1 --mode 1024x768 - xrandr --dpi 100 - xgamma -gamma 0.8 - syndaemon -d + <h3>Spectrwm</h3> + + <p>Edit ~/.spectrwm.conf</p> - # Start the window manager - exec dwm + <pre> + program[term] = st + bar_enabled = 1 + bar_action = conky + </pre> + + <p>Edit ~/.conkyrc</p> + + <pre> + out_to_x no + out_to_console yes + update_interval 1.0 + total_run_times 0 + use_spacer none + TEXT </pre> <a href="index.html">Tools Index</a> |