[ SOLVED ] [ Openbox ] autostart.sh is being ignored ..

~/.config/openbox/autostart.sh
# Turn On numlock
numlockx &
# Desktop background
nitrogen --restore &
# Panel
tint2 &
# Conky
conky -c ~/.conkyrc
.xinitrc
exec ck-launch-session openbox
start-pulseaudio-x11
When Openbox starts, nothing happens ( none of the entries gets executed ).
** Works perfectly when I execute the given file from the command line ..
How to fix it ?
[ SOLVED ] Changed .xinitrc line from openbox to openbox-session and everything seems to be working now ..
Last edited by Minimal Scope (2010-10-29 18:17:06)

Sorry I'm new with linux. Thanks you for your time
Last edited by Jeager (2010-05-16 20:40:26)

Similar Messages

  • [SOLVED] Openbox autostart no longer working since upgrade

    After the upgrade on May 14 2013 my autostart file no longer works. I tried renaming my autostart.sh to just autostart no luck. There is nothing wrong with the autostart file as I can run it manually and it will load all my apps. Also, if I cd to  /usr/lib/openbox/ and run openbox-autostart directly it works. Here are the updated packages:
    [2013-05-14 21:34] [PACMAN] upgraded ethtool (1:3.8-1 -> 1:3.9-1)
    [2013-05-14 21:34] [PACMAN] upgraded firefox (20.0.1-5 -> 21.0-1)
    [2013-05-14 21:34] [PACMAN] upgraded gsettings-desktop-schemas (3.8.0-1 -> 3.8.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded glib-networking (2.36.1-1 -> 2.36.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded gnome-icon-theme-symbolic (3.8.0.1-2 -> 3.8.2.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded gnome-icon-theme (3.8.0-1 -> 3.8.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded gnupg (2.0.19-7 -> 2.0.20-1)
    [2013-05-14 21:34] [PACMAN] upgraded gtkmm (2.24.2-2 -> 2.24.3-1)
    [2013-05-14 21:34] [PACMAN] upgraded gvfs (1.16.1-2 -> 1.16.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded libical (0.48-1 -> 1.0-2)
    [2013-05-14 21:34] [PACMAN] upgraded mplayer (35920-2 -> 35920-3)
    [2013-05-14 21:34] [PACMAN] upgraded orage (4.8.4-1 -> 4.8.4-2)
    [2013-05-14 21:34] [PACMAN] upgraded pango (1.34.0-1 -> 1.34.1-1)
    [2013-05-14 21:34] [PACMAN] upgraded pdnsd (1.2.9.a-1 -> 1.2.9.a-2)
    [2013-05-14 21:34] [PACMAN] upgraded python2-distribute (0.6.38-1 -> 0.6.39-1)
    [2013-05-14 21:34] [PACMAN] upgraded python2-zope-interface (4.0.3-1 -> 4.0.5-1)
    [2013-05-14 21:34] [PACMAN] upgraded sudo (1.8.6.p8-1 -> 1.8.6.p8-2)
    [2013-05-14 21:34] [PACMAN] upgraded thunderbird (17.0.5-2 -> 17.0.6-1)
    [2013-05-14 21:34] [PACMAN] upgraded virtualbox (4.2.12-2 -> 4.2.12-3)
    [2013-05-14 21:34] [PACMAN] upgraded vte-common (0.34.4-1 -> 0.34.5-1)
    [2013-05-14 21:35] [PACMAN] upgraded python3-threaded_servers (2013.5.12.3-1 -> 2013.5.14.1-1)
    Not sure what's going on or what could have caused it. My .xinitrc looks like this:
    #!/bin/sh
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    export BROWSER="chromium"
    # Start GNOME Keyring
    eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
    # You probably need to do this too:
    export SSH_AUTH_SOCK
    export GPG_AGENT_INFO
    export GNOME_KEYRING_CONTROL
    export GNOME_KEYRING_PID
    exec openbox-session
    My .zprofile
    [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx &> ~/.xlog
    My systemd startup service:
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    [Unit]
    Description=Getty on %I
    Documentation=man:agetty(8) man:systemd-getty-generator(8)
    Documentation=http://0pointer.de/blog/projects/serial-console.html
    After=systemd-user-sessions.service plymouth-quit-wait.service
    After=rc-local.service
    # If additional gettys are spawned during boot then we should make
    # sure that this is synchronized before getty.target, even though
    # getty.target didn't actually pull it in.
    Before=getty.target
    IgnoreOnIsolate=yes
    # On systems without virtual consoles, don't start any getty. (Note
    # that serial gettys are covered by [email protected], not this
    # unit
    ConditionPathExists=/dev/tty0
    [Service]
    # the VT is cleared by TTYVTDisallocate
    ExecStart=-/sbin/agetty -a dodo3773 %I 38400
    Type=simple
    #Restart=always
    #RestartSec=0
    UtmpIdentifier=%I
    TTYPath=/dev/%I
    TTYReset=no
    TTYVHangup=no
    TTYVTDisallocate=no
    KillMode=process
    IgnoreSIGPIPE=no
    # Unset locale for the console getty since the console has problems
    # displaying some internationalized messages.
    Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=
    # Some login implementations ignore SIGTERM, so we send SIGHUP
    # instead, to ensure that login terminates cleanly.
    KillSignal=SIGHUP
    [Install]
    WantedBy=getty.target
    Edit: I tried switching to bash in a tty and then just startx but that doesn't help either.
    Edit2: To be clear openbox does load a desktop. The autostart scripts at ~/.config/openbox/ just don't run. Thanks.
    Edit3: I decided to run the command issued in openbox-session and added --debug to it. Here is the output of "xinit /usr/bin/openbox --debug --startup "/usr/lib/openbox/openbox-autostart OPENBOX" "$@" -- :1 -nolisten tcp" :
    X.Org X Server 1.14.1
    Release Date: 2013-04-17
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.8.7-1-ARCH x86_64
    Current Operating System: Linux dodo713 3.9.2-2-ck #1 SMP PREEMPT Sun May 12 18:19:49 EDT 2013 x86_64
    Kernel command line: BOOT_IMAGE=/vmlinuz-linux-ck root=UUID=06874255-7a5d-4968-8f09-1e53cb761f44 ro quiet init=/usr/lib/systemd/systemd
    Build Date: 17 April 2013 02:37:06PM
    Current version of pixman: 0.30.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Fri May 17 08:14:11 2013
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    setversion 1.4 failed
    Initializing built-in extension Generic Event Extension
    Initializing built-in extension SHAPE
    Initializing built-in extension MIT-SHM
    Initializing built-in extension XInputExtension
    Initializing built-in extension XTEST
    Initializing built-in extension BIG-REQUESTS
    Initializing built-in extension SYNC
    Initializing built-in extension XKEYBOARD
    Initializing built-in extension XC-MISC
    Initializing built-in extension SECURITY
    Initializing built-in extension XINERAMA
    Initializing built-in extension XFIXES
    Initializing built-in extension RENDER
    Initializing built-in extension RANDR
    Initializing built-in extension COMPOSITE
    Initializing built-in extension DAMAGE
    Initializing built-in extension MIT-SCREEN-SAVER
    Initializing built-in extension DOUBLE-BUFFER
    Initializing built-in extension RECORD
    Initializing built-in extension DPMS
    Initializing built-in extension X-Resource
    Initializing built-in extension XVideo
    Initializing built-in extension XVideo-MotionCompensation
    Initializing built-in extension XFree86-VidModeExtension
    Initializing built-in extension XFree86-DGA
    Initializing built-in extension XFree86-DRI
    Initializing built-in extension DRI2
    Loading extension GLX
    Loading extension NV-GLX
    Loading extension NV-CONTROL
    Loading extension XINERAMA
    setversion 1.4 failed
    Openbox-Debug: --startup /usr/lib/openbox/openbox-autostart OPENBOX
    Openbox-Debug: Moving to desktop 1
    Openbox-Debug: not managing override redirect window 0x4000bb
    which: no hsetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
    which: no esetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
    which: no xsetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
    kupfer: Reading from stdin
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Compat map for group 2 redefined
    > Using new definition
    > Warning: Compat map for group 3 redefined
    > Using new definition
    > Warning: Compat map for group 4 redefined
    > Using new definition
    Errors from xkbcomp are not fatal to the X server
    Openbox-Debug: Caught signal 22. Ignoring.
    Openbox-Debug: UPDATE DESKTOP NAMES
    Openbox-Debug: Keyboard map changed. Reloading keyboard bindings.
    Edit4: Removed everything from /etc/xdg/autostart and ~/.config/autostart/ directories. That didn't work.
    Edit5: Tried installing xorg-xsetroot to let openbox set the color of the wallpaper. That didn't work.
    Edit6: Checked the output of "loginctl show-session $XDG_SESSION_ID" to make sure that wasn't the issue. Looks okay to me:
    Id=1
    Timestamp=Fri 2013-05-17 10:25:53 PDT
    TimestampMonotonic=13650783
    DefaultControlGroup=systemd:/user/1000.user/1.session
    VTNr=1
    TTY=tty1
    Remote=no
    Service=login
    Leader=405
    Audit=1
    Type=tty
    Class=user
    Active=yes
    State=active
    KillProcesses=no
    IdleHint=no
    IdleSinceHint=1368811547544203
    IdleSinceHintMonotonic=7545641
    Name=dodo3773
    Edit7: Tried installing xorg-xrdb thinking maybe that would help and did todays updates. No luck yet.
    Edit8: Kupfer still loads even though nothing else does. So I uninstalled kupfer. Same thing though. No autostart.
    Edit9: Tried booting into repo kernel instead of ck kernel. Didn't work.
    Last edited by dodo3773 (2013-05-19 06:34:44)

    WonderWoofy wrote:Interestingly, of all those things you included in your post, you forgot to include the autostart script itself.  What does that look like?
    Well, since it worked fine even when called indirectly through openbox-autostart and since it's worked fine for months I figured it was fine. I am happy to post it though. Here you go:
    feh --bg-scale /home/dodo3773/Pictures/blacksolid.png &
    xfce4-panel &
    numlockx &
    keepassx -lock &
    kupfer --no-splash &
    ~/Documents/Scripts/startupopen.sh &
    sleep 30 && sudo /usr/bin/ntpd -qg &
    sudo /usr/sbin/ethtool -K eth0 rx off &
    ~/Documents/Scripts/conky.sh &
    sudo /home/dodo3773/Documents/Scripts/temp_throttlenew > /dev/null 2>&1 &
    Here are the external scripts that are called (startupopen.sh and temp_throttlenew):
    startupopen.sh
    #! /bin/bash
    sleep 13
    chromium &
    thunderbird &
    sleep 20
    devilspie -a &
    sleep 7
    pkill devilspie &
    exit
    temp_throttlenew
    #!/bin/bash
    # temp_throttle.sh max_temp
    # USE CELSIUS TEMPERATURES.
    if [[ $EUID -ne 0 ]]; then
    echo "This script must be run as root" 1>&2
    exit 1
    fi
    #if [ $# -ne 1 ]; then
    # If temperature wasn't given, then print a message and exit.
    # echo "Please supply a maximum desired temperature in Celsius." 1>&2
    # echo "For example: ${0} 60" 1>&2
    # exit 2
    #else
    #Set the first argument as the maximum desired temperature.
    MAX_TEMP=85
    #fi
    # The frequency will increase when low temperature is reached.
    let LOW_TEMP=$MAX_TEMP-5
    CORES=$(nproc) # Get number of CPU cores.
    echo -e "Number of CPU cores detected: $CORES\n"
    # Temperatures internally are calculated to the thousandth.
    MAX_TEMP=${MAX_TEMP}000
    LOW_TEMP=${LOW_TEMP}000
    # FREQ_LIST is a list (array) of all available cpu frequencies the system allows.
    declare -a FREQ_LIST=($(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies))
    # CURRENT_FREQ relates to the FREQ_LIST by keeping record of the currently set frequency.
    let CURRENT_FREQ=1
    function set_freq {
    echo ${FREQ_LIST[$1]}
    cpupower frequency-set -g "ondemand" -d "800MHz" -u ${FREQ_LIST[$1]}
    function throttle {
    if [ $CURRENT_FREQ -ne $((${#FREQ_LIST[@]}-1)) ]; then
    let CURRENT_FREQ+=1
    echo -n "throttle "
    set_freq $CURRENT_FREQ
    fi
    function unthrottle {
    if [ $CURRENT_FREQ -ne 0 ]; then
    let CURRENT_FREQ-=1
    echo -n "unthrottle "
    set_freq $CURRENT_FREQ
    fi
    function get_temp {
    # Get the system temperature.
    # If one of these doesn't work, the try uncommenting another.
    TEMP=$(cat /sys/class/thermal/thermal_zone0/temp)
    #TEMP=$(cat /sys/class/hwmon/hwmon0/temp1_input)
    #TEMP=$(cat /sys/class/hwmon/hwmon1/device/temp1_input)
    while true; do
    get_temp
    if [ $TEMP -gt $MAX_TEMP ]; then # Throttle if too hot.
    throttle
    elif [ $TEMP -le $LOW_TEMP ]; then # Unthrottle if cool.
    unthrottle
    fi
    sleep 3
    done
    Stuff that needs sudo is in my sudoers as "username hostname NOPASSWD: item1,item2,etc,etc". Nothing too exciting. Seems like if there was suddenly something wrong with my autostart file at least some of the stuff would run either way though cause of "&". Pretty puzzling this issue is.

  • [SOLVED] Openbox Autostarting only some programs

    Ok, so I've tried searching the forums and either cannot find the one that answers my question or it doesn't exist.  Either way, I have my openbox autostart script set up like this:
    xcompmgr &
    nitrogen --restore &
    yakuake &
    cairo-dock &
    The file is saved as ~/.config/openbox/autostart.sh Only cairo dock and yakuake start up at the start of the openbox session.  The cairo dock has the black box around it from xcompmgr not being run but then if i manually start it in a terminal with "xcompmgr" then it goes away like it should.  So xcompmgr won't autostart and nitrogen won't restore either.  Nitrogen works if I manually do it after the openbox session has begun but only stays while i'm logged in, no restoring upon next login.  I'm trying to figure out if I have some syntax wrong?  I've tried separating the xcompmgr as far away from the cairo dock to give it more time to load but nothing...any help would be very appreciated.
    other info: I have no DE, just the dock, openbox and nitrogen for my desktop.
    Last edited by DonTonberry (2012-10-05 00:48:00)

    did as you said 2ManyDogs and received this:
    ~]$ ~/.config/openbox/autostart.sh
    /home/tonberry/.config/openbox/autostart.sh: line 3: $'\357\273\277nitrogen': command not found
    /home/tonberry/.config/openbox/autostart.sh: line 1: $'\357\273\277xcompmgr': command not found
    [tonberry@knife ~]$ QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    Yakuake is already running, opening window....
    ============================================================================
    Cairo-Dock version : 3.0.2
    Compiled date : Jul 16 2012 19:29:57
    Built with GTK : 3.4
    Running with OpenGL: 1
    ============================================================================
    CairoKeyBinding '<Super>L' failed!
    warning : (/tmp/yaourt-tmp-arch/aur-cairo-dock/src/cairo-dock-3.0.2/src/gldit/cairo-dock-keybinder.c:cd_keybinder_bind:283)
    Couldn't bind '<Super>L' (Log out: Lock the screen)
    This shortkey is probably already used by another applet or another application
    CairoKeyBinding '<Control>F12' failed!
    warning : (/tmp/yaourt-tmp-arch/aur-cairo-dock/src/cairo-dock-3.0.2/src/gldit/cairo-dock-keybinder.c:cd_keybinder_bind:283)
    Couldn't bind '<Control>F12' (Log out: Show the log-out menu)
    This shortkey is probably already used by another applet or another application
    CairoKeyBinding '<Control>Return' failed!
    warning : (/tmp/yaourt-tmp-arch/aur-cairo-dock/src/cairo-dock-3.0.2/src/gldit/cairo-dock-keybinder.c:cd_keybinder_bind:283)
    Couldn't bind '<Control>Return' (Scooby-Do: Enable/disable the Finder)
    This shortkey is probably already used by another applet or another application
    CairoKeyBinding '<Super>Return' failed!
    warning : (/tmp/yaourt-tmp-arch/aur-cairo-dock/src/cairo-dock-3.0.2/src/gldit/cairo-dock-keybinder.c:cd_keybinder_bind:283)
    Couldn't bind '<Super>Return' (Control from keyboard: Enable/disable the keyboard control of the dock)
    This shortkey is probably already used by another applet or another application
    CairoKeyBinding '<Shift><Ctrl>F4' failed!
    warning : (/tmp/yaourt-tmp-arch/aur-cairo-dock/src/cairo-dock-3.0.2/src/gldit/cairo-dock-keybinder.c:cd_keybinder_bind:283)
    Couldn't bind '<Shift><Ctrl>F4' (Show Desktop: Expose all the desktops)
    This shortkey is probably already used by another applet or another application

  • [Solved]Openbox: Autostart.sh doesn't work

    Hello
    I just made a fresh install of arch with openbox but I can't launch my applications at start
    xterm &
    nitrogen --restore &
    This doesn't work in ~/.config/openbox/autostart.sh neither in /etc/xdg/openbox/autostart.sh
    Can someone help me plz ?
    thanks and sorry for my bad english
    Last edited by Jeager (2010-05-16 20:48:43)

    Sorry I'm new with linux. Thanks you for your time
    Last edited by Jeager (2010-05-16 20:40:26)

  • [solved] Openbox autostarting ncmpcpp in lxterminal on desktop2

    Hi!
    I wondered how to get this working...
    What I want: I want openbox to open an lxterminal with ncmpcpp running on desktop2
    What I tried so far:
    Editing .config/openbox/rc.xml
    <application name="ncmpcpp">
    <desktop>2</desktop>
    </application>
    and then I put lxterminal -e ncmpcpp & in my autostart.sh
    Clearly this did not work, since autostart starts lxterminal and not ncmpcpp.
    Ok, so I tried to see if the <application> settings in rc.xml can be fooled by:
    - ln -s lxterminal terminalncmpcpp
    <application name="terminalncmpcpp">
    <desktop>2</desktop>
    </application>
    and putting terminalncmpcpp -e ncmpcpp & in the autostart.sh
    Sadly this didn't work too.
    Is there a way to get this to work?
    Thanks,
    zip1100
    Last edited by zip1100 (2010-09-04 18:15:45)

    ctrl wrote: Maybe you can change the name of a specific lxterminal (i.e. with urxvt: "urxvt -name myterm").
    That did the trick for me. Unfortunately not with lxtermial (it looks like it has no -name parameter)  but with urxvt.
    Thanks!

  • [SOLVED]Openbox Autostart not Autostarting

    So I recently realized that my having openbox on both root and user were conflicting, and deleted the root files. However, now The commands in my autostart.sh fail to execute my startup programs, like conky, feh and tint2
    Here is my autostart.sh:
    # This shell script is run before Openbox launches.
    # Environment variables set here are passed to the Openbox session.
    # Set a background color
    BG=""
    if which hsetroot >/dev/null 2>&1; then
    BG=hsetroot
    else
    if which esetroot >/dev/null 2>&1; then
    BG=esetroot
    else
    if which xsetroot >/dev/null 2>&1; then
    BG=xsetroot
    fi
    fi
    fi
    test -z $BG || $BG -solid "#303030"
    # D-bus
    if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
    eval `dbus-launch --sh-syntax --exit-with-session`
    fi
    # Make GTK apps look and behave how they were set up in the gnome config tools
    #if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
    # /usr/libexec/gnome-settings-daemon &
    #elif which gnome-settings-daemon >/dev/null 2>&1; then
    # gnome-settings-daemon &
    # Make GTK apps look and behave how they were set up in the XFCE config tools
    #elif which xfce-mcs-manager >/dev/null 2>&1; then
    #xfce-mcs-manager n &
    fi
    # Preload stuff for KDE apps
    #if which start_kdeinit >/dev/null 2>&1; then
    # LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
    fi
    # Run XDG autostart things. By default don't run anything desktop-specific
    # See xdg-autostart --help more info
    #DESKTOP_ENV="OPENBOX"
    #if which /usr/lib/openbox/xdg-autostart >/dev/null 2>&1; then
    # /usr/lib/openbox/xdg-autostart $DESKTOP_ENV
    fi
    # Run the system-wide support stuff
    . $GLOBALAUTOSTART
    # Programs to launch at startup
    #hsetroot ~/wallpaper.png &
    xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
    sh ~/.fehbg &
    xcalib /home/duke/colorprofiles/Color\ LCD-00000610-000004272300.icc &
    # SCIM support (for typing non-english characters)
    export LC_CTYPE=ja_JP.utf8
    export XMODIFIERS=@im=SCIM
    export GTK_IM_MODULE=scim
    export QT_IM_MODULE=scim
    scim -d &
    # Programs that will run after Openbox has started
    (sleep 2 && tint2) &
    ~/.scripts/conkystart.sh &
    fi
    fi
    fi
    Can someone tell me why this is occuring?
    Last edited by duke11235 (2010-10-10 17:29:31)

    I don't use openbox currently, but I believe you should still have a fresh copy of autostart.sh in /etc/xdg/openbox to start over with. If not, here is a copy of mine:
    # This shell script is run before Openbox launches.
    # Environment variables set here are passed to the Openbox session.
    # DUKE11235...THIS IS WHERE I HAD MY AUTOSTART APPS (tint2, tilda, wicd-client) LISTED :: MUNKY
    # Set a background color
    BG=""
    if which hsetroot >/dev/null 2>&1; then
    BG=hsetroot
    else
    if which esetroot >/dev/null 2>&1; then
    BG=esetroot
    else
    if which xsetroot >/dev/null 2>&1; then
    BG=xsetroot
    fi
    fi
    fi
    test -z $BG || $BG -solid "#303030"
    # D-bus
    if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
    eval `dbus-launch --sh-syntax --exit-with-session`
    fi
    # Make GTK apps look and behave how they were set up in the gnome config tools
    if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
    /usr/libexec/gnome-settings-daemon &
    elif which gnome-settings-daemon >/dev/null 2>&1; then
    gnome-settings-daemon &
    # Make GTK apps look and behave how they were set up in the XFCE config tools
    elif which xfce-mcs-manager >/dev/null 2>&1; then
    xfce-mcs-manager n &
    fi
    # Preload stuff for KDE apps
    if which start_kdeinit >/dev/null 2>&1; then
    LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
    fi
    # Run XDG autostart things. By default don't run anything desktop-specific
    # See xdg-autostart --help more info
    DESKTOP_ENV="OPENBOX"
    if which /usr/lib/openbox/xdg-autostart >/dev/null 2>&1; then
    /usr/lib/openbox/xdg-autostart $DESKTOP_ENV
    fi
    I hope this is useful,
    Munky

  • [SOLVED] tilda won't work with openbox autostart

    I tried to start tilda with ~/.config/openbox/autostart. I can see tilda among the processes but pulldown key has no effect.
    Tilda works when starting from terminal with the following error messages:
    tilda:28274): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
    (tilda:28274): Gdk-CRITICAL **: IA__gdk_drawable_get_display: assertion `GDK_IS_DRAWABLE (drawable)' failed
    (tilda:28274): Gdk-CRITICAL **: _gdk_x11_window_get_toplevel: assertion `GDK_IS_WINDOW (window)' failed
    (tilda:28274): Gdk-WARNING **: gdk_window_set_user_time called on non-toplevel
    FYI: I've recently removed gnome shell from my system and installed openbox. Maybe something missing? Any suggestion?
    Last edited by siriusb (2011-11-10 13:57:52)

    I installed the package, restarted X but now tilda doesn't start from terminal either.

  • [SOLVED] Openbox+Thunar, how to show usb devices in thunar?

    Hi.  I've been running a pretty standard Xfce environment for a while.  When I plug in a usb drive, I get a new item pop up in the "DEVICES" section of the left panel in thunar (note, it doesn't automount the device, it just shows that it's there and only mounts it when I click on it...I like this behaviour).
    Now, I'm setting up an even lighter-weight environment, just openbox and tint2 with thunar as the file manager.  But when I'm logged into the openbox environment, I don't get the item in the "DEVICES" section in thunar (but it still works fine in xfce).
    If it run thunar from the command line and plug in a usb drive I get this message in the terminal
    (thunar:21205): thunar-WARNING **: Failed to launch the volume manager (Failed to execute child process "thunar-volman" (No such file or directory)), make sure you have the "thunar-volman" package installed.
    I don't see why I would need thunar-volman if it works fine in xfce.  If I install thunar-volman and do the same, I get this message
    thunar-volman: Unsupported USB device type.
    thunar-volman: Unsupported USB device type.
    thunar-volman: Unknown block device type.
    So I'm wondering if maybe there is a daemon that is autostarted during an xfce session that makes thunar probe for devices to be plugged in or something like that.  Why does it work in an xfce session, but not in an openbox session?
    Last edited by Pacopag (2013-03-14 15:52:32)

    Thanks for your replies.
    henk:  I tried installing polkit-gnome and creating the rule as per the wiki, but it didn't work.  Volume detection seems to work fine in xfce without this package.
    jv2112:  I added udiskie to .config/openbox/autostart and it seems to work.  I've had problems with udiskie in the past; it seemed to have some trouble unmounting the drives properly after a write as I would find that the newly written files were corrupt.  But it seems to be working fine.
    I'll mark this as solved, but I'm still curious as to how xfce-thunar is mounting the usb devices. 
    One clue is that with udiskie, devices get mounted to /media, whereas in xfce they get mounted to /var/run/media/username/ (or something like that).

  • [SOLVED] OpenBox with XP in VirtualBox

    Hi All
    I'm hoping someone has an answer to this one. I'm in the process of switching from Gnome 3 to OpenBox. I'm almost there except for getting VirtualBox to work correctly in seamless mode.
    If I login to Gnome 3 then seamless virtualbox works brilliantly but in openBox I get a sort of screen lag as though the graphics driver is running incredibly slow. VirtualBox works fine when it's not in seamless mode though.
    Contents of .config/openbox/autostart:
    xcompmgr &
    # Restore wallpaper
    nitrogen --restore &
    # Start Devilspie to alter windows
    devilspie -a &
    # Start Main Panel
    tint2 &
    EDIT: I use Docky as a program launcher hence the need for xcompmgr. Devilspie I use to move NetBeans to the development desktop.
    Thanks
    Rich
    Last edited by RichAustin (2011-11-06 12:36:23)

    Unfortunately I don't think either xcompmgr or cairo-compmgr will work with virtualbox seamless mode.  I think seamless mode works decently with compiz and kwin, though in the past these have had problems as well. Seamless and compositing just don't mix well and unfortunately I doubt oracle cares about making it work with xcompmgr, which isn't even being developed anymore, so no fix likely to come from that end either.
    You could either use docky uncomposited, it still works, just not as pretty, use another dock, or use compiz as your window manger instead of openbox.
    Also you can move an application to a specific dektop in openbox rc.xml with
    <application class="the class of the app you want to move*">
       <desktop>2</desktop>
    </application>
    So you maybe you don't need to run Devilspie, if you use compiz it also has features to control where applications are placed. There are also more application placement variables in openbox then just my above example.

  • [solved] Openbox keybind problem

    I am trying to bind windows+y key to display openbox menu, but it can't get it to work:
    <!-- Keybindings for running applications -->
    <keybind key="W-y">
    <action name="ShowMenu">
    <menu>root-menu</menu>
    </action>
    </keybind>
    <keybind key="W-e">
    <action name="Execute">
    <startupnotify>
    <enabled>true</enabled>
    <name>Konqueror</name>
    </startupnotify>
    <command>kfmclient openProfile filemanagement</command>
    </action>
    </keybind>
    The W-y keybind is being ignored, but W-e works fine.
    Last edited by Lockheed (2014-02-26 16:53:00)

    While swapping the binds I realised I was being stupid. I forgot my keyboard is German, but I am using US layout on it, so Y and Z are swapped. It's so natural for me that it is transparent to me while I type, but when I was binding the key, I was looking at the physical keys to pick the best candidate.
    Et voila...
    Thanks - your suggestion led me to realise it

  • [solved] XBMC - autostart torrent program in the background?

    I'm back with more xbmc questions and since 99% of the users at xbmc use *buntu and their debian startup scripts, I'm going to bug you guys.
    I've finally got a dedicated htpc that boots directly to xbmc without even bothering with a WM.
    Now, I'm hoping to get a torrent program (with rss functionality) to boot at startup as well as having access to some kind of gui to check up on the torrents occasionally.
    I'm mostly looking at deluge since it's what I know and the wife wants some kind of gui so she can add torrents and check up on stuff too.  (Hey, we're a windows free household but not GUI free, we're not that geeky)
    I've also looked a bit at rtorrent + flexrss + some webgui of some kind.
    I'm not really looking to start a thread with a hundred posts saying to try: transmission, ktorrent, deluge, rtorrent, vuze, utorrent+wine, etc.  I'm more interested in finding out how to get the specific functionality out of the software.
    That being said, if you can help me accomplish what I'm aiming for I don't give a damn what torrent program I'm using.
    Here's what I need:
    1) Torrent program must have rss functionality
    2) I need a script (or the ability) to get it to boot at startup without a WM or DE
    2a) I can boot a WM if needed (openbox)
    3) i need it to run in the background while XBMC is fullscreen and doing it's thing
    4) Prefer access to either standard gui or web gui so I can check up on the torrents occasionaly
    5) Can I have a pony?
    Thanks guys!
    Last edited by ctarwater (2009-04-23 04:25:28)

    Actually I was just thinking about it and I may be overcomplicating things (like usual)
    I may just change my current setup to boot directly into openbox and autostart xbmc fullscreen.
    If I do that, then I can autostart my torrent program just like I would any other program in openbox.
    Doing so should allow xbmc to autostart fullscreen while allowing deluge to autostart in the background.
    My current setup looks like this:
    - mingetty to autologin user
    - .bashrc runs "startx"
    - .xinitrc runs "/usr/bin/xbmc --standalone"
    I'm going to try this out to see how it works:
    - mingetty
    - .bashrc runs "startx"
    - .xinitrc runs "exec openbox-session"
    - .config/openbox/autostart.sh runs "/usr/bin/xbmc --standalone &" and "(sleep 2 && deluge) &"
    I'm still a bit new to openbox though, we'll see.
    Thoughts?
    Last edited by ctarwater (2009-04-23 01:25:53)

  • Openbox Autostart (What is starting Guake?)

    I just commented out my entry for guake in ~/.config/openbox/autostart because there were two entries there in tint2.  I read the wiki, and it does mention /etc/xdg/autostart/ as a handy place to check, but there was no listing for guake in that directory.  So my question is, what exactly is starting guake? 
    ~/.config/openbox/autostart:
    ## Autostart File ##
    ##xcompmgr (compositor)
    #(sleep 1s && xcompmgr) &
    #not using xcompmg because in OB, it definitely introduces screen tearing
    ##compton (compositor)
    #(sleep 1s && compton) & #what I was using. Tearing problems
    (sleep 1s && compton -bfzcCG --backend glx --vsync opengl-swc --paint-on-overlay -D5 -r6 -l-8 -t-8) & #This did solve tearing problem, but may make bl2 unplayable. #actually, it didn't effect bl2.
    ##Screensaver
    (sleep 1s && xscreensaver -no-splash) &
    ##guake dropdown terminal
    #(sleep 1s && guake) & #I disabled this because their were two entries in openbox for guake in tint2. I don't know what is starting guake now.
    ##tint2 panel
    (sleep 1s && tint2) &
    ##Background
    (sleep 1s && nitrogen --restore) &
    ##numlock
    (sleep 1s && numlockx) &
    ##Mount stuff automatically
    (sleep 7s && udiskie --tray) &
    ##start conky
    #conky -c /home/convergence/.conkyrc #this messes everything up!
    ## NetworkManager Frontend
    #(sleep 7s && nm-applet) &
    Here is a thread that seemed relevant:  https://bbs.archlinux.org/viewtopic.php?id=114803
    I used the command " ps -o user,pid,ppid,command -ax" found in this thread to find out what the parent PID is of guake, and it was bash, started by my current user.  That's not very helpful!
    Edit:  As you can see, I take notes in my own config files so that I can remember why I made the changes that I did.  I edited this entry post because apparently one of my notes had some foul language.
    Last edited by Convergence (2015-02-13 19:38:23)

    @dodo3773:  I think you nailed it. I verified the existence of /usr/share/dbus-1/services/org.guake.Guake.service. I honestly don't understand Dbus and how it relates to systemd.  I'll read this:  http://www.freedesktop.org/wiki/IntroductionToDBus/ when I get a chance.    I switched from windows to Linux a long time ago.  I learned quite a bit back then, but then stopped learning (I'm not in a tech field), and Linux kept evolving.  I'm a total freakin n00b. 
    @drcouzelis:  I don't use startx.  I use KDM because I need to share my computer with my wife, and I think she would have an anxiety attack if she was confronted with a command line. 
    @Trilby: I think that xinitrc is only parsed if X is started manually.  I use a DM (a necessity).  PS, should I mark this solved?  I haven't tested it yet (because I don't know how), but I suspect that Dodo3773 was correct
    Thanks everyone for responding.
    Last edited by Convergence (2015-02-17 21:00:09)

  • Being ignored

    My name is David and I've been a Verizon Wireless customer for the past few years. A couple of months ago, I began having issues with a brand new jetpack device. The device was using absurd amounts of data and I had no clue why. I contacted customer service and eventually got in touch with (removed) Smith, a supervisor. We talked about three times over the phone, on separate occasions, trying to figure out what was causing the problem. We reset the device, changed the password, etc., but nothing was fixing the problem. In the meantime, I had taken multiple steps to make sure nothing was using the data on my end. I set up a metered connection, which tracked exactly how much data went through my computer and it was not even close to what the jetpack was saying, despite being the only device connected to it. Ms Smith gave me her email address to stay in closer contact with her while we were trying all of the steps to fix the issue, so I could let her know exactly what I was seeing. The email address she gave me was (removed) Our contact first started in November and she sent me the first email on 12/1/13. The device began using even more data, now at a very alarming rate. In one night, it used 12.5 GBs of data. I spoke with her again on 12/14/13 when I first noticed how much data it had been using. She eventually sent me a new device, stating that the one I had was faulty and she wanted me to let her know when I got the new one so she could monitor the activity and see if it was following the same pattern or if it was acting normal. It ended up working 100% fine and not like the faulty device I had sent back in. She had told me over the phone that she would fix all of the overage charges from when I first got the device since it was messed up. She gave me credit for the total of overage from the first 3 months with the device, but she hadn't fixed the bill that had used 55 GBs of data, which was the last cycle in which I had that particular device.
    The last time I heard from Ms. Smith was on 12/31/13 when she had told me she was going to fix the charges. In the meantime, I was left waiting to hear that the fourth and final month had been taken care of, so the $460 worth of overages was still sitting on my bill. On 12/31/13, she emailed me asking for my number to reach me on so she could call me that day. I responded with my number, but never received a call. A week later on 1/6/14, I emailed her again with my number, telling her that I wasn't sure if she had received my email or not, but I was still waiting. As of 1/21/14, I had still not received a call, so I emailed her again telling her I needed to talk to her ASAP so we could get everything resolved and I could pay my bill. I also mentioned that I needed to have my data plan changed back to normal (16 GBs) rather than the 30 GB plan because it was too much. I had been bumped up to 30 GBs during that big month of overages, to try and prevent extra charges. A little less than a week later on 1/26/14, I emailed Ms. Smith once again, telling her I was worried about my service getting cut off and I needed to speak with her ASAP. I mentioned that I did not want to have to start from scratch with someone else.
    On 2/6/14, I woke up to discover that my service had indeed been turned off. I called and spoke with someone in customer service, explaining what had been going on. I was told by that representative that her supervisor would call me between 8-10 PM that night, but in the meantime my service would be temporarily restored. I never received a call. Around 10:30, I called back to try and speak with someone else. I was put through to another representative, once again having to explain what had been going on. This representative told me that I would have to wait for a call back from his supervisor, because he would be leaving at 11:00 PM. I explained to the representative that I was already promised a call back that night and didn't receive a call, so I had to have it taken care of because my service was shut off. His supervisor took my call and told me that there wasn't much they could do, because Ms. Smith had already started my case. He said they would send her an email, telling her she needs to contact me. He told me that he would have someone from his team call me back within 24-48 hours to see if she got in touch with me and if not, I would start from scratch with them.
    In the meantime, I sent Ms. Smith an email the next day on 2/7/14, telling her my service had been shut off and I tried calling the night before to speak with someone else, but they couldn't do much for me because she had already been working with me. Again, I never did get a response.
    Monday 2/10/14 had come along and once again my service was turned back off. I never did receive a call from the supervisor I spoke with on 2/6/14, who had promised me his team would call me back no later than 48 hours. So, again, I called to try and speak with someone else. I eventually got through to another supervisor, but after I explained to him what had been going on, the call was disconnected. I waited for about 30 minutes to see if he'd call back, but he didn't. Once again, I called to try and speak with someone else. I was directed towards the financial department and I explained to them that I was just talking with someone and was disconnected, so I was hoping to get back to them. I was told that there was no way to trace me back to the man I was speaking with. I then explained to that representative what was going on and she told me that if I paid the actual monthly access portion of my outstanding bill, my service would be restored and she would promise to put a note on my account to not turn it off again, because I was working to have the charges fixed. I paid the monthly access and she then transferred me to technical support to have someone in that department help me further. I then explained my story to the technical representative and she told me that her supervisor was not on-duty at the time, but she was preparing an email to send to her and she would definitely get back to me by the end of the week. That was two weeks ago from today and I've yet to receive a call from anyone.
    Once again, I woke up today to find that my service had again been shut off. I called in and spoke with financial services and explained to them what has been going on and she said if I went ahead and paid my bill that had just come due for last month, she could turn it on. So, that's what I did, but I'm still left in the dark as for the future.
    I am so beyond frustrated with this entire situation, that I have no clue what to do. I've told this story to at least ten people and I've gotten no where. To say that I feel like I'm being ignored, is an understatement. I can send y'all the entire transcript of emails with myself and Ms. Smith, proving that I've been trying to contact her for the past month and a half. This whole situation has gone further than the simple problem of the overage charges. It has now risen to a ridiculous level that I am being ignored by what seems like the entire company as a whole. How many times do I have to call to where I can finally work with one person who will help fix the problem? How many times can one customer be told that he will be contacted and he never receives a call? At this point, I am more than prepared to go over to Sprint and cancel my service with Verizon. The $460 that I am being raked trough the coals for will be nothing compared to not having my business for years to come. I am also prepared to contact and file complaints with the FCC or BBB for the fact that I have done absolutely everything in my power, including going in to a local store, to speak with someone about my issues. Like I said, I have the emails proving that I've been ignored and I can show them to y'all or to them. I don't know what to do anymore and I'm tired of calling and starting over with a new representative then being transferred around in loops where I have to re-tell the entire story again, so this is my last resort. If I don't get help by the end of the day, I'll be somewhere else tomorrow.
    Private info removed as required by the Terms of Service.
    Message was edited by: Admin Moderator

    Hi Barry,
    I am sorry about the mix up with the order, could you send me a PM of your contact details? Please include the email address you used to contact support.

  • I have replied to you three times now without reply. I DID NOT authorise a payment of £9.99 for NowTV. What is the solution to getting my money refunded. I think you assume I will go away after being Ignored. No I will not go away. I find now that you hav

    I have replied to you three times now without reply. I DID NOT authorise a payment of £9.99 for NowTV. What is the solution to getting my money refunded. I think you assume I will go away after being Ignored. No I will not go away. I find now that you have DISABLED MY APPLE ID. Is this a punishment you use to anyone who takes up a stand against charges being made unauthorised on their account?. Please tell me why you have disabled my account. When will my account be restored? If not when will you refund ALL my purchases made to APPLE/ITUNES? I can then move on to another brand and hopefully better customer service. After reading articles regarding APPLE ID DISABLED it appears common practice from your company to DISABLE anyone's account if they question unknown charges. Please reply with your intentions regarding  the unauthorised payment and the DISABLING of my account.
    David Forrester.
    Sent from my iPad
    On 18 Mar 2014, at 09:20, iTunes Store <[email protected]> wrote:
    Follow-Up: 319042795
    Hello again,
    I wanted to send a quick note to see if you are still experiencing any difficulties with the iTunes Store. Resolving your issue is important to me, so please don't hesitate to reply if you need any further assistance.
    Sincerely,
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Dear David,
    Welcome to iTunes Store Customer support.
    I understand that you have been charged an additional 9.99 GBP for a purchase that not authorized. I know how eager you are to know more about this purchase and I am happy to look into this for you.
    David, the purchase worth 9.99 GBP was for a day pass from "NOW TV for Apple TV." To review your iTunes Store account's purchase history, please follow the steps in this article:
    iTunes Store &amp; Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/HT2727
    Please reply to this email and let me know if this purchase was unauthorized.
    Thank you for being an iTunes Store customer. Have a great day!
    Sincerely,
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Lang_Country: en_gb
    User Storefront: UK
    Concern Type: Problem Not Listed
    Web Order #:
    Content Title: NOW TV Day Pass
    Provider Name: BSkyB
    Track IDs: []
    Purchase Date : 2014-03-16 12:33:48 Etc/GMT
    Purchase Device : Apple TV
    Comments : I am being charged for what is listed plus another _9.99 for Apple TV pass. Did not authorise this _9.99 charge and not sure what it is exactly.
    <Personal Information Edited by Host>

    This is a user-supported board. You are not addressing Apple here. Nor is it a good idea to post your private information to a public forum. You should edit your post immediately.
    Unfortunately no one here can access your support history. You must respond to the emails directly.

  • In insert: Space after period and before carriage return is being ignored

    I am using Oracle 11.2.0.2.
    let say I create table temp(a varchar2(20);
    insert into temp values ('value.
    valuue2');
    I have put space after 'value. ' but it is being ignore when I run it from linux host in sqlplus.
    The space seems to be preserved when I insert it from TOAD/Windows xp.
    Any idea what might be causing it.

    hI,
    I have the same result in SQLPLUS.
    I would not rely on code with strings spread over multiple lines you should use the below code to add newlines:
    insert into temp values ('Yes.Space. ' || chr(10) || 'x');This makes it very clear there is and a space and a newline.
    This is much easier to maintain as well.
    Just to compair the two, see below:
    select
      LEVEL
      ,substr(a ,level,1)
      ,ASCII( substr(a ,level,1) )
    from
    SELECT
    'YES.Space.
    x' A
    FROM
      DUAL
    connect by --NOCYCLE
      level <= length(a)
    LEVEL SUBSTR(A,LEVEL,1) ASCII(SUBSTR(A,LEVEL,1))
        1 Y                                       89
        2 E                                       69
        3 S                                       83
        4 .                                       46
        5 S                                       83
        6 p                                      112
        7 a                                       97
        8 c                                       99
        9 e                                      101
       10 .                                       46
       11                                         32
       12                                          10
       13 x                                      120
    13 rows selected
    select
      LEVEL
      ,substr(a ,level,1)
      ,ASCII( substr(a ,level,1) )
    from
    SELECT
    'Yes.Space. ' || chr(10) || 'x' a
    FROM
      DUAL
    connect by --NOCYCLE
      level <= length(a)
    LEVEL SUBSTR(A,LEVEL,1) ASCII(SUBSTR(A,LEVEL,1))
        1 Y                                       89
        2 e                                      101
        3 s                                      115
        4 .                                       46
        5 S                                       83
        6 p                                      112
        7 a                                       97
        8 c                                       99
        9 e                                      101
       10 .                                       46
       11                                         32
       12                                          10
       13 x                                      120
    13 rows selected Regards,
    Peter
    Edited by: Peter vd Zwan on Apr 19, 2012 1:06 PM

Maybe you are looking for

  • Difference between Acrobat9  Pro & Acrobat 9 Pro EXTENDED

    What extras do you get in the "Extended" version of Acrobat 9. Another discussion took me here http://www.adobe.com/products/acrobat/matrix.html but that seems to be for Version X. Can anybody shed some light on V9? I notice I can't seem to capture G

  • How to run a batch file using tigger....

    Hi, i am trying run a batch file using a trigger on a table. say i have a table XYZ(col_1 varchar2 primary key, col_2 varchar2) the values of col_2 keeps changing and col_1 are constant whenever the value of col_2 in any row changes from "on" to "off

  • JTree custom renderer - JScrollPane

    Hi, I am building a JTree and need a custom renderer that will allow me to display the contents of certain leaf nodes in a JEditorPane that is contained in a scrollpane as the leaf may contain a varying amount of text. I have managed to get a rendere

  • Missing return statement - Java noob here

    Hi to everyone! I'll just like to ask if anyone of you can check out my code and see why I can do to correct this 'Missing return statement' problem with my code. From what I've been noticing, the compiler returns this statement when the return state

  • Loss of Mouse Scroll Wheel Function

    I took a leap and a leap of faith upgrading from Firefox 3.something to 11.0. I'm working through the little annoying differences in the user interface, but I'm having a problem with scrolling. I can't put my finger on any particular web site or page