BeagleBone Black setup - lapdock

Setup the BeagleBone Black with Motorola Atrix Lapdock
Make a backup first; edit /boot/uboot/uEnv.txt
Comment out optargs, then add a line:

## Graphics for Altrix
optargs=quiet drm.debug=7 capemgr.disable_partno=BB-BONELT-HDMI video=HDMI-A-1:1360x768M@60

Edit /etc/X11/xorg.conf (make a backup first)

Section "Module"
Load "extmod"
Load "dbe"
Load "glx"
Load "freetype"
Load "type1"
Load "record"

BeagleBone Black setup - wireless

Run lsusb and make sure the dongle is registered.

Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

Create /etc/wpa_supplicant/wpa_supplicant.conf

# WPA network
# WPA network

Edit /etc/network/interfaces

New webcam server

Zoneminder was running, and it does the job fine. But the server kept crashing. So I'm installing something simpler, after replacing the OS.
CentOS 6.5
Get epel, rpmforge repos
Install Apache, php
yum install ffmpeg
Run ffserver

GNOME 3 Nautilus sorting order

I can't find the preferences menu for Nautilus in GNOME 3. But gsettings works.
To set the default sort order:

gsettings set org.gnome.nautilus.preferences default-sort-order name

To show the directories first, before the files:

gsettings set org.gnome.nautilus.preferences sort-directories-first true

It works :-)

DD-WRT customizations

insmod ipt_mark
This is what I have:

insmod xt_mark
iptables -t mangle -A PREROUTING -i ! `get_wanface` -d `nvram get wan_ipaddr` -j MARK --set-mark 0xd001
iptables -t nat -A POSTROUTING -m mark --mark 0xd001 -j MASQUERADE

This was recommended...
In all builds newer than 17000 this script needs to be in your firewall if you have 2 WLAN's:

iptables -t nat -I POSTROUTING -o `get_wanface` -j SNAT --to `nvram get wan_ipaddr`
iptables -I FORWARD -i br1 -m state --state NEW -j ACCEPT
iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

wally wallpaper changer on Fedora 18

How I got wally working on Fedora 18
Install prerequisites:
sudo yum -y install qt-devel libX11 libX11-devel cmake gcc-c++
Get source from SourceForge
Extract the tarball: tar -zxvf wally-2.4.4.tar.gz
Enter the directory: cd wally-2.4.4/
Go into the build directory: cd build
sudo make install

Interactively change the gdm login screen background

As root:

ln -s /usr/share/applications/gnome-appearance-properties.desktop \

The properties window is shown when gdm restarts.
Here's a new way to do the same thing, but easier:

xhost +local:gdm
sudo -u gdm dbus-launch gnome-appearance-properties
xhost -local:gdm

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer