Dmenu autostart.

Hello everyone! I recently switched over to Arch and decided to try AwesomeWM (as someone said, all the cool kids are doing it), and everything has been smooth up till now.
I want to dmenu to start as I start x from the command line. I added
/usr/bin/dmenu_run &
to my .xinitrc file, and it seemed to work. Once. Now, no matter what I do dmenu will not autolaunch as X starts. After searching forums I have not found a solution. I am sure an answer is out there but I am about to fall asleep in my chair so I thought I would take a shortcut: Is it possible to launch dmenu as X starts ?
Thanks!
-Chris

chrisp wrote:I want to dmenu to start as I start x from the command line.
Do you mean that you want it to run as soon as awesome comes up? dmenu is not something you have running constantly like you do with gnome-do, you just need to bind dmenu_run to a key combination.
I use mod4+space to launch dmenu and have this in my rc.lua:
awful.key({ modkey }, "space", function () awful.util.spawn("dmenu_run") end),
If you are just wanting dmenu to pop up when awesome starts, just add this somewhere in your rc.lua:
awful.util.spawn("dmenu_run")

Similar Messages

  • Is there a way to make itunes autostart with windows in mini mode

    Is there a way to make itunes autostart with windows in mini mode i.e the taskbar player mode where it is most less obstrusive . itune takes a lot of time to start under windows

    Just delete the same songs from your library in iTunes.  Select the first song, hold the shift key, select the last song (which will select everything in between) and press delete.

  • [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: 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)

  • Is there a way to prevent music from autostarting when connected to bluetooth

    Is there a way to prevent music from autostarting when connected to bluetooth
    Mike

    When you connect the device open iTunes and select it from the sidebar. Click on the Summary tab in the main window. Uncheck the option to automatically connect to iTunes. You will find it in the collection of options near the lower part of the window.

  • Using SLiM, dmenu's path is incomplete

    Due to an issue with the proprietary NVidia drivers causing the virtual consoles to go blank on my graphics card, I need to use a graphical login manager. I've decided on SLiM, however, I have one issue: When I login with SLiM (into XMonad or DWM), applications such as dmenu and GMrun don't detect the path additions that are set in my ~/.bashrc, so I can't use dmenu to launch any of the applications in ~/bin or ~/.cabal/bin. For instance, from urxvt, my path is as follows:
    /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/home/drkp/.cabal/bin:/home/drkp/bin
    If I "echo $PATH > somefile" from dmenu, it's:
    /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl
    What can I do to fix this bevavior?
    My /etc/slim.conf (the commented-out login command also doesn't work):
    # Path, X server and arguments (if needed)
    # Note: -xauth $authfile is automatically appended
    default_path /bin:/usr/bin:/usr/local/bin
    default_xserver /usr/bin/X
    xserver_arguments -nolisten tcp vt07
    # Commands for halt, login, etc.
    halt_cmd /sbin/shutdown -h now
    reboot_cmd /sbin/shutdown -r now
    console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
    #suspend_cmd /usr/sbin/suspend
    # Full path to the xauth binary
    xauth_path /usr/bin/xauth
    # Xauth file for server
    authfile /var/run/slim.auth
    # Activate numlock when slim starts. Valid values: on|off
    # numlock on
    # Hide the mouse cursor (note: does not work with some WMs).
    # Valid values: true|false
    # hidecursor false
    # Set cursor to left pointer
    cursor left_ptr
    # This command is executed after a succesful login.
    # you can place the %session and %theme variables
    # to handle launching of specific commands in .xinitrc
    # depending of chosen session and slim theme
    # NOTE: if your system does not have bash you need
    # to adjust the command according to your preferred shell,
    # i.e. for freebsd use:
    # login_cmd exec /bin/sh - ~/.xinitrc %session
    login_cmd exec /bin/bash -login ~/.xinitrc %session > ~/.xerr 2>&1
    # Commands executed when starting and exiting a session.
    # They can be used for registering a X11 session with
    # sessreg. You can use the %user variable
    # sessionstart_cmd some command
    # sessionstop_cmd some command
    # Start in daemon mode. Valid values: yes | no
    # Note that this can be overriden by the command line
    # options "-d" and "-nodaemon"
    # daemon yes
    # Available sessions (first one is the default).
    # The current chosen session name is replaced in the login_cmd
    # above, so your login command can handle different sessions.
    # see the xinitrc.sample file shipped with slim sources
    sessions xmonad,dwm
    # Executed when pressing F11 (requires imagemagick)
    screenshot_cmd import -window root /slim.png
    # welcome message. Available variables: %host, %domain
    welcome_msg Welcome to %host
    # Session message. Prepended to the session name when pressing F1
    # session_msg Session:
    # shutdown / reboot messages
    shutdown_msg The system is halting...
    reboot_msg The system is rebooting...
    # default user, leave blank or remove this line
    # for avoid pre-loading the username.
    default_user drkp
    # Focus the password field on start when default_user is set
    # Set to "yes" to enable this feature
    focus_password yes
    # Automatically login the default user (without entering
    # the password. Set to "yes" to enable this feature
    #auto_login no
    # current theme, use comma separated list to specify a set to
    # randomly choose from
    current_theme archlinux-soft-grey
    # Lock file
    lockfile /var/lock/slim.lock
    # Log file
    logfile /var/log/slim.log
    My .bashrc:
    # ~/.bashrc
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    # Aliases
    if [ -f ~/.bash_aliases ]; then
    source ~/.bash_aliases
    fi
    # Misc
    eval $(dircolors -b) # Enhance colored ls output
    export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s"
    export LESS="-R" # Allow colored less output
    export EDITOR=vim # Vim as default text editor
    export ESCDELAY=1 # Ncurses escape delay
    # Path
    export PATH="$PATH:$HOME/.cabal/bin"
    export PATH="$PATH:$HOME/bin"
    # Prompt
    PS1='\[\e[1;34m\][\T] \[\e[0;33m\][\w] \[\e[0;31m\]$\[\e[0m\] '
    Last edited by DrKillPatient (2012-09-01 17:07:50)

    RAD version is 6.0.1.1
    "The project was not built since its build path is incomplete."This is obviously an IBM RAD question then.
    See if you can find an IBM RAD forum.
    I need this help urgently as I am stuck up.LOL.

  • PlayOptions playMode="pause" How can you get a web show to autostart?

    LR3.2
    I created several Web Albums and want the albums to start immediately without any user interaction.
    I'm assuming that under resources->styles in the style.xml one would use
    Options playMode which has a default setting of pause,
    what are the other parameters this can be set to????
    I'm assuming this is the setting to use for autostarting the Web Album slideshow.
    If this is not how to autostart, then what does one need to do?
    I created several Web Albums with Layout Style Lightroon Flash Gallery.

    From what I have seen on the web this option is not in use and there is no way to autoplay. Sadly

  • Is it possible to make an Autostart application in Java?

    Hi,
    I have some stuff that I would like to burn on a CD and I thought that it would be very nice if I could put an autostart application on the same CD which would start as soon as I put this CD in CD-drive. I dont know whether this can be done in Java. I am using Excelsior Jet so I would make this as an usual autostart.exe application.
    Thanx

    The only thing you have to do, is to put the JRE on the CD as well. Say in sub-directory jre (you can copy the jre folder from your JDK installation)
    I'm not sure how the autostart stuff works, but as far as I can remember it's just the name of an exe. So you could put someting like
    jre\javaw.exe -jar MyApplication.jar
    into the autostart definition

  • Multiple Adobe CEF Helper, Conhost, icalcs.exe in Windows 8.1 Autostart

    While checking some autostart apps, that I could possibly deactivate, I found something strange.
    There are multiple entries for "Adobe CEF helper", "Conhost" and "icacls.exe". All grouped under the Adobe Creative Cloud.
    On my other machine, Conhost and icalcs.exe don't appear at all and Adobe CEF helper only once.
    They do not noticeably create any errors, however, it's not feeling right. I don't know exactly when these entries appeared for first time. The device is pretty new and I just installed a bunch of work related software like Office 365, Adobe CC, Chrome, ...
    When installing Filezilla, some bloatware/adware was automatically installed on the system (blame sourceforge, see download comments over there). Currently I'm testing Kaspersky Internet Security, 30 days trial. But I don't think none of them is to blame.
    I would personally like to avoid reinstalling Adobe CC, because it lasts forever.
    Q: What might have caused these entries? Should I correct it? And how should I correct it?
    System: Windows 8.1 64bit on an fairly new ASUS GL550JK.
    Thanks.

    Update: I reinstalled the whole system and it still shows up.
    Directly after the installation of Adobe CC, only Adobe CC showed up in the Autostart menu. Even after a restart still nothing (and the entry still had "boot time - no measured"). After the boot time was measured, same subentries as above appeared.

  • Itunes 11 autostart without user access....and other dirty deeds....

    It *****,
    iTunes 11.1.2 always autostarts and plays music after a while.
    killall iTunes helps. For about 5 minutes or so.
    Magic Trackpad stops. Mouse pointer hangs. The only way is to disconnecting and reconnecting the Pad.
    I think there are Bluetooth problems with Mavericks.
    Hope there will be updates this month.

    Well done Apple!!!!
    I thought the problem was with the itunes 11.4 update, because after updating all devices where giving me the problems, but now we have updated our Iphone 4S to version 8.0.2 and this one has been connected to the itunes, found all devices showing there normal storage capacity again

  • [SOLVED] Problems autostarting xbmc after nvidia upgrade

    Hello!
    With nvidia version 302.17-1 and with 302.17.2 xorg errors and fails when autostarting xbmc.:
    Here is my Xorg.0.log: https://gist.github.com/3118969
    Here is my xorg.conf:
    https://gist.github.com/3118996
    But downgrading nvidia and nvidia-utils to version 295.59 makes everything work again.
    So is this considered as a bug or can I change my configuration to make it work with latest nvidia drivers?
    My graphics card is PCI and not PCIe, maybe there is some problem with old PCI cards?
    I am now using standard xbmc package in repositories (earlier I used xbmc-pvr-git but I changed to standard xbmc to see if it was a problem even without using AUR packages).
    Last edited by ronnylov (2012-07-17 14:04:32)

    Thanks. But I got another problem now because I can't upgrade from nvidia 295.59 to the latest version. There is some kind of dependency problem, probably because of the switch from /lib to /usr/lib.
    [ronny@htpc ~]$ sudo pacman -Syu
    Lösenord:
    :: Synkroniserar paketdatabasen...
    core är senaste versionen
    extra är senaste versionen
    community är senaste versionen
    :: Påbörjar full systemuppgradering...
    löser beroenden...
    letar efter inre konflikter...
    Mål (3): cairo-1.12.2-2 nvidia-302.17-2 nvidia-utils-302.17-1
    Total Installationsstorlek: 54,02 MiB
    Nettouppgraderingsstorlek: 0,69 MiB
    Fortsätt med installation? [Y/n]
    (3/3) kontrollerar paketintegritet [######################] 100%
    (3/3) laddar paketfiler [######################] 100%
    (3/3) kontrollerar filkonflikter [######################] 100%
    fel: misslyckades att påbörja överföringen (motstridiga filer )
    nvidia: /usr/lib/modules/extramodules-3.4-ARCH/nvidia.ko.gz existerar i filsystemet
    Fel uppstod, inga paket uppgraderades.
    [ronny@htpc ~]$
    Trying to following the info  here https://wiki.archlinux.org/index.php/De … iki:usrlib:
    [ronny@htpc ~]$ grep '^lib/' /var/lib/pacman/local/*/files
    /var/lib/pacman/local/nvidia-295.59-1/files:lib/
    /var/lib/pacman/local/nvidia-295.59-1/files:lib/modules/
    /var/lib/pacman/local/nvidia-295.59-1/files:lib/modules/extramodules-3.4-ARCH/
    /var/lib/pacman/local/nvidia-295.59-1/files:lib/modules/extramodules-3.4-ARCH/nvidia.ko.gz
    OK the old package installed files in the wrong place when I downgraded nvidia after the update to /usr/lib.
    These packages need rebuilding so as not to include the /lib directory. They can also simply be uninstalled and reinstalled again after upgrading glibc.
    So I try to uninstall nvidia and nvidia-utils:
    [ronny@htpc ~]$ sudo pacman -Rs nvidia nvidia-utils
    Lösenord:
    kontrollerar beroenden...
    fel: misslyckades att förbereda överföring (kunde inte tillfredställa beroenden)
    :: libva: behöver libgl
    :: mesa: behöver libgl
    :: mplayer: behöver libgl
    :: xorg-xdriinfo: behöver libgl
    OK then uninstall these packages as well...
    [ronny@htpc ~]$ sudo pacman -Rs nvidia nvidia-utils libva mesa mplayer xorg-xdriinfo
    kontrollerar beroenden...
    fel: misslyckades att förbereda överföring (kunde inte tillfredställa beroenden)
    :: ffmpeg: behöver libva
    :: freeglut: behöver mesa
    :: glew: behöver mesa
    :: gnome-mplayer: behöver mplayer
    :: vdpau-video: behöver libva
    :: xbmc: behöver libva
    :: xorg-utils: behöver xorg-xdriinfo
    and I get even more dependency problems.. I am a little bit new on this but do I need to reinstall almost everything just to uninstall a video driver? I just want to replace the old driver with the new one...
    I think I need a hint of how to solve my problem. Perhaps this thread belongs somewhere else in the forum?
    Last edited by ronnylov (2012-07-17 11:01:31)

  • How to cancel autostart program settings in Lion?

    my issue may be deeper as Lion has really messed up so many of my programs.  tons of little issues and few big ones.  but anyway.  whenever i log in, mail, itues and safari auto open...even if i don't check the box asking if i want programs to autostart when i log out.  I have tried deselecting "restore windows when quitting and re-opening aps"  the problem is that i can't save this option.  I deselect the item and then close the window, but when i open it up it is selected again.  is this an issue or am i missing a way to save this selection.
    also tried looking at login items under my user in User and groups.  Any ideas?  Thanks in advance. 

    You might look at this: Managing Mac OS X Lion's application resume feature. You could also check out RestoreMeNot and Application St... which can help fix the issue.

  • [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

  • Font problem in applications like dmenu and dzen

    With urxvt, I can use DejaVu Sans Mono at 16 pixel without any problems, but when I use dmenu or dzen (the problem may not be directly related to those) the font looks strange; it looks like the correct font, but xfontsel revealed that the font can be used but apparently only at 17 pixel and beeing italic. Any idea how that can be solved?

    Ignore what xfontsel says. Try the following:
    echo "Archlinux is the best!" | dzen2 -fn '-*-dejavu sans-medium-r-normal--10-*-*-*-*-*-iso8859-1' -p
    Adjust pixelsize to your liking.
    Last edited by Ashren (2008-05-26 05:59:40)

  • SOLVED:Dmenu not launching correctly in Xmonad

    I am running xmonad and I am having issues getting the dmenu_run to execute properly. It was working fine before but now it just launches with a white bar and nothing autocompletes. I am running Xmonad 0.9.2-2.1 and dmenu 4.4-1. Here is my entry in xmonad.hs:
    , ((modMask, xK_p ), spawn "dmenu_run | dmenu -b")
    Also, here is my entire xmonad.hs:
    import XMonad hiding (Tall)
    import XMonad.Hooks.DynamicLog
    import XMonad.Hooks.ManageDocks
    import XMonad.Hooks.ManageHelpers
    import XMonad.Layout.HintedTile
    import XMonad.Layout.LayoutHints (layoutHints)
    import XMonad.Prompt
    import XMonad.Prompt.Shell
    import XMonad.Util.Run(spawnPipe)
    import System.Exit
    import System.IO
    import Data.Monoid
    import qualified XMonad.StackSet as W
    import qualified Data.Map as M
    myBorderWidth = 1
    main = do
    xmproc <- spawnPipe "/usr/bin/xmobar /home/comhack/.xmobarcc"
    xmonad $ defaultConfig {
    terminal = "urxvt",
    modMask = mod1Mask,
    workspaces = ["Net", "Chat", "Work", "4", "5", "6", "7", "8", "9"],
    normalBorderColor = "#000000",
    focusedBorderColor = "#838B8B",
    manageHook = composeOne [isFullscreen -?> doFullFloat],
    borderWidth = myBorderWidth,
    keys = myKeys,
    focusFollowsMouse = True,
    layoutHook = myLayout,
    logHook = dynamicLogWithPP $ xmobarPP
    { ppOutput = hPutStrLn xmproc,
    ppTitle = xmobarColor "green" "" . shorten 60,
    ppHiddenNoWindows = xmobarColor "grey" ""
    myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
    [ ((modMask , xK_Return ), spawn $ XMonad.terminal conf)
    , ((modm , xK_backslash ), spawn “amixer -q set Master toggle”)
    , ((modm , xK_minus ), spawn “amixer -q set Master 3- unmute”)
    , ((modm , xK_equal ), spawn “amixer -q set Master 3+ unmute”)
    , ((modMask .|. shiftMask, xK_c ), kill)
    , ((modMask , xK_space ), sendMessage NextLayout)
    , ((modMask .|. shiftMask, xK_space ), setLayout $ XMonad.layoutHook conf)
    , ((modMask , xK_n ), refresh)
    , ((modMask, xK_p ), spawn "dmenu_run | dmenu -b")
    , ((modMask , xK_Tab ), windows W.focusDown)
    , ((modMask , xK_j ), windows W.focusDown)
    , ((modMask , xK_k ), windows W.focusUp)
    , ((modMask , xK_m ), windows W.focusMaster)
    , ((modMask .|. shiftMask, xK_Return ), windows W.swapMaster)
    , ((modMask .|. shiftMask, xK_j ), windows W.swapDown)
    , ((modMask .|. shiftMask, xK_k ), windows W.swapUp)
    , ((modMask , xK_h ), sendMessage Shrink)
    , ((modMask , xK_l ), sendMessage Expand)
    , ((modMask , xK_t ), withFocused $ windows . W.sink)
    , ((modMask , xK_comma ), sendMessage (IncMasterN 1))
    , ((modMask , xK_period ), sendMessage (IncMasterN (-1)))
    , ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess))
    , ((modMask , xK_q ), spawn "xmonad --recompile")
    , ((modMask , xK_F2 ), shellPrompt defaultXPConfig)
    , ((0 , 0x1008ff30 ), shellPrompt defaultXPConfig)
    , ((0 , 0x1008ff13 ), spawn "amixer -q set Master 2dB+")
    , ((0 , 0x1008ff11 ), spawn "amixer -q set Master 2dB-")
    , ((0 , 0x1008ff12 ), spawn "amixer -q set Master toggle")
    , ((0 , 0x1008ff16 ), spawn "cmus-remote --prev")
    , ((0 , 0x1008ff17 ), spawn "cmus-remote --next")
    , ((0 , 0x1008ff14 ), spawn "cmus-remote --pause")
    , ((0 , 0x1008ff5b ), spawn "urxvt -e screen -rd cmus")
    , ((modMask , xK_Print ), spawn "scrot -e 'mv $f ~/Screenshots'")
    ++
    [((m .|. modMask, k), windows $ f i)
    | (i, k) <- zip (XMonad.workspaces conf) [xK_1 .. xK_9]
    , (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]]
    ++
    [((m .|. modMask, key), screenWorkspace sc >>= flip whenJust (windows . f))
    | (key, sc) <- zip [xK_w, xK_e, xK_r] [0..]
    , (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]
    myLayout = avoidStruts $ tiled ||| wideTiled ||| Full
    where
    tiled = HintedTile nmaster delta ratio Center Tall
    wideTiled = HintedTile nmaster delta ratio Center Wide
    nmaster = 1
    ratio = 1/2
    delta = 3/100
    It was working fine before so I am thinking that it must of been an update or something. If I run the command in a terminal, it works just fine. So it has to be the syntax or something. This works perfectly:
    dmenu_run | dmenu -b
    Any ideas?
    Last edited by securitybreach (2011-08-08 03:07:25)

    Obscaenvs wrote:
    I don't think it's an actual bug; it's just updated syntax. For me, this solved the issue:
    In my xmonad.hs, I _had_ the line
    , ((modm, xK_p ), spawn "exe=`dmenu_path | dmenu` && eval \"exec $exe\"")
    I changed this to use dmenu_run instead and not piping to dmenu:
    , ((modm, xK_p ), spawn "exe=`dmenu_run` && eval \"exec $exe\"")
    A recompile is necessary for this to take effect. One of you did not have to recompile, but that was most likely because the downgraded dmenu understood the old syntax.
    Now it works...YMMV.
    EDIT: I see now that user "securitybreach" uses "dmenu_run" already... Try not piping the command; when I did this, I got two instances of Dmenu running: one with all the executables in path as usual, and one blank.
    There are people having issues with dmenu using other window managers besides XMonad, so that is not the same issue.  Not to mention, that my spawn of dmenu is WAY less complicated than that, and I am still getting the issue (before downgrade).

Maybe you are looking for

  • IF clause in stored proc

    Hi , I need to have to take all the old values from a table except for one column name :old.a_number in and assign it a different value so if a_number then a_number == cnumber it's inside a loop and if the operation is an delete then the a_number ==

  • Mac book pro will not start

    mac book pro 13 wont atart up all i get is a folder icon with a question mark in it any help ?

  • Triggering Purchase requirment in IS-OIL scenario..

    Hi If the stock is reduced below re-order point/safety stock at a storage location / tank. In IS-oil whether the system creates purchaser requisition automatically with ref to purchase contract? Or it will be created manually by the planner??  Is the

  • Java3d gaming problem *HELP*

    Hi all, I am a student completing my dissertation and need some help urgently. I have a game that has a main JPanel added to a JFrame and want to add another JPanel to the JFrame which I have done successful. The problem is the new JPanel, which is t

  • Creating customised infotype

    Hi Experts, Kindly guide me how to create customised infotype. An example of customised infotype will be appreciable. pls tell me the steps of creating customised infotype. Thanks in advance, Riya