diff --git a/source/_posts/2014-11-22-debian-jessie-on-dell-precision-m4800.markdown b/source/_posts/2014-11-22-debian-jessie-on-dell-precision-m4800.markdown new file mode 100644 index 0000000..01f8b67 --- /dev/null +++ b/source/_posts/2014-11-22-debian-jessie-on-dell-precision-m4800.markdown @@ -0,0 +1,45 @@ +--- +layout: post +title: "Debian Jessie on Dell Precision M4800" +date: 2014-11-22 01:16:09 +0100 +comments: true +categories: +--- + +The testing ISO image works on a USB key. + +Using the nvidia (non-free) driver +---------------------------------- + +To install the nVidia driver: + + * make sure installed kernel headers (linux-headers) match kernel (linux-image), + otherwise DKMS won't build. + * install nvidia-driver + * run `nvidia-xconfig --query-gpu-info` by hand and set PCI dia BusID + * run `nvidia-xconfig --busid=PCI:x:x:x` to generate xorg.conf + +BIOS setup +---------- + + * Video -> Switchable graphics -> uncheck Enable Switchable Graphics + +GNOME 3 +------- + +Disable `gnome-keyring`: +``` +$ cd /etc/xdg/autostart +$ mv gnome-keyring-ssh.desktop gnome-keyring-ssh.desktop- +$ mv gnome-keyring-gpg.desktop gnome-keyring-gpg.desktop- +``` + +Remember NumLock state: +``` +$ gsettings set org.gnome.settings-daemon.peripherals.keyboard remember-numlock-state true +``` + +Support for smart-card reader +----------------------------- + +`apt-get install pcscd` diff --git a/source/_posts/2014-11-22-setting-up-octopress.markdown b/source/_posts/2014-11-22-setting-up-octopress.markdown new file mode 100644 index 0000000..14ca3a7 --- /dev/null +++ b/source/_posts/2014-11-22-setting-up-octopress.markdown @@ -0,0 +1,51 @@ +--- +layout: post +title: "Setting up Octopress" +date: 2014-11-22 01:20:42 +0100 +comments: true +categories: +--- +Objective +--------- + +To set up Octopress in its own, isolated Ruby environment + +Prerequisite +------------ + +Install rbenv to manage Ruby virtual environments. + +Create isolated environment: + +``` +$ export GEM_HOME=$HOME/octopress.gems +$ gem install bundler +$ export PATH=$GEM_HOME/bin:$PATH +``` + +`GEM_HOME` and `PATH` need to be set to do any Octopress work. + +Clone Octopress: + +``` +$ git clone git://github.com/imathis/octopress.git octopress +$ cd octopress +``` + +Install dependencies and default theme: + +``` +$ bundle install +$ rake install +``` + +:warning: If `--path` is passed to `bundle install`, the value is cached +in `.bundle/config`, and `$GEM_HOME` is subsequently ignored. + +Emoji support +------------- + +* Plugin: https://github.com/chriskempson/jekyll-emoji + It is actually necessary to add `gemoji` to the Gemfile +* Images: https://github.com/arvida/emoji-cheat-sheet.com +* `ln -s .../emoji-cheat-sheet.com/public/graphics/emogis source/images/ diff --git a/source/_posts/2015-02-18-upgrading-to-freebsd-10-1-release.markdown b/source/_posts/2015-02-18-upgrading-to-freebsd-10-1-release.markdown new file mode 100644 index 0000000..bff003e --- /dev/null +++ b/source/_posts/2015-02-18-upgrading-to-freebsd-10-1-release.markdown @@ -0,0 +1,47 @@ +--- +layout: post +title: "Upgrading to FreeBSD 10.1-RELEASE" +date: 2015-02-18 23:06:46 +0100 +comments: true +categories: +--- + +Ports +===== + +Neither `pkg update` nor `portupgrade` can update all ports. +Dump all origins, then reinstall manually. + +Linuxulator +=========== + +New CentOS-6 based linux_base requires sysctl: +``` +compat.linux.osrelease=2.6.18 +``` + +X11 +=== + +GDM +--- + +Gdm won't work out of the box (black screen): + + * `gdm_lang` cannot be set to a non-UTF-8 locale anymore + (if the month name in the current date contains an accent, + the greeter will abort). + * (at least when using an ATI video card,) user `gdm` needs to be + able to access `/dev/dri/card0`: + * create group `dri` containing user `gdm` + * add devs rules to give it r/w access to `/dev/dri/card0` + +Keymap +------ + +X will now ignore keymap settings from xorg.conf. Keymap settings must +now be supplied through HAL policy (`/usr/local/share/hal/fdi/policy/99local/10-x11-keymap.fdi`). + +http://www.ping.de/sites/kite/xorg-hal-migration.html + +