Skip to content

Instantly share code, notes, and snippets.

@flaper87
Created July 28, 2015 14:33

Revisions

  1. flaper87 created this gist Jul 28, 2015.
    33 changes: 33 additions & 0 deletions xinitrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    #!/bin/sh

    ## Set a decent keyboard layout..
    setxkbmap -layout us -variant altgr-intl &

    amixer -c 0 sset "Auto-Mute Mode" Disabled
    xinput set-button-map "SynPS/2 Synaptics TouchPad" 1 2 3 5 4

    # Gnome stuff..
    #gnome-settings-daemon & # handles themes, starts gnome-screensaver. You may have to use gconf to disable it setting the background.
    #eval `gnome-keyring-daemon` # SSH/GPG agent

    ## This is needed for compositing
    #xrandr --output LVDS1 --mode 1920x1080 --preferred --primary --output HDMI3 --mode 1920x1080 --right-of LVDS1 || xrandr --output LVDS1 --mode 1920x1080 --preferred --primary

    # todo: run the session stuff that's missing here..


    #~/.my-autostart/opt/dex/dex -a -e Awesome
    xscreensaver -nosplash & # Screen saver
    #kupfer --no-splash & # Launcher
    nm-applet --sm-disable & # Network manager
    #dropbox start -i & # Dropbox
    parcellite & # Clipboard thing
    # tomboy & # Notes
    # workrave & # Mostly counting keystrokes :)

    xbindkeys
    # Suppress annoying beeps..
    xset b off
    #exec ck-launch-session gnome-session

    exec i3