This is an old revision of the document!


Stuff to remember

Old prompt ✔

 if [ "$color_prompt" = yes ]; then
  # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ '
 
 PS1="${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\] `if [[ \$? = "0" ]]; then echo ':)'; else echo ':(' ; fi`  \[\033[01;34m\]\w\[\033[00m\]\n\$ "
 
  # Same as above but with a smiley to indicate if the last command was successfull
  # PS1="`if [[ \$? = "0" ]]; then echo ':)'; else echo ':(' ; fi`${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "
 
 else
  PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
 fi

keyboard fix ✔

and to set backlight:

Stuff needed for the laptop ✔ (not tested)

GNUPG issue?

HTTP-proxy support seems to be broken in gnupg-2.1.4-1? the client will claim –honor-http-proxy as obsolete. More interestingly the helper all dirmngr is trying to access /etc/gnupg/ldapservers.conf and fails to bind socket in /usr/var/run/gnupg/S.dirmngr. But such directories do not exist. The manual for dirmngr (https://www.gnupg.org/documentation/manuals/dirmngr.pdf) explicitly state that the following are used as default:

 
 --homedir dir
 Set the name of the home directory to dir. This option is only effective when
 used on the command line. The default depends on the running mode:
 With 
    --daemon given on the commandline
      the directory named ‘/etc/dirmngr’ for configuration files,
      ‘/var/lib/dirmngr/’ for extra data and ‘/var/cache/dirmngr’
      for cached CRLs.
 Without --daemon given on the commandline
 the directory named ‘.gnupg’ directly below the home directory of
 the user unless the environment variable GNUPGHOME has been set in
 which case its value will be used. All kind of data is stored below
 this directory.

Handy tools

Getting Arch Linux KDE look nice in VirtualBox

  • sudo pacman -R xf86-video-vesa
  • sudo mv /etc/X11/xorg.conf.d/ /etc/X11/xorg.conf.d.old
  • sudo pacman -S virtualbox-guest-utils
  • sudo modprobe -a vboxguest vboxsf vboxvideo
  • sudo vim /etc/modules-load.d/virtualbox.conf
    • vboxguest
    • vboxsf
    • vboxvideo
  • sudo pacman -Syu
  • vim ~/.xinitrc
    • VBoxClient-all & (before exec)
    • xrandr -s 1920×1080
  • sudo reboot
  • login, startx
  • select seamless mode in virtualbox, select full screen in virtualbox

source: https://www.youtube.com/watch?v=EwkkzLRYQJY

Audio woes

  • All else plays loud enough but Chrome is too quiet?
    • Open pavucontrol
    • start chromium, start a video etc.
    • adjust the chrome volume tab to be inline with the other volume controls.
Last modified: le 2015/06/18 19:24