configs

backup

fstab

//192.168.11.37/media /mnt/depot cifs credentials=/root/smbpasswd,uid=1000,dir_mode=0775,gid=129

# gid is the group id for debian-transmission

echo username=mywindowsusername > smbpasswd
echo password=mywindowspassword >> smbpasswd
chmod 600 smbpasswd

apt-get install cifs-utils #required otherwise it wont be able to read the credentials file.

sudo mount /mnt/depot

Xmonad

Keyboard layout config when using xmonad:

add to ~/.xinitrc

setxkbmap -v -model pc104 -layout us -variant intl


Xmonado config for two monitors. Does not work with the status bars. References gnome but it's run independently.

import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Config.Gnome
import qualified XMonad.StackSet as W
import XMonad.Util.EZConfig

main = xmonad $ gnomeConfig {
         modMask = mod4Mask

, workspaces = myWorkspaces
        } `additionalKeysP` myKeys
 
myWorkspaces = ["1","2","3","4","5","6","7","8","9"]
 
myKeys = [
 
 
     (otherModMasks ++ "M-" ++ [key], action tag)
      | (tag, key)  <- zip myWorkspaces "123456789"
      , (otherModMasks, action) <- [ ("", windows . W.view) -- was W.greedyView
                                      , ("S-", windows . W.shift)]
    ]


Xsession

gnome-settings-daemon & # handles themes, starts gnome-screensaver. 
                            # You may have to use gconf to disable it setting 
                            # the background.
    gnome-terminal &        # Let's start a terminal automatically, in case
                            # we need to do some surgery
    xautolock -time 5 -locker "/usr/bin/xlock -mode goop" &
    gnome-power-manager &   # for laptops and stuff
    gnome-volume-manager &  # for auto-mounting CDs, USB sticks, and such

    bluetooth-applet &
    stalonetray & # creates some space, useful also for xmobar.
    xmobar &
    nm-applet &

    exec xmonad            # xmonad receives xinit's process id; when it 
                            # terminates, X will be terminated


Subpages (1): sublime text 2
Comments