Skip to content

Instantly share code, notes, and snippets.

@infoburp
Forked from benkaiser/wmiirc
Last active August 29, 2015 14:06

Revisions

  1. infoburp revised this gist Sep 21, 2014. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions wmiirc
    Original file line number Diff line number Diff line change
    @@ -22,10 +22,10 @@ noticetimeout=5
    noticebar=/rbar/!notice

    # Colors tuples: "<text> <background> <border>"
    export WMII_NORMCOLORS='#333333 #D7D1C8 #D7D1C8'
    export WMII_FOCUSCOLORS='#000000 #D7D1C8 #696C6D'
    export WMII_NORMCOLORS='#D5D5D5 #1D1E23 #814680'
    export WMII_FOCUSCOLORS='#FFFFFF #1D1E23 #88C220'

    export WMII_BACKGROUND='#001D25'
    export WMII_BACKGROUND='#1D1E23'
    export WMII_FONT='xft:Sans-10'

    set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS)
  2. infoburp revised this gist Sep 21, 2014. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions wmiirc
    Original file line number Diff line number Diff line change
    @@ -344,3 +344,6 @@ udiskie &
    amixer sset Master 10% &

    wi_eventloop

    #set wallpaper to ~/wallpaper.jpg
    hsetroot -full ~/wallpaper.jpg
  3. infoburp revised this gist Sep 21, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion wmiirc
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ wmiiscript=wmiirc # For wmii.sh


    # Configuration Variables
    MODKEY=Mod1
    MODKEY=Mod4
    UP=k
    DOWN=j
    LEFT=h
  4. @benkaiser benkaiser revised this gist Sep 30, 2013. No changes.
  5. @benkaiser benkaiser revised this gist Sep 30, 2013. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions wmiirc
    Original file line number Diff line number Diff line change
    @@ -145,6 +145,9 @@ Event RightBarClick
    if [ $2 = "suspend" ]; then
    sudo pm-suspend &
    fi
    if [ $2 = "screen" ]; then
    xscreensaver-command -activate
    fi
    # Actions
    Action showkeys
    @@ -317,14 +320,17 @@ do
    done

    #creat clickable suspend button
    echo "Suspend" | wmiir create /rbar/suspend &
    echo "Suspend" | wmiir create /rbar/suspend &

    #creat clickable screen off button
    echo "Screen Off" | wmiir create /rbar/screen &

    # hack for custom background image
    hsetroot -fill ~/.wmii/background.png

    # startup apps

    [ "`ps aux | grep google-chrome | grep -v grep`" = "" ] && google-chrome &
    [ "`ps aux | grep google-chrome-unstable | grep -v grep`" = "" ] && google-chrome-unstable &
    [ "`ps aux | grep thunderbird | grep -v grep`" = "" ] && thunderbird &
    [ "`ps aux | grep xfce4-panel | grep -v grep`" = "" ] && xfce4-panel &
    [ "`ps aux | grep clipit | grep -v grep`" = "" ] && clipit &
  6. @benkaiser benkaiser revised this gist Sep 23, 2013. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions wmiirc
    Original file line number Diff line number Diff line change
    @@ -222,10 +222,10 @@ Key $MODKEY-Return # Launch a terminal
    eval wmiir setsid $WMII_TERM &
    Key XF86AudioRaiseVolume
    amixer -c 0 set Master 8%+
    amixer sset Master 8%+
    Key XF86AudioLowerVolume
    amixer -c 0 set Master 8%-
    amixer sset Master 8%-
    Key XF86AudioMute
    amixer -D pulse set Master toggle
    @@ -332,5 +332,9 @@ hsetroot -fill ~/.wmii/background.png
    gnome-settings-daemon &
    xinput set-button-map 11 1 2 3 4 5 6 7 &
    CopyAgent &
    udiskie &

    # change sound on startup, full volume is a bit much
    amixer sset Master 10% &

    wi_eventloop
  7. @benkaiser benkaiser revised this gist Sep 9, 2013. 1 changed file with 55 additions and 29 deletions.
    84 changes: 55 additions & 29 deletions wmiirc
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ wmiiscript=wmiirc # For wmii.sh


    # Configuration Variables
    MODKEY=Mod4
    MODKEY=Mod1
    UP=k
    DOWN=j
    LEFT=h
    @@ -16,31 +16,32 @@ ARROW_DOWN=Down
    ARROW_LEFT=Left
    ARROW_RIGHT=Right


    # Bars
    noticetimeout=5
    noticebar=/rbar/!notice

    # Colors tuples: "<text> <background> <border>"
    export WMII_NORMCOLORS='#ffffff #000000 #000000'
    export WMII_FOCUSCOLORS='#ffffff #44bbff #44bbff'
    export WMII_NORMCOLORS='#333333 #D7D1C8 #D7D1C8'
    export WMII_FOCUSCOLORS='#000000 #D7D1C8 #696C6D'

    export WMII_BACKGROUND='#44bbff'
    export WMII_FONT='xft:Ubuntu-10'
    export WMII_BACKGROUND='#001D25'
    export WMII_FONT='xft:Sans-10'

    set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS)
    export WMII_TERM="gnome-terminal"
    export WMII_TERM="terminator"

    if ! test -d "${WMII_CONFPATH%%:*}"; then
    mkdir "${WMII_CONFPATH%%:*}"
    res=$(wihack -type DIALOG xmessage -nearmouse -buttons Windows,Alt -print -fn $WMII_FONT \
    "Welcome to wmii,$wi_newline$wi_newline" \
    "Most of wmii's default key bindings make use of the$wi_newline" \
    "Windows key, or equivalent. For keyboards lacking such$wi_newline" \
    "a key, many users change this to the Alt key.$wi_newline$wi_newline" \
    "Which would you prefer?")
    [ "$res" = "Alt" ] && MODKEY=Mod1
    echo "MODKEY=$MODKEY" >"${WMII_CONFPATH%%:*}/wmiirc_local"
    chmod +x "${WMII_CONFPATH%%:*}/wmiirc_local"
    mkdir "${WMII_CONFPATH%%:*}"
    res=$(wihack -type DIALOG xmessage -nearmouse -buttons Windows,Alt -print -fn $WMII_FONT \
    "Welcome to wmii,$wi_newline$wi_newline" \
    "Most of wmii's default key bindings make use of the$wi_newline" \
    "Windows key, or equivalent. For keyboards lacking such$wi_newline" \
    "a key, many users change this to the Alt key.$wi_newline$wi_newline" \
    "Which would you prefer?")
    [ "$res" = "Alt" ] && MODKEY=Mod1
    echo "MODKEY=$MODKEY" >"${WMII_CONFPATH%%:*}/wmiirc_local"
    chmod +x "${WMII_CONFPATH%%:*}/wmiirc_local"
    fi

    # Menu history
    @@ -56,15 +57,15 @@ wmiir write /colrules <<!
    # Tagging Rules
    wmiir write /tagrules <<!
    /MPlayer|VLC/ -> ~
    /.*/ -> sel
    /^bashee.*/ -> 9
    /^thunderbird.*/ -> 9
    /.*/ -> sel
    !


    # Status Bar Info
    status() {
    echo -n 'Ram: ' $(free | grep Mem | awk '{printf "%.2f", $4/$2 * 100.0}'
    ) '% | Cpu: ' $(mpstat | grep -A 5 "%idle" | tail -n 1 | awk -F " " '{print 100 - $11}'a) '% | ' $(date +"%Y %a %b %e %r")
    echo -n $(ip addr show | perl -ne '/inet\s*([\d\.]+).*global/ && do {print "$1\n"}') '|' $(acpi -V | awk 'NR==1{print $3 " " $4 " " $5 " Remaining" }' | sed s/,//) '|' $(sut) '|' $(date)
    }

    local_events() { true;}
    @@ -98,8 +99,8 @@ Event Unresponsive
    client=$1; shift
    msg="The following client is not responding. What would you like to do?$wi_newline"
    resp=$(wihack -transient $client \
    xmessage -nearmouse -buttons Kill,Wait -print
    -fn "${WMII_FONT%%,*}" "$msg $(wmiir read /client/sel/label)")
    xmessage -nearmouse -buttons Kill,Wait -print
    -fn "${WMII_FONT%%,*}" "$msg $(wmiir read /client/sel/label)")
    if [ "$resp" = Kill ]; then
    wmiir xwrite /client/$client/ctl slay &
    fi
    @@ -111,11 +112,11 @@ Event Notice
    { sleep $noticetimeout; wmiir xwrite $noticebar ' '; }&
    xpid = $!
    # Menusubuntu login selection
    # Menus
    Menu Client-3-Delete
    wmiir xwrite /client/$1/ctl kill
    Menu Client-3-Kill
    wmiir xwrite /client/$1/ctl slay
    Menu Client-3-Close
    wmiir xwrite /client/$1/ctl kill
    Menu Client-3-Fullscreen
    wmiir xwrite /client/$1/ctl Fullscreen on
    Event ClientMouseDown
    @@ -140,6 +141,10 @@ Menu LBar-3-Delete
    done
    Event LeftBarMouseDown
    wi_fnmenu LBar "$@" &
    Event RightBarClick
    if [ $2 = "suspend" ]; then
    sudo pm-suspend &
    fi
    # Actions
    Action showkeys
    @@ -213,7 +218,6 @@ Key $MODKEY-a # Open wmii actions menu
    Key $MODKEY-p # Open program menu
    eval wmiir setsid "$(wimenu -h "${hist}.progs" -n $histnum <$progsfile)" &
    Key $MODKEY-Return # Launch a terminal
    eval wmiir setsid $WMII_TERM &
    @@ -223,6 +227,21 @@ Key XF86AudioRaiseVolume
    Key XF86AudioLowerVolume
    amixer -c 0 set Master 8%-
    Key XF86AudioMute
    amixer -D pulse set Master toggle
    Key XF86MonBrightnessUp
    xbacklight -inc 10
    Key XF86MonBrightnessDown
    xbacklight -dec 10
    Key XF86KbdBrightnessDown
    lower_key_backlight
    Key XF86KbdBrightnessUp
    raise_key_backlight
    KeyGroup Other
    Key $MODKEY-Control-t # Toggle all other key bindings
    case $(wmiir read /keys | wc -l | tr -d ' \t\n') in
    @@ -297,14 +316,21 @@ do
    fi | wmiir create "/lbar/$tag"
    done

    #creat clickable suspend button
    echo "Suspend" | wmiir create /rbar/suspend &

    # hack for custom background image
    hsetroot -fill ~/.wmii/background.png

    # startup apps

    [ "`ps aux | grep banshee | grep -v grep`" = "" ] && banshee &
    [ "`ps aux | grep google-chrome | grep -v grep`" = "" ] && google-chrome &
    [ "`ps aux | grep thunderbird | grep -v grep`" = "" ] && thunderbird &
    [ "`ps aux | grep insync | grep -v grep`" = "" ] && insync &
    [ "`ps aux | grep xfce4-panel | grep -v grep`" = "" ] && xfce4-panel &
    [ "`ps aux | grep clipit | grep -v grep`" = "" ] && clipit &
    [ "`ps aux | grep nm-applet | grep -v grep`" = "" ] && nm-applet &
    gnome-settings-daemon &
    /home/benkaiser/scripts/gtk_ssh_control.py &
    xinput set-button-map 11 1 2 3 4 5 6 7 &
    CopyAgent &

    wi_eventloop
    wi_eventloop
  8. @benkaiser benkaiser revised this gist Jun 19, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion wmiirc
    Original file line number Diff line number Diff line change
    @@ -307,4 +307,4 @@ done
    gnome-settings-daemon &
    /home/benkaiser/scripts/gtk_ssh_control.py &

    wi_eventloop
    wi_eventloop
  9. @benkaiser benkaiser created this gist Feb 20, 2013.
    310 changes: 310 additions & 0 deletions wmiirc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,310 @@
    #!/bin/dash -f
    # Configure wmii
    wmiiscript=wmiirc # For wmii.sh
    . wmii.sh


    # Configuration Variables
    MODKEY=Mod4
    UP=k
    DOWN=j
    LEFT=h
    RIGHT=l

    ARROW_UP=Up
    ARROW_DOWN=Down
    ARROW_LEFT=Left
    ARROW_RIGHT=Right

    # Bars
    noticetimeout=5
    noticebar=/rbar/!notice

    # Colors tuples: "<text> <background> <border>"
    export WMII_NORMCOLORS='#ffffff #000000 #000000'
    export WMII_FOCUSCOLORS='#ffffff #44bbff #44bbff'

    export WMII_BACKGROUND='#44bbff'
    export WMII_FONT='xft:Ubuntu-10'

    set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS)
    export WMII_TERM="gnome-terminal"

    if ! test -d "${WMII_CONFPATH%%:*}"; then
    mkdir "${WMII_CONFPATH%%:*}"
    res=$(wihack -type DIALOG xmessage -nearmouse -buttons Windows,Alt -print -fn $WMII_FONT \
    "Welcome to wmii,$wi_newline$wi_newline" \
    "Most of wmii's default key bindings make use of the$wi_newline" \
    "Windows key, or equivalent. For keyboards lacking such$wi_newline" \
    "a key, many users change this to the Alt key.$wi_newline$wi_newline" \
    "Which would you prefer?")
    [ "$res" = "Alt" ] && MODKEY=Mod1
    echo "MODKEY=$MODKEY" >"${WMII_CONFPATH%%:*}/wmiirc_local"
    chmod +x "${WMII_CONFPATH%%:*}/wmiirc_local"
    fi

    # Menu history
    hist="${WMII_CONFPATH%%:*}/history"
    histnum=5000

    # Column Rules
    wmiir write /colrules <<!
    /gimp/ -> 17+83+41
    /.*/ -> 62+38 # Golden Ratio
    !

    # Tagging Rules
    wmiir write /tagrules <<!
    /MPlayer|VLC/ -> ~
    /.*/ -> sel
    /^bashee.*/ -> 9
    /^thunderbird.*/ -> 9
    !

    # Status Bar Info
    status() {
    echo -n 'Ram: ' $(free | grep Mem | awk '{printf "%.2f", $4/$2 * 100.0}'
    ) '% | Cpu: ' $(mpstat | grep -A 5 "%idle" | tail -n 1 | awk -F " " '{print 100 - $11}'a) '% | ' $(date +"%Y %a %b %e %r")
    }

    local_events() { true;}
    wi_runconf -s wmiirc_local

    echo $WMII_NORMCOLORS | wmiir create $noticebar

    # Event processing
    events() {
    cat <<'!'
    # Events
    Event CreateTag
    echo "$WMII_NORMCOLORS" "$@" | wmiir create "/lbar/$@"
    Event DestroyTag
    wmiir remove "/lbar/$@"
    Event FocusTag
    wmiir xwrite "/lbar/$@" "$WMII_FOCUSCOLORS" "$@"
    Event UnfocusTag
    wmiir xwrite "/lbar/$@" "$WMII_NORMCOLORS" "$@"
    Event UrgentTag
    shift
    wmiir xwrite "/lbar/$@" "*$@"
    Event NotUrgentTag
    shift
    wmiir xwrite "/lbar/$@" "$@"
    Event LeftBarClick LeftBarDND
    shift
    wmiir xwrite /ctl view "$@"
    Event Unresponsive
    {
    client=$1; shift
    msg="The following client is not responding. What would you like to do?$wi_newline"
    resp=$(wihack -transient $client \
    xmessage -nearmouse -buttons Kill,Wait -print
    -fn "${WMII_FONT%%,*}" "$msg $(wmiir read /client/sel/label)")
    if [ "$resp" = Kill ]; then
    wmiir xwrite /client/$client/ctl slay &
    fi
    }&
    Event Notice
    wmiir xwrite $noticebar $wi_arg
    kill $xpid 2>/dev/null # Let's hope this isn't reused...
    { sleep $noticetimeout; wmiir xwrite $noticebar ' '; }&
    xpid = $!
    # Menusubuntu login selection
    Menu Client-3-Kill
    wmiir xwrite /client/$1/ctl slay
    Menu Client-3-Close
    wmiir xwrite /client/$1/ctl kill
    Menu Client-3-Fullscreen
    wmiir xwrite /client/$1/ctl Fullscreen on
    Event ClientMouseDown
    wi_fnmenu Client $2 $1 &
    Menu LBar-3-Delete
    tag=$1; clients=$(wmiir read "/tag/$tag/index" | awk '/[^#]/{print $2}')
    for c in $clients; do
    if [ "$tag" = "$(wmiir read /client/$c/tags)" ]; then
    wmiir xwrite /client/$c/ctl kill
    else
    wmiir xwrite /client/$c/tags -$tag
    fi
    if [ "$tag" = "$(wi_seltag)" ]; then
    newtag=$(wi_tags | awk -v't='$tag '
    $1 == t { if(!l) getline l
    print l
    exit }
    { l = $0 }')
    wmiir xwrite /ctl view $newtag
    fi
    done
    Event LeftBarMouseDown
    wi_fnmenu LBar "$@" &
    # Actions
    Action showkeys
    echo "$KeysHelp" | xmessage -file - -fn ${WMII_FONT%%,*}
    Action quit
    wmiir xwrite /ctl quit
    Action exec
    wmiir xwrite /ctl exec "$@"
    Action rehash
    wi_proglist $PATH >$progsfile
    Action status
    set +xv
    if wmiir remove /rbar/status 2>/dev/null; then
    sleep 2
    fi
    echo "$WMII_NORMCOLORS" | wmiir create /rbar/status
    while status | wmiir write /rbar/status; do
    sleep 1
    done
    # Key Bindings
    KeyGroup Moving around
    Key $MODKEY-$LEFT # Select the client to the left
    wmiir xwrite /tag/sel/ctl select left
    Key $MODKEY-$RIGHT # Select the client to the right
    wmiir xwrite /tag/sel/ctl select right
    Key $MODKEY-$UP # Select the client above
    wmiir xwrite /tag/sel/ctl select up
    Key $MODKEY-$DOWN # Select the client below
    wmiir xwrite /tag/sel/ctl select down
    Key $MODKEY-space # Toggle between floating and managed layers
    wmiir xwrite /tag/sel/ctl select toggle
    KeyGroup Moving through stacks
    Key $MODKEY-Control-$UP # Select the stack above
    wmiir xwrite /tag/sel/ctl select up stack
    Key $MODKEY-Control-$DOWN # Select the stack below
    wmiir xwrite /tag/sel/ctl select down stack
    KeyGroup Moving clients around
    Key $MODKEY-Shift-$LEFT # Move selected client to the left
    wmiir xwrite /tag/sel/ctl send sel left
    Key $MODKEY-Shift-$RIGHT # Move selected client to the right
    wmiir xwrite /tag/sel/ctl send sel right
    Key $MODKEY-Shift-$UP # Move selected client up
    wmiir xwrite /tag/sel/ctl send sel up
    Key $MODKEY-Shift-$DOWN # Move selected client down
    wmiir xwrite /tag/sel/ctl send sel down
    Key $MODKEY-Shift-space # Toggle selected client between floating and managed layers
    wmiir xwrite /tag/sel/ctl send sel toggle
    KeyGroup Client actions
    Key $MODKEY-f # Toggle selected client's fullsceen state
    wmiir xwrite /client/sel/ctl Fullscreen toggle
    Key $MODKEY-Shift-c # Close client
    wmiir xwrite /client/sel/ctl kill
    KeyGroup Changing column modes
    Key $MODKEY-d # Set column to default mode
    wmiir xwrite /tag/sel/ctl colmode sel default-max
    Key $MODKEY-s # Set column to stack mode
    wmiir xwrite /tag/sel/ctl colmode sel stack-max
    Key $MODKEY-m # Set column to max mode
    wmiir xwrite /tag/sel/ctl colmode sel stack+max
    KeyGroup Running programs
    Key $MODKEY-a # Open wmii actions menu
    action $(wi_actions | wimenu -h "${hist}.actions" -n $histnum) &
    Key $MODKEY-p # Open program menu
    eval wmiir setsid "$(wimenu -h "${hist}.progs" -n $histnum <$progsfile)" &
    Key $MODKEY-Return # Launch a terminal
    eval wmiir setsid $WMII_TERM &
    Key XF86AudioRaiseVolume
    amixer -c 0 set Master 8%+
    Key XF86AudioLowerVolume
    amixer -c 0 set Master 8%-
    KeyGroup Other
    Key $MODKEY-Control-t # Toggle all other key bindings
    case $(wmiir read /keys | wc -l | tr -d ' \t\n') in
    0|1)
    echo -n "$Keys" | wmiir write /keys
    wmiir xwrite /ctl grabmod $MODKEY;;
    *)
    wmiir xwrite /keys $MODKEY-Control-t
    wmiir xwrite /ctl grabmod Mod3;;
    esac
    KeyGroup Window Movements
    Key $MODKEY-Shift-$ARROW_LEFT
    wmiir xwrite /tag/sel/ctl grow sel sel right -1
    Key $MODKEY-Shift-$ARROW_RIGHT
    wmiir xwrite /tag/sel/ctl grow sel sel right 1
    Key $MODKEY-Shift-$ARROW_DOWN
    wmiir xwrite /tag/sel/ctl grow sel sel down 1
    Key $MODKEY-Shift-$ARROW_UP
    wmiir xwrite /tag/sel/ctl grow sel sel down -1
    KeyGroup Tag actions
    Key $MODKEY-t # Change to another tag
    (tag=$(wi_tags | wimenu -h "${hist}.tags" -n 50) && wmiir xwrite /ctl view $tag) &
    Key $MODKEY-$ARROW_LEFT # move to left tag
    c=$(wmiir read /ctl | tail -n 1 | awk '{print $2}')
    wmiir xwrite /ctl view $(($c-1))
    Key $MODKEY-$ARROW_RIGHT # move to right tag
    c=$(wmiir read /ctl | tail -n 1 | awk '{print $2}')
    wmiir xwrite /ctl view $(($c+1))
    Key $MODKEY-Shift-t # Retag the selected client
    c=$(wi_selclient)
    (tag=$(wi_tags | wimenu -h "${hist}.tags" -n 50) && wmiir xwrite /client/$c/tags $tag) &
    !
    for i in 0 1 2 3 4 5 6 7 8 9; do
    cat <<!
    Key $MODKEY-$i # Move to the numbered view
    wmiir xwrite /ctl view "$i"
    Key $MODKEY-Shift-$i # Retag selected client with the numbered tag
    wmiir xwrite /client/sel/tags "$i"
    !
    done
    }
    wi_events events local_events

    # WM Configuration
    wmiir write /ctl <<!
    font $WMII_FONT
    focuscolors $WMII_FOCUSCOLORS
    normcolors $WMII_NORMCOLORS
    grabmod $MODKEY
    border 1
    !
    xsetroot -solid "$WMII_BACKGROUND" &

    # Misc
    progsfile="$(wmiir namespace)/.proglist"
    action status &
    wi_proglist $PATH >$progsfile &

    # Setup Tag Bar
    IFS="$wi_newline"
    wmiir rm $(wmiir ls /lbar | sed 's,^,/lbar/,') >/dev/null
    seltag=$(wmiir read /tag/sel/ctl | sed 1q)
    unset IFS
    wi_tags | while read tag
    do
    if [ "$tag" = "$seltag" ]; then
    echo "$WMII_FOCUSCOLORS" "$tag"
    else
    echo "$WMII_NORMCOLORS" "$tag"
    fi | wmiir create "/lbar/$tag"
    done

    # startup apps

    [ "`ps aux | grep banshee | grep -v grep`" = "" ] && banshee &
    [ "`ps aux | grep google-chrome | grep -v grep`" = "" ] && google-chrome &
    [ "`ps aux | grep thunderbird | grep -v grep`" = "" ] && thunderbird &
    [ "`ps aux | grep insync | grep -v grep`" = "" ] && insync &
    [ "`ps aux | grep xfce4-panel | grep -v grep`" = "" ] && xfce4-panel &
    gnome-settings-daemon &
    /home/benkaiser/scripts/gtk_ssh_control.py &

    wi_eventloop