diff options
author | Silvino Silva <silvino@bk.ru> | 2018-07-20 17:52:24 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2018-07-20 17:52:24 +0100 |
commit | 7dd5f7d9c2875f8d8b5ad7ba92484d805e94dabb (patch) | |
tree | fc19965e9281871040084ee51da9f3e79c8c95ca /tools | |
parent | 8e26cc1ca02691e621a82c274e9cfcd90181ccbe (diff) | |
parent | b6655563e76cc547fbdd834c155b482e3f88026c (diff) | |
download | doc-7dd5f7d9c2875f8d8b5ad7ba92484d805e94dabb.tar.gz |
release doc-0.3.6
Diffstat (limited to 'tools')
-rw-r--r-- | tools/conf/etc/X11/xinit/xinitrc (renamed from tools/conf/usr/etc/X11/xinit/xinitrc) | 10 | ||||
-rw-r--r-- | tools/conf/etc/skel/.xinitrc | 12 | ||||
-rw-r--r-- | tools/qemu.html | 2 | ||||
-rw-r--r-- | tools/scripts/pkgmk-test.conf | 2 | ||||
-rw-r--r-- | tools/x.html | 116 |
5 files changed, 83 insertions, 59 deletions
diff --git a/tools/conf/usr/etc/X11/xinit/xinitrc b/tools/conf/etc/X11/xinit/xinitrc index 36b3c3c..2607046 100644 --- a/tools/conf/usr/etc/X11/xinit/xinitrc +++ b/tools/conf/etc/X11/xinit/xinitrc @@ -2,13 +2,14 @@ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap -sysresources=/usr/etc/X11/xinit/.Xresources -sysmodmap=/usr/etc/X11/xinit/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources + fi if [ -f $sysmodmap ]; then @@ -17,6 +18,7 @@ fi if [ -f "$userresources" ]; then xrdb -merge "$userresources" + fi if [ -f "$usermodmap" ]; then @@ -25,8 +27,8 @@ fi # start some nice programs -if [ -d /usr/etc/X11/xinit/xinitrc.d ] ; then - for f in /usr/etc/X11/xinit/xinitrc.d/?*.sh ; do +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do [ -x "$f" ] && . "$f" done unset f diff --git a/tools/conf/etc/skel/.xinitrc b/tools/conf/etc/skel/.xinitrc index c331d37..6ccd340 100644 --- a/tools/conf/etc/skel/.xinitrc +++ b/tools/conf/etc/skel/.xinitrc @@ -1,11 +1,13 @@ +## Start the window manager -#xrandr --output eDP1 --mode 1024x768 +xrandr -s 1366x768 #xrandr --dpi 100 +#xrandr --output eDP1 --mode 1366x768 #xgamma -gamma 0.8 -syndaemon -d -# -## Start the window manager +#syndaemon -d +setxkbmap dvorak -#exec dwm #exec openbox-session +#exec dwm exec spectrwm +#exec start-mate diff --git a/tools/qemu.html b/tools/qemu.html index e180ed4..a6621a1 100644 --- a/tools/qemu.html +++ b/tools/qemu.html @@ -335,7 +335,7 @@ <p>Update grub configuration on guest machine;</p> <pre> - # update-grub + # grub-mkconfig -o /boot/grub/grub.cfg </pre> <h3 id="sound">4.2. Guest Sound</h3> diff --git a/tools/scripts/pkgmk-test.conf b/tools/scripts/pkgmk-test.conf index 6dec896..715ac01 100644 --- a/tools/scripts/pkgmk-test.conf +++ b/tools/scripts/pkgmk-test.conf @@ -4,7 +4,7 @@ source /etc/pkgmk.conf -PKGMK_SOURCE_MIRRORS=() +#PKGMK_SOURCE_MIRRORS=() PKGMK_SOURCE_DIR="$PWD" PKGMK_PACKAGE_DIR="$PWD" PKGMK_WORK_DIR="$PWD/work" diff --git a/tools/x.html b/tools/x.html index cbc9d3e..913f1f0 100644 --- a/tools/x.html +++ b/tools/x.html @@ -13,6 +13,9 @@ <h2>Install</h2> + + <h3>Xorg</h3> + <pre> $ sudo prt-get depinst xorg-server \ xorg-xinit \ @@ -28,7 +31,7 @@ xkeyboard-config </pre> - <h2>Fonts</h2> + <h3>Fonts</h3> <pre> $ sudo prt-get depinst xorg-font-util \ @@ -50,35 +53,76 @@ $ prt-get depinst otf-sourcecode </pre> + <h3>Utilities</h3> + + <pre> + $ 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 \ + dmenu \ + st \ + gparted \ + gimp \ + libreoffice \ + ca-certificates \ + linux-pam \ + gstreamer \ + libgd \ + icu \ + syndaemon + </pre> + + <h3>Window Managers</h3> + + <pre> + $ sudo prt-get depinst \ + openbox \ + dwm \ + spectrwm \ + mate + </pre> + <h2>Configure</h2> - <p>Example of <a href="conf/etc/skel/.xinitrc">/etc/skel/.xinitrc</a>;</p> + <h3>Local xinitrc</h3> - <pre> - #xrandr --output eDP1 --mode 1024x768 - #xrandr --dpi 100 - #xgamma -gamma 0.8 - syndaemon -d - # - ## Start the window manager + <p>Local xinitrc configuration: <a href="conf/etc/skel/.xinitrc">/etc/skel/.xinitrc</a>;</p> - #exec dwm - #exec twm - #exec openbox-session - exec spectrwm + <pre> + ## Start the window manager + + xrandr -s 1366x768 + #xrandr --dpi 100 + #xrandr --output eDP1 --mode 1366x768 + #xgamma -gamma 0.8 + #syndaemon -d + setxkbmap dvorak + + #exec openbox-session + #exec dwm + exec spectrwm + #exec start-mate </pre> - - <p>Example of - <a href="conf/usr/etc/X11/xinit/xinitrc">/usr/etc/X11/xinit/xinitrc</a>;</p> + <h3>Global xinitrc</h3> + <p>Global xinitrc configuration: <a href="conf/etc/X11/xinit/xinitrc">/usr/etc/X11/xinit/xinitrc</a>;</p> <pre> #!/bin/sh userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap - sysresources=/usr/etc/X11/xinit/.Xresources - sysmodmap=/usr/etc/X11/xinit/.Xmodmap + sysresources=/etc/X11/xinit/.Xresources + sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps @@ -102,15 +146,17 @@ # start some nice programs - if [ -d /usr/etc/X11/xinit/xinitrc.d ] ; then - for f in /usr/etc/X11/xinit/xinitrc.d/?*.sh ; do + if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do [ -x "$f" ] && . "$f" done unset f fi </pre> - <p><a href="conf/etc/X11/xorg.conf.d/10-keyboard.conf">/etc/X11/xorg.conf.d/10-keyboard.conf</a></p> + <h3>Global keyboard config </h3> + + <p>Xorg global default keyboard configuration; <a href="conf/etc/X11/xorg.conf.d/10-keyboard.conf">/etc/X11/xorg.conf.d/10-keyboard.conf</a></p> <pre> Section "InputClass" @@ -120,7 +166,7 @@ EndSection </pre> - <p><a href="/etc/X11/xorg.conf.d/50-synaptics.conf">/etc/X11/xorg.conf.d/50-synaptics.conf</a></p> + <p>Xorg synaptics configuration; <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 @@ -180,32 +226,6 @@ <h2>Window Managers</h2> - - <pre> - $ 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> - <h3>Spectrwm</h3> <p>Edit ~/.spectrwm.conf</p> |