[Solved] Weather in conky won't work

- I installed conkyforecast-bzr from AUR
- I set my weather conky to run at startup pointing to the correct conkyrc file (I know it's correct because when I change it it restarts)
- I pointed my conkyrc to the correct conkyForecast.template file
- The fonts are installed to ~/.icons, /usr/share/icons, and usr/share/fonts/truetype
- I found my XOAP location id and put it in the conkyrc file
conkyrc:
# conky weather config
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 300 0
maximum_width 300
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_inner_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# own window options
own_window yes
own_window_type desktop
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 50
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
# colours
color1 white
# light blue
color2 3465A4
# orange
#E77320
color3 FC8820
# green
color4 78BF39
# red
color5 CC0000
text_buffer_size 2048
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${offset -5}${color 3465A4}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${color}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font} ${hr}${color1}
${color fffff0}${execpi 1800 conkyForecast --location=USNY0996 --template=/home/me/.conky/conkyForecast.template}${color}
conkyForecast.template:
${voffset 5}${goto 10}${font ConkyWeather:style=Bold:size=40}[--datatype=WF]${font}
${voffset 5}${goto 20}${color 3465A4}[--datatype=HT --hideunits --centeredwidth=3]$color/${color 3465A4}[--datatype=LT --hideunits --centeredwidth=3]$color
${voffset 10}${goto 10}${font ConkyWindNESW:size=40}[--datatype=BS]${font}
${voffset 5}${goto 10}${color 3465A4}[--datatype=WS --imperial] - [--datatype=WD]$color
${voffset -145}${goto 100}${color white}${font Bitstream Vera Sans Mono:style=Bold:size=14}[--datatype=CT]${font}
${voffset 10}${goto 100}${color 3465A4}Station: ${color white}[--datatype=OB]
${goto 100}${color 3465A4}Rain: ${color white}[--datatype=PC]
${goto 100}${color 3465A4}UV: ${color white}[--datatype=UI] - [--datatype=UT]
${goto 100}${color 3465A4}Humidity: ${color white}[--datatype=HM]
${goto 100}${color 3465A4}Dew Point: ${color white}[--datatype=DP]
${goto 100}${color 3465A4}Sunrise/Set: ${color white}[--datatype=SR] / [--datatype=SS]
${goto 100}${color 3465A4}Bar: ${color white}[--datatype=BR] - [--datatype=BD]
${goto 100}${color 3465A4}Moon: ${color white}[--datatype=MP]
${voffset 25}${goto 25}${color 3465A4}[--datatype=DW --startday=1 --shortweekday]${goto 100}[--datatype=DW --startday=2 --shortweekday]${goto 175}[--datatype=DW --startday=3 --shortweekday]${goto 250}[--datatype=DW --startday=4 --shortweekday]$color
${voffset 10}${goto 10}${font ConkyWeather:size=32}[--datatype=WF --startday=1 --endday=4 --spaces=3]${font}
${voffset 15}${goto 15}${color 3465A4}[--datatype=HT --startday=1 --hideunits --centeredwidth=3]$color/${color 3465A4}[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 90}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]$color/${color 3465A4}[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 170}[--datatype=HT --startday=3 --hideunits --centeredwidth=3]$color/${color 3465A4}[--datatype=LT --startday=3 --hideunits --centeredwidth=3]${goto 245}[--datatype=HT --startday=4 --hideunits --centeredwidth=3]$color/${color 3465A4}[--datatype=LT --startday=4 --hideunits --centeredwidth=3]
${color 3465A4}${font Bitstream Vera Sans Mono:size=7}${alignr 20}Last Update: [--datatype=LU]${font}
All that shows up on my desktop for conky is "Weather -----------------------"
I've spent hours trying to figure this out, scoured the internet for info, and I can't find anything wrong with my files.
Last edited by herrvideman (2010-09-08 15:05:14)

Please read /usr/share/conkyforecast/README, I'm assuming you need to register at http://www.weather.com/services/xmloap.html and fill in conkyForecast.config. The skel file is located at /usr/share/conkyforecast/conkyForecast.config just copy it into your home and fill it out.

Similar Messages

  • [solved] xfce keyboard shortcuts won't work, tried arch wiki solution

    Keyboard shortcuts defined in the xfce's keyboard settings don't work,  as described in the wiki:
    http://wiki.archlinux.org/index.php/Xfc … 7t_working
    When I kill xfce4-settings-helper the shortcuts work again. After restarting X the problem returns. I renamed '/etc/xdg/autostart/xfce4-settings-helper-autostart.desktop' and  '~/.config/autostart/xfce4-settings-helper-autostart.desktop' as described in the wiki, But the second file is regenerated  after restarting X. Does anyone know a good solution?
    Last edited by rwd (2010-10-30 21:06:33)

    R00KIE wrote:What do you have in your .bash_profile? If it was working before then the problem should be somewhere else but I know that some things might not work when calling startx from .bash_profile depending on what and how you do things.
    I never noticed if xfce's application shortcuts were working properly or not because I just started using them since a few weeks.
    Leonid.I wrote:EDIT: Most likely you have seen this, but just in case: http://forum.xfce.org/index.php?topic=5304.0
    That looks like the same thing indeed.
    It seems to be this bug which hasn't been fixed since over a year O_o.
    .bash_profile
    . $HOME/.bashrc
    if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
    startx
    fi
    .bashrc
    # Check for an interactive session
    [ -z "$PS1" ] && return
    #restrict umask for group from the default 022
    umask 0017
    # added to use bash aliases and colored prompt
    if [ -f /etc/profile.bash ]; then
    source /etc/profile.bash
    fi
    #added for the auojump package (need to be sourced after /profile.bash
    if [ -f /etc/profile ]; then
    source /etc/profile.d/autojump.bash
    fi
    .xinitrc
    #!/bin/sh
    exec ck-launch-session xfce4-session
    /etc/profile.bash
    # /etc/profile.bash
    # Global settings for bash shells
    PS1='[\u@\h \W]\$ '
    #PS2='> '
    #PS3='> '
    #PS4='+ '
    export PS1 PS2 PS3 PS4
    #In the future we may want to add more ulimit entries here,
    # in the offchance that /etc/security/limits.conf is skipped
    ulimit -Sc 0 #Don't create core files
    if test "$TERM" = "xterm" -o \
    "$TERM" = "xterm-color" -o \
    "$TERM" = "xterm-256color" -o \
    "$TERM" = "rxvt" -o \
    "$TERM" = "rxvt-unicode" -o \
    "$TERM" = "xterm-xfree86"; then
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
    export PROMPT_COMMAND
    fi
    PS1='\[\e[1;33m\][\u@\h \W]\$\[\e[0m\] '
    EDITOR=/usr/bin/nano
    #bash history
    HISTSIZE=1000
    HISTFILESIZE=1000
    # aliases
    alias ll='ls -al --group-directories-first --color=auto'
    alias la='ls -A --group-directories-first --color=auto'
    alias ..='cd ..'
    alias ...='cd ../..'
    alias ....='cd ../../..'
    alias .....='cd ../../../..'
    alias ping5='ping -c 5'
    alias lsa='ls -lah --group-directories-first --color=auto' # human readable (sizes) long and all ;-)
    alias lls='ls -l -h -g -F --group-directories-first --color=auto'
    alias lss='ls -shaxSrs --group-directories-first --color=auto' # sort by size
    alias lsd='ls -latr --group-directories-first --color=auto' # sort by date
    alias upgrade='sudo clyde -Syu --aur'
    function publicip {
    wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
    # alarm(string alarmtext,num minutes )
    function alarm() {
    zenity --notification --timeout=$[$2 * 60] --window-icon=/usr/share/icons/gnome/scalable/status/appointment-soon.svg --text "alarm set for: $1 in $2 minutes" &
    sleep $2 $(($2 * 60)) && zenity --warning --text "$1" &
    # search bash history
    function hist {
    history | grep -i "${1}"
    # find filename in current directory and beneath
    function fnd {
    find . -iname "*${1}*" | more
    # find string in documents in current directory and beneath
    function grp {
    egrep -ri ''"${1}"'' . | more
    # search shoutcast channels by name/description/genre/current song
    function shoutcast {
    shoutcast-search $* -b ">96" -l ">10" \
    --format="%s\ngenre: %g\ncurrent track: %p\nbitrate: %b\nlisteners: %l\nurl: %u\n" \
    | more
    in ~/.config/autostart I have a few items that only contain :
    [Desktop Entry]
    Hidden=True
    And this one:
    [Desktop Entry]
    Hidden=true
    [Desktop Entry]
    Encoding=UTF-8
    Version=0.9.4
    Type=Application
    Name=xorg_fix
    Comment=scripts that need to be delayed to run
    Exec=/home/user1/documents/shellscripts/xorg_fix_delayed.sh
    StartupNotify=false
    Terminal=false
    Hidden=false
    In xorg_fix_delayed.sh I have put some things that wouldn't always be executed if I put them in a normal startup item or if  I put them in .xinitrc:
    xorg_fix_delayed.sh
    #!/bin/bash
    sleep 6
    # upnp shares mount
    #djmount ~/network/upnp &
    # mpd
    mpd ~/.mpd/mpd.conf &
    # disable trackpad during typing
    syndaemon -d -i 2 &
    # tint
    /usr/bin/tint2 &
    # trayer
    /usr/bin/trayer --transparent true --expand true --alpha 256 --tint 0x000000 --height 24 --widthtype request --SetDockType true $
    # xmodmap
    /usr/bin/xmodmap /home/user1/.Xmodmap &
    # conky
    /usr/bin/conky &
    # workaround for xfce shortcuts
    killall xfce4-settings-helper &
    # sshfs share
    ~/documents/shellscripts/sshfs_arch-server_mount.sh &
    Last edited by rwd (2010-10-29 18:56:10)

  • [SOLVED] Awesome's Revelation Won't Work

    Hi,
    I'm new to the Awesome WM so I will start this off by saying if you know if something little, stupid that might be causing this issue don't hesitate to mention it bc I may not know.  Anyways, I am loving using Awesome and have been messing with the config to get it to my liking. 
    I saw on the Arch Wiki that you can get "Compiz-like" effects using the Revelation widget; however, when I try to add it to my rc.lua my desktop restarts but the effects don't work and my background and a couple other configs are changed.  I tried removing the key bindings and just leaving the require ("revelation") to see if the key binding was formatted incorrectly but it still had the same problems.
    Does anyone know what might be causing these problems?  I followed the steps on the Awesome wiki on Revelation.  I was wondering if it had something to do with me copying the default config files to ~/.config/awesome as mentioned in the Arch Wiki but I am assuming it doesn't since the Arch wiki also mentions using Revelation.
    Below is my rc.lua w/ the revelation widget added (this is what would not work, just copied it then removed revelation again):
    -- Standard awesome library
    require("awful")
    require("awful.autofocus")
    require("awful.rules")
    -- Theme handling library
    require("beautiful")
    -- Notification library
    require("naughty")
    -- Widget library
    require("vicious")
    -- Compiz-like Effects
    require("revelation")
    -- {{{ Error handling
    -- Check if awesome encountered an error during startup and fell back to
    -- another config (This code will only ever execute for the fallback config)
    if awesome.startup_errors then
    naughty.notify({ preset = naughty.config.presets.critical,
    title = "Oops, there were errors during startup!",
    text = awesome.startup_errors })
    end
    -- Handle runtime errors after startup
    do
    local in_error = false
    awesome.add_signal("debug::error", function (err)
    -- Make sure we don't go into an endless error loop
    if in_error then return end
    in_error = true
    naughty.notify({ preset = naughty.config.presets.critical,
    title = "Oops, an error happened!",
    text = err })
    in_error = false
    end)
    end
    -- {{{ Variable definitions
    -- Themes define colours, icons, and wallpapers
    beautiful.init("/home/boswbr25/.config/awesome/themes/zenburn/theme.lua")
    -- This is used later as the default terminal and editor to run.
    terminal = "terminal"
    editor = os.getenv("EDITOR") or "nano"
    editor_cmd = terminal .. " -e " .. editor
    -- Default modkey.
    -- Usually, Mod4 is the key with a logo between Control and Alt.
    -- If you do not like this or do not have such a key,
    -- I suggest you to remap Mod4 to another key using xmodmap or other tools.
    -- However, you can use another modifier like Mod1, but it may interact with others.
    modkey = "Mod4"
    -- Table of layouts to cover with awful.layout.inc, order matters.
    layouts =
    awful.layout.suit.floating,
    awful.layout.suit.tile,
    awful.layout.suit.tile.left,
    -- awful.layout.suit.tile.bottom,
    -- awful.layout.suit.tile.top,
    awful.layout.suit.fair,
    -- awful.layout.suit.fair.horizontal,
    -- awful.layout.suit.spiral,
    -- awful.layout.suit.spiral.dwindle,
    awful.layout.suit.max,
    -- awful.layout.suit.max.fullscreen,
    -- awful.layout.suit.magnifier
    -- {{{ Tags
    -- Define a tag table which will hold all screen tags.
    tags = {
    names = { "main", "music", "www", "email", "office", "game", "float"},
    layout = { layouts[4], layouts[5], layouts[3], layouts[2], layouts[3],
    layouts[2], layouts[1]
    for s = 1, screen.count() do
    -- Each screen has its own tag table.
    tags[s] = awful.tag(tags.names, s, tags.layout)
    end
    -- {{{ Menu
    -- Create a laucher widget and a main menu
    myawesomemenu = {
    { "manual", terminal .. " -e man awesome" },
    { "edit config", editor_cmd .. " " .. awesome.conffile },
    { "restart", awesome.restart },
    { "quit", awesome.quit }
    mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
    { "open terminal", terminal }
    mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
    menu = mymainmenu })
    -- {{{ Wibox
    -- Pacman Widget
    pacwidget = widget({type="textbox"})
    vicious.register(pacwidget, vicious.widgets.pkg, "<span color='tan'><b> UPDATES: </b></span> $1 ", 1801, "Arch" )
    -- Initialize widget
    cpuwidget = awful.widget.graph()
    -- Graph properties
    cpuwidget:set_width(50)
    cpuwidget:set_background_color("#494B4F")
    cpuwidget:set_color("#FF5656")
    cpuwidget:set_gradient_colors({ "#FF5656", "#88A175", "#AECF96" })
    -- Register widget
    vicious.register(cpuwidget, vicious.widgets.cpu, "$1")
    -- Create a textclock widget
    mytextclock = awful.widget.textclock({ align = "right" })
    -- Create a systray
    mysystray = widget({ type = "systray" })
    -- Create a wibox for each screen and add it
    mywibox = {}
    mypromptbox = {}
    mylayoutbox = {}
    mytaglist = {}
    mytaglist.buttons = awful.util.table.join(
    awful.button({ }, 1, awful.tag.viewonly),
    awful.button({ modkey }, 1, awful.client.movetotag),
    awful.button({ }, 3, awful.tag.viewtoggle),
    awful.button({ modkey }, 3, awful.client.toggletag),
    awful.button({ }, 4, awful.tag.viewnext),
    awful.button({ }, 5, awful.tag.viewprev)
    mytasklist = {}
    mytasklist.buttons = awful.util.table.join(
    awful.button({ }, 1, function (c)
    if c == client.focus then
    c.minimized = true
    else
    if not c:isvisible() then
    awful.tag.viewonly(c:tags()[1])
    end
    -- This will also un-minimize
    -- the client, if needed
    client.focus = c
    c:raise()
    end
    end),
    awful.button({ }, 3, function ()
    if instance then
    instance:hide()
    instance = nil
    else
    instance = awful.menu.clients({ width=250 })
    end
    end),
    awful.button({ }, 4, function ()
    awful.client.focus.byidx(1)
    if client.focus then client.focus:raise() end
    end),
    awful.button({ }, 5, function ()
    awful.client.focus.byidx(-1)
    if client.focus then client.focus:raise() end
    end))
    for s = 1, screen.count() do
    -- Create a promptbox for each screen
    mypromptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright })
    -- Create an imagebox widget which will contains an icon indicating which layout we're using.
    -- We need one layoutbox per screen.
    mylayoutbox[s] = awful.widget.layoutbox(s)
    mylayoutbox[s]:buttons(awful.util.table.join(
    awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),
    awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
    awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
    awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
    -- Create a taglist widget
    mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons)
    -- Create a tasklist widget
    mytasklist[s] = awful.widget.tasklist(function(c)
    return awful.widget.tasklist.label.currenttags(c, s)
    end, mytasklist.buttons)
    -- Create the wibox
    mywibox[s] = awful.wibox({ position = "top", screen = s })
    -- Add widgets to the wibox - order matters
    mywibox[s].widgets = {
    mylauncher,
    mytaglist[s],
    mypromptbox[s],
    layout = awful.widget.layout.horizontal.leftright
    mylayoutbox[s],
    pacwidget,
    mytextclock,
    cpuwidget,
    s == 1 and mysystray or nil,
    mytasklist[s],
    layout = awful.widget.layout.horizontal.rightleft
    end
    -- {{{ Mouse bindings
    root.buttons(awful.util.table.join(
    awful.button({ }, 3, function () mymainmenu:toggle() end),
    awful.button({ }, 4, awful.tag.viewnext),
    awful.button({ }, 5, awful.tag.viewprev)
    -- {{{ Key bindings
    globalkeys = awful.util.table.join(
    awful.key({ modkey, }, "Left", awful.tag.viewprev ),
    awful.key({ modkey, }, "Right", awful.tag.viewnext ),
    awful.key({ modkey, }, "Escape", awful.tag.history.restore),
    awful.key({modkey}, "e", revelation)
    awful.key({ modkey, }, "j",
    function ()
    awful.client.focus.byidx( 1)
    if client.focus then client.focus:raise() end
    end),
    awful.key({ modkey, }, "k",
    function ()
    awful.client.focus.byidx(-1)
    if client.focus then client.focus:raise() end
    end),
    awful.key({ modkey, }, "w", function () mymainmenu:show({keygrabber=true}) end),
    -- Layout manipulation
    awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
    awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
    awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end),
    awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end),
    awful.key({ modkey, }, "u", awful.client.urgent.jumpto),
    awful.key({ modkey, }, "Tab",
    function ()
    awful.client.focus.history.previous()
    if client.focus then
    client.focus:raise()
    end
    end),
    -- Standard program
    awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
    awful.key({ modkey, "Control" }, "r", awesome.restart),
    awful.key({ modkey, "Shift" }, "q", awesome.quit),
    awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end),
    awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
    awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end),
    awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end),
    awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
    awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
    awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end),
    awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
    awful.key({ modkey, "Control" }, "n", awful.client.restore),
    -- Prompt
    awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
    awful.key({ modkey }, "x",
    function ()
    awful.prompt.run({ prompt = "Run Lua code: " },
    mypromptbox[mouse.screen].widget,
    awful.util.eval, nil,
    awful.util.getdir("cache") .. "/history_eval")
    end)
    clientkeys = awful.util.table.join(
    awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
    awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
    awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
    awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
    awful.key({ modkey, }, "o", awful.client.movetoscreen ),
    awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
    awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
    awful.key({ modkey, }, "n",
    function (c)
    -- The client currently has the input focus, so it cannot be
    -- minimized, since minimized clients can't have the focus.
    c.minimized = true
    end),
    awful.key({ modkey, }, "m",
    function (c)
    c.maximized_horizontal = not c.maximized_horizontal
    c.maximized_vertical = not c.maximized_vertical
    end)
    -- Compute the maximum number of digit we need, limited to 9
    keynumber = 0
    for s = 1, screen.count() do
    keynumber = math.min(9, math.max(#tags[s], keynumber));
    end
    -- Bind all key numbers to tags.
    -- Be careful: we use keycodes to make it works on any keyboard layout.
    -- This should map on the top row of your keyboard, usually 1 to 9.
    for i = 1, keynumber do
    globalkeys = awful.util.table.join(globalkeys,
    awful.key({ modkey }, "#" .. i + 9,
    function ()
    local screen = mouse.screen
    if tags[screen][i] then
    awful.tag.viewonly(tags[screen][i])
    end
    end),
    awful.key({ modkey, "Control" }, "#" .. i + 9,
    function ()
    local screen = mouse.screen
    if tags[screen][i] then
    awful.tag.viewtoggle(tags[screen][i])
    end
    end),
    awful.key({ modkey, "Shift" }, "#" .. i + 9,
    function ()
    if client.focus and tags[client.focus.screen][i] then
    awful.client.movetotag(tags[client.focus.screen][i])
    end
    end),
    awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
    function ()
    if client.focus and tags[client.focus.screen][i] then
    awful.client.toggletag(tags[client.focus.screen][i])
    end
    end))
    end
    clientbuttons = awful.util.table.join(
    awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
    awful.button({ modkey }, 1, awful.mouse.client.move),
    awful.button({ modkey }, 3, awful.mouse.client.resize))
    -- Set keys
    root.keys(globalkeys)
    -- {{{ Rules
    awful.rules.rules = {
    -- All clients will match this rule.
    { rule = { },
    properties = { border_width = beautiful.border_width,
    border_color = beautiful.border_normal,
    focus = true,
    keys = clientkeys,
    buttons = clientbuttons } },
    { rule = { class = "MPlayer" },
    properties = { floating = true } },
    { rule = { class = "pinentry" },
    properties = { floating = true } },
    { rule = { class = "gimp" },
    properties = { floating = true } },
    -- Set Firefox to always map on tags number 2 of screen 1.
    -- { rule = { class = "Firefox" },
    -- properties = { tag = tags[1][2] } },
    -- {{{ Signals
    -- Signal function to execute when a new client appears.
    client.add_signal("manage", function (c, startup)
    -- Add a titlebar
    -- awful.titlebar.add(c, { modkey = modkey })
    -- Enable sloppy focus
    c:add_signal("mouse::enter", function(c)
    if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
    and awful.client.focus.filter(c) then
    client.focus = c
    end
    end)
    if not startup then
    -- Set the windows at the slave,
    -- i.e. put it at the end of others instead of setting it master.
    -- awful.client.setslave(c)
    -- Put windows in a smart way, only if they does not set an initial position.
    if not c.size_hints.user_position and not c.size_hints.program_position then
    awful.placement.no_overlap(c)
    awful.placement.no_offscreen(c)
    end
    end
    end)
    client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end)
    client.add_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
    I tried messing with the format of the key binding to make it match the other key bindings in the default rc.lua but nothing seemed to make a difference.
    Thanks,
    ~Boz~
    Last edited by boswbr25 (2012-05-03 05:17:23)

    I'm wondering if it is my graphics card's lack of 3D support that is causing the problems.  I have an older computer but have got this type of effect to work on a few DE's.  Although, it cannot run GNOME 3 and will always go into Fallback mode.
    The following is the output of lspci | grep VGA if anyone knows if this could be the issue:
    [boswbr25@boz ~]$ lspci | grep VGA
    01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter
    I totally forgot that this might be an issue when I asked the question.

  • [SOLVED] Sage-mathematics (Notebook) won't work after a recent update

    Hello!
    I've got troubles runnig sagemath's notebook server. After a recent update it goes like this:
    $ sage -n
    ┌────────────────────────────────────────────────────────────────────┐
    │ Sage Version 6.1.1, Release Date: 2014-02-04 │
    │ Type "notebook()" for the browser-based notebook interface. │
    │ Type "help()" for help. │
    └────────────────────────────────────────────────────────────────────┘
    Please wait while the Sage Notebook server starts...
    sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
    sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
    sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
    sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
    sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
    The notebook files are stored in: sage_notebook.sagenb
    ┌────────────────────────────────────────────────┐
    │ │
    │ Open your web browser to http://localhost:8080 │
    │ │
    └────────────────────────────────────────────────┘
    Executing twistd --pidfile="sage_notebook.sagenb/sagenb.pid" -ny "sage_notebook.sagenb/twistedconf.tac"
    sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
    And the notebook server won't start. Searching for the solution yields Notebook won't start with bash 4.3 (unanswered question from 2 Mar) and Minimise security risks with an application that needs root? (same error message, but the main idea is about some third-party untasted software).
    Since sage-mathematics is in official repository and there is wiki page I figured out I would ask here, because still no solution found except for downgrading bash or going with virtualization.
    Last edited by Ajunta (2014-03-20 04:40:57)

    https://bugs.archlinux.org/task/39533

  • Twitter, 1-Click Weather Safari extensions won't load

    I'm running Safari 6.0 on both an iMac and a MacBook Pro running 10.8.1 (Mountain Lion). The Twitter and 1-Click Weather Safari extensions won't work properly on either. For the Twitter extension, it just says "Trending..." and the rest of the bar is blank—no info about what is trending on Twitter ever appears. And the 1-Click Weather box on the navbar just contains a gray square. Any idea how to get these extensions working correctly? Thanks!

    Uninstall both extensions then reinstall new.
    Safari > Preferences > Extensions
    There may be a software update included in a new install that's Mountain Lion compatible.

  • I dropped my iphone 4 into the water and then i tried the rice method. The rice solved the water issue but now the screen won't work. what should i do?

    I  dropped my iphone 4 into the water and then i tried the rice method. The rice solved the water issue but now the screen won't work. what should i do?

    I guess your definition of "solved" is different from most...
    Make an appointment at the genius bar of your local Apple Store and get an out of warranty replacement.

  • Mavericks won't work with my cannon printer/scanner Cannon MP560 what can I do to solve this?

    mavericks won't work with my cannon  Cannon MP560 printer/scanner what can I do to solve this?

    Try restarting the device first..
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, then swipe the slider to power off.
    Then press and hold the Sleep/Wake button until the Apple logo appears.
    If that doesn't help, try here > iOS: Troubleshooting Messages

  • Javascript or applet dropdown menus won't work in IE6, How can I solve this

    I've made some dropdownmenu's of javascript and one of java applets. But they don't work in IE6. If IE6 is installed they won't work either. My friend has IE5.5 and he has no problems with the menus. How can you make them work.
    And how can you change the z-index of a javascipt/applet? How do you make a dropdownmenu that's put in the topframe slide over the mainframe?

    Perhaps someone could help me with the following question:
    I have a menu that cascades out of the Applet box. My question is:
    How do I close the menu without clicking on the Applet box? - i.e. if the user clicks on the HTML area of the WEB-PAGE, or simply waits a second or 2, the menu should collapse?
    I notice that this is actually the default behavior for the AWT classes - but then you can't set background colors etc. I need the same kind of behavior, but using Swing classes.
    Would appreciate any assistance or advice...

  • [Solved] Startx won't work! Laptop issues.

    Okay, here is what Ididin as much detail as possible.
    Dual boot: Windws XP + Archlinux
    the partition is like this
    80 GB XP
    80 GB arch
         *10 GB root
         *70 GB /home
    Video Card: nVidia Geforce Go 6100
    Okay, so after I installed, I decided to and uncomment all available US repositories with HTTP on them, not FTP. Then I did a full system update, and got the latest nvidia drivers. So I run nvidia-xconfig,  got a little confused when it didn't work and I noticed /etc/X11/xorg.conf was missing. After a while I realized I forgot to download Xorg, once I ran the command it worked. I downloaded HAL, started it and it worked. Then I ran startx, and it wouldn't work. I went into the IRC channel, and tried showed all the errors I got, after a while I was told I shouldn't be using root under any circumstances and the first thing I should have done is create my user ID, which I did, then made myself a Sudoer. Obviously, the errors still appeared, no matter what I did with Xorg. -.-
    Here is my Xorg-Configuration
    ection "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0"  "CorePointer"
    End Section
    Section "Files"
    EndSection
    Section "Module"
        Load           "dbe"
        Load           "extmod"
        Load           "type1"
        Load           "freetype"
        Load           "glx"
    EndSection
    Section "InputDevice"
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Unknown"
        Horizsync      28.0 - 33.0
        VertRefresh    43.0 - 72.0
        Option         "DPMS"
    EndSection
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
    EndSection
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        Defaultdepth   "24"
        SubSection     "Display"
            Depth      24
        EndSubsection
    EndSection
    I tried this as well by "#" all the unnecessary parts
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
    End Section
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
    EndSection
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Defaultdepth   "24"
        SubSection     "Display"
            Depth      24
        EndSubsection
    EndSection
    Regardless of what I did I got these errors, and warnings
    (WW) The directory "/usr/share/fonts/TTF" does not exist. Entry deleted from font path.
    (WW) The directory "/usr/share/fonts/Type1" does not exist. Entry deleted from font path.
    (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse', or 'vmouse' w$use will be disabled
    (WW) Disabling Keyboard00
    (WW) Disabling Mouse0
    (WW) Open ACPI failed (/var/run/acpid.socket)(No such file or directory)
    (WW) Warning, couldn't open module type1
    (EE) Failed to load module "type1" (module does not exist, 0)
    (WW) Warning, couldn't open module freetype
    (EE) Failed to load module "freetype" (Module does not exist, 0)
    (EE) Failed to load /usr/lib/xorg/modules/extension//libdri.so
    (EE) Failed to load module "dri" (loader failed, 7)
    (EE) Failed to load /usr/lib/xorg/modules/extension//libdri2.so
    (EE) Failedto load modules "dri2"
    I also got something like this between all the dri's
    dlopen:libdrm.so.2: cannot open shared object file: No such file or directory
    and the final errors
    (EE) NVIDIA(0) failed to load NVIDIA kernel module!
    (EE) ***Aborting***
    (EE) Screen(s) found,but none have a usable configuration.
    Fatal Server Error:
    No Screens found
    Those are all of them in the log.
    Finally, I tried modprobe nvidia and got this
    FATAL: Module nvidia not found.
    That is everything, this linux newbie is confused, and too stubborn. C_c Fluxbox, and startx won't work no matter what I do, please help?
    Last edited by SirEdgar2nd (2009-08-17 09:23:13)

    Yep carol.
    Nope I didn't install freetype.
    Also, I noticed whenever I try to install nvidia I get an error that says these files already exist, and that there is a: Errors occured. No packages were upgraded. In a list of a bunch of files I can't even really list out at the moment.
    Pacman -S nvidia gets me that error, when I tried reinstalling xorg, it worked fine. Even when I deleted the cache, and uninstalled files it had the same issue.
    I was told to install the latest version available though (again). since I installed some version I got back in 2008 in December. But I've been too hesitant since I felt I might need one of those extra CDs later. So I figured out how to do it through USB, not sure if I should just yet though.
    And sorry, didn't notice that long error the last time I thought it meant it was already installed.
    But I did do a full system update at least though.
    Last edited by SirEdgar2nd (2009-05-29 20:15:02)

  • [Solved] history -c won't work

    i was try to clear bash history with :
    history -c
    but it won't work , actually when i close terminal and reopen it history still exist :-??
    Last edited by Milad (2012-05-06 15:17:57)

    Gcool wrote:Doesn't "history -c" just clear the history saved in RAM (not what's actually saved in ~/.bash_history)? Someone please correct me if I'm wrong here (not 100% sure of this).
    The command will not work from a terminal emulator.  You still have bash running when you close the terminal emulator.  All you are clearing is that terminal instance's history.  To completely clear the history file with the command 'history -c', you need to run it from the login shell.
    You could use this to clear the history file:
    $ > ~/.bash_history

  • Partially [SOLVED] SD reader and touchpad won't work in AAO D260

    Hi people, I recently bought my new netbook with the shiny W7. Funny because the first thing I did is plugin in my Arch pen drive and wipe the entire HDD. I installed Arch easily and I could make work almost all of the hardware except the SD card reader and the touchpad.
    Actually, the touchpad does work but the synaptic features don't (two-finger scrolling, middle-click emulation, etc.). I've followed the instructions from the wiki but for some reason, it won't work.
    The SD card reader seems to be up, but when I insert a card in it, dmesg shows me this:
    usb 1-5: new high speed USB device using ehci_hcd and address 3
    hub 1-0:1.0: unable to enumerate USB device on port 5
    And there is no new block (sd*) apart from sda which is my HDD.
    If you want to know, this is the output of lspci:
    00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge
    00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller
    00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller
    00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
    00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
    00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
    00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
    00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)
    00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
    01:00.0 Ethernet controller: Atheros Communications AR8152 v1.1 Fast Ethernet (rev c1)
    02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
    Ah, my Arch is 64bits but I don't think it makes any difference in these problems.
    Thanks in advance!
    Last edited by sironitomas (2011-01-31 01:29:45)

    whitethorn wrote:
    I think the problem you have with the touchpad is the same one I have.  I have an acer aspire one 721, the touchpad is a new alps touchpad. I haven't been able to get mine working yet. I've haven't spent much time on getting it to run.
    Have a look here maybe it'll help.
    https://bbs.archlinux.org/viewtopic.php?pid=250490
    My touchpad doesn't get identified as an alps touchpad.  It get identified as a PS/2 Generic Mouse
    Currently I'm trying to figure out why hibernate and suspend aren't working.  I'll follow your thread maybe someone has a clue.
    It must be the same touchpad. If you want to compare, below is the output of "hwinfo --mouse"
    33: USB 00.0: 10503 USB Mouse
    [Created at usb.122]
    Unique ID: FKGF.gRjmE_XIt35
    Parent ID: pBe4.v+N+B0xY+P6
    SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0
    SysFS BusID: 2-1:1.0
    Hardware Class: mouse
    Model: "KYE Optical Mouse"
    Hotplug: USB
    Vendor: usb 0x0458 "KYE Systems"
    Device: usb 0x003a "Optical Mouse"
    Revision: "1.00"
    Compatible to: int 0x0210 0x0013
    Driver: "usbhid"
    Driver Modules: "usbhid"
    Device File: /dev/input/mice (/dev/input/mouse1)
    Device Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event10, /dev/char/13:74, /dev/input/by-id/usb-Genius_Optical_Mouse-event-mouse, /dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-event-mouse, /dev/char/13:33, /dev/input/by-id/usb-Genius_Optical_Mouse-mouse, /dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-mouse, /dev/char/13:63
    Device Number: char 13:63 (char 13:33)
    Speed: 1.5 Mbps
    Module Alias: "usb:v0458p003Ad0100dc00dsc00dp00ic03isc01ip02"
    Driver Info #0:
    Buttons: 3
    Wheels: 1
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #26 (Hub)
    35: PS/2 00.0: 10500 PS/2 Mouse
    [Created at input.183]
    Unique ID: AH6Q.oV6xZUCQFf1
    Hardware Class: mouse
    Model: "ImPS/2 Generic Wheel Mouse"
    Vendor: 0x0002
    Device: 0x0005 "ImPS/2 Generic Wheel Mouse"
    Compatible to: int 0x0210 0x0013
    Device File: /dev/input/mice (/dev/input/mouse0)
    Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event6, /dev/char/13:70, /dev/input/by-path/platform-i8042-serio-1-event-mouse, /dev/char/13:32, /dev/input/by-path/platform-i8042-serio-1-mouse, /dev/char/13:63
    Device Number: char 13:63 (char 13:32)
    Driver Info #0:
    Buttons: 3
    Wheels: 1
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Could you get the SD card reader working? Here is the data from "hwinfo --redasd" as well. It seems the manufacter is MPX.
    01: IDE 00.0: 10600 Disk
    [Created at block.245]
    Unique ID: 3OOL.uvOtdmgvZE3
    SysFS ID: /class/block/sda
    SysFS BusID: 0:0:0:0
    SysFS Device Link: /devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0
    Hardware Class: disk
    Model: "Hitachi HTS54502"
    Vendor: "Hitachi"
    Device: "HTS54502"
    Revision: "PB2O"
    Driver: "ahci", "sd"
    Driver Modules: "ahci"
    Device File: /dev/sda
    Device Files: /dev/sda, /dev/block/8:0, /dev/disk/by-id/ata-Hitachi_HTS545025B9A300_100604PBN2033SDWG3HT, /dev/disk/by-id/scsi-SATA_Hitachi_HTS5450100604PBN2033SDWG3HT, /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0, /dev/disk/by-id/wwn-0x5000cca5f4da9280
    Device Number: block 8:0-8:15
    BIOS id: 0x80
    Drive status: no medium
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    02: SCSI 500.0: 10600 Disk
    [Created at block.245]
    Unique ID: uI_Q.rzrXVB8WAiE
    SysFS ID: /class/block/sdb
    SysFS BusID: 5:0:0:0
    SysFS Device Link: /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host5/target5:0:0/5:0:0:0
    Hardware Class: disk
    Model: "MPX Memory Slot - 1"
    Vendor: "MPX"
    Device: "Memory Slot - 1"
    Revision: "0.00"
    Driver: "usb-storage", "sd"
    Driver Modules: "usb_storage"
    Device File: /dev/sdb
    Device Files: /dev/sdb, /dev/block/8:16, /dev/disk/by-id/usb-MPX_Memory_Slot_-_1_MP600-0:0, /dev/disk/by-path/pci-0000:00:1d.7-usb-0:3:1.0-scsi-0:0:0:0
    Device Number: block 8:16-8:31
    BIOS id: 0x81
    Drive status: no medium
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    03: SCSI 500.1: 10600 Disk
    [Created at block.245]
    Unique ID: LUEV.6sZ8Ft89QY2
    SysFS ID: /class/block/sdc
    SysFS BusID: 5:0:0:1
    SysFS Device Link: /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host5/target5:0:0/5:0:0:1
    Hardware Class: disk
    Model: "MPX Memory Slot - 2"
    Vendor: "MPX"
    Device: "Memory Slot - 2"
    Revision: "0.00"
    Driver: "usb-storage", "sd"
    Driver Modules: "usb_storage"
    Device File: /dev/sdc
    Device Files: /dev/sdc, /dev/block/8:32, /dev/disk/by-id/usb-MPX_Memory_Slot_-_2_MP600-0:1, /dev/disk/by-path/pci-0000:00:1d.7-usb-0:3:1.0-scsi-0:0:0:1
    Device Number: block 8:32-8:47
    BIOS id: 0x82
    Drive status: no medium
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Let me know if you have some info.

  • Rhythmbox 2.90.1-2 Won't Work in gnome3 [Solved]

    Hi there, i'm using gnome3 in FallBack mode.
    i have Nvidia 5500 Fx that Using Nouveau Driver, Xorg 1.10 (at testing).
    Rhythmbox won't work.
    output:
    $ rhythmbox
    (rhythmbox:2521): GLib-GObject-WARNING **: specified class size for type `PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size
    (rhythmbox:2521): GLib-GObject-CRITICAL **: g_type_get_qdata: assertion `node != NULL' failed
    (rhythmbox:2521): GLib-GObject-CRITICAL **: g_type_get_qdata: assertion `node != NULL' failed
    (rhythmbox:2521): GLib-CRITICAL **: g_ascii_strncasecmp: assertion `s2 != NULL' failed
    Segmentation fault
    Last edited by Bersam (2011-04-13 12:25:24)

    oh worked ... yes i was using rhythmbox-microblogger that using pygtk.
    Thanks.
    http://aur.archlinux.org/packages.php?ID=40596
    (Sloshy Commented that!)

  • [SOLVED] UEFI shell won't work on Thinkpad Edge E520

    Hi there,
    I have installed the x86_64 UEFI Shell 2.0 on my Thinkpad Edge E520 which is already booting in UEFI mode using refind-efi for some time now. The same shell is running just fine on my desktop system.
    But - on the Thinkpad it doesn't run. The shell is installed as /boot/efi/shellx64.efi and when I start the laptop, refind appears and shows me the shell icon (amoung others). But when I choose the shell from refind I get a black screen with this writing:
    Starting shellx64.efi
    Using load options ' '
    ASSERT_EFI_ERROR (Status = Device Error)
    ASSERT c:\dev\edk2tip\Build\Shell\RELEASE_VS2005\X64\ShellPkg\Application\Shell\Shell\DEBUG\AutoGen.c (431): !EFI_ERROR (Status)_
    I don't know if the text is going on after the last underline. If yes I cannot see it because the text is running out of the screen.
    The funny thing is - exactly the same setup is working pretty nice on my Asrock ITX board but not on the Lenovo Thinkpad Edge E520.
    Any ideas? Just say, if you need further information.
    Last edited by swordfish (2013-02-10 11:44:27)

    Okay, found the - somewhat obvious - solution myself. The UEFI Bios on my Thinkpad is an "old" UEFI 2.0. So, Shell 2.0 won't work on this system (as I could have read in the wiki ).
    Now, I have installed Shell 1.0 and I can enter the shell from refind .
    Last edited by swordfish (2013-02-10 11:45:03)

  • [SOLVED]grub-mkconfig won't work

    Hi!
    I'm running grub2, and today grub-mkconfig stopped working: this is the error:
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    Creazione di grub.cfg...
    Trovata immagine linux: /boot/vmlinuz-netbook
    Trovata immagine linux: /boot/vmlinuz-3.4.9-1-i686-arch
    Trovata immagine initrd: /boot/initramfs-3.4.9-1-i686-arch.img
    Found memtest86+ image: /boot/memtest86+/memtest.bin
    No volume groups found
    Trovato Arch Linux su /dev/sda3
    /usr/sbin/grub-mkconfig: line 269: 8481 Errore di segmentazione ${grub_script_check} ${grub_cfg}.new
    Syntax errors are detected in generated GRUB config file.
    Ensure that there are no errors in /etc/default/grub
    and /etc/grub.d/* files or please file a bug report with
    /boot/grub/grub.cfg.new file attached.fatto
    This is my /etc/default/grub:
    GRUB_DEFAULT=saved
    GRUB_TIMEOUT=0
    GRUB_DISTRIBUTOR="Archlinux"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet rootfstype=ext4 add_efi_memmap logo.nologo fastboot raid=noautodetect libahci.ignore_sss=1 loglevel=3 pcie_aspm=force i915.i915_enable_rc6=3 i915.lvds_downclock=1 ipv6.disable=1 resume=swap:/dev/sda3:0x5d0000 "
    GRUB_CMDLINE_LINUX=""
    # If you want to enable the save default function, uncomment the following
    # line, and set GRUB_DEFAULT to saved.
    GRUB_SAVEDEFAULT=false
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    GRUB_COLOR_NORMAL="light-gray/black"
    GRUB_COLOR_HIGHLIGHT="green/black"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    GRUB_BACKGROUND="/usr/share/grub/background.png"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    I only set a swapfile to be used by tuxonice, then add the proper line there, in /etc/default/grub.
    May be i made some mistakes? I tried to remove the resume= parameter, but it won't work anyway...
    Thank you!
    Last edited by nierro (2012-08-23 22:32:46)

    The resume parameter is different from the normal resume= because i'm using a swap file
    Btw, this is the error message without resume parameter, in english:
    LC_ALL=C sudo grub-mkconfig -o /boot/grub/grub.cfg
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-netbook
    Found linux image: /boot/vmlinuz-3.4.9-1-i686-arch
    Found initrd image: /boot/initramfs-3.4.9-1-i686-arch.img
    Found memtest86+ image: /boot/memtest86+/memtest.bin
    No volume groups found
    Found Arch Linux on /dev/sda3
    error: syntax error.
    error: Incorrect command.
    error: syntax error.
    /usr/sbin/grub-mkconfig: line 269: 5859 Segmentation fault ${grub_script_check} ${grub_cfg}.new
    Syntax errors are detected in generated GRUB config file.
    Ensure that there are no errors in /etc/default/grub
    and /etc/grub.d/* files or please file a bug report with
    /boot/grub/grub.cfg.new file attached.done
    Last edited by nierro (2012-08-23 22:01:33)

  • Conky won't use double buffer anymore?

    i posted the other day having issues setting up dual monitors, not that i got any help, but figured i'd mention. anyway, since i've had the dual monitors setup, conky won't run using double buffering for some reason. its in my conky config, and DBE is being loaded in my xorg.conf. so its bugging me now. wondering is anyone has a clue here. my system is fully up to date as of right now, and running an nvidia card, so nvidia driver on a 7900GS video card, might be an 8800, i forget which card is in which box at the moment
    here's my conky config
    alignment top_right
    background yes
    border_width 1
    cpu_avg_samples 2
    default_color white
    default_outline_color black
    default_shade_color black
    draw_borders no
    draw_graph_borders yes
    #draw_outline yes
    draw_shades yes
    use_xft yes
    xftfont DejaVu Sans Mono:size=10
    gap_x 5
    gap_y 5
    minimum_size 5 5
    net_avg_samples 2
    #no_buffers yes
    double_buffer yes
    out_to_console no
    out_to_stderr no
    own_window yes
    own_window_transparent yes
    own_window_class Conky
    own_window_type desktop
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_page
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    TEXT
    $nodename - $sysname $kernel on $machine
    Uptime:$color $uptime
    $hr
    CPU > ${freq}MHz ${hr 1}$color
    CPU Usage:$color $cpu% ${cpubar 4}
    ${cpugraph 15,280 ffffff 00A2FF}
    MEMORY $memmax ${hr 1}
    RAM : $mem / $memperc%${alignr}${membar 6,120}
    I/O : ${diskio}${alignr}${diskiograph 6,120}
    DISK > /dev/ ${hr 1}$color
    Root ( sda3 ): ${fs_free /} ${fs_bar 6 /}
    Home ( sda4 ): ${fs_free /home} ${fs_bar 6 /home}
    Movies ( sdb1 ): ${fs_free /home/movies} ${fs_bar 6 /home/movies}
    Windows ( sdc1 ): ${fs_free /mnt/sdc1} ${fs_bar 6 /mnt/sdc1}
    NETWORK > ${addr eth0} ${hr 1}$color
    ${downspeedgraph eth0 15,135 ffffff 00A2FF} ${upspeedgraph eth0 15,135 ffffff 00A2FF}
    Down / Up Speed: ${downspeed eth0} k/s / ${upspeed eth0} k/s
    Down / Up Bytes: ${totaldown eth0} / ${totalup eth0}
    Inbound / Outbound / Total: ${tcp_portmon 1 32767 count} / ${tcp_portmon 32768 61000 count} / ${tcp_portmon 1 65535 count}
    PROCESSES > ${processes} / ${running_processes} ${hr 1}$color
    NAME PID CPU% MEM%
    ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
    ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
    ${exec feh --bg-scale "`grep 'wallpaper=' ~/.kde4/share/config/plasma-appletsrc | tail --lines=1 | sed 's/wallpaper=//'`"}
    here's my xorg.conf as well if it helps. if there is anything someone can suggest adding or removing from it, especially to tweak video performance, i'm wide open for suggestions while im here
    Section "ServerLayout"
    Identifier "Xorg Configured"
    Screen 0 "Screen0" LeftOf "Screen1"
    Screen 1 "Screen1" 1600 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "PS/2 Mouse" "CorePointer"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc:unscaled"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi"
    FontPath "/usr/share/fonts/PEX"
    FontPath "/usr/share/fonts/cyrillic"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/ttf/western"
    FontPath "/usr/share/fonts/ttf/decoratives"
    FontPath "/usr/share/fonts/truetype"
    FontPath "/usr/share/fonts/truetype/openoffice"
    FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath "/usr/share/fonts/latex-ttf-fonts"
    FontPath "/usr/share/fonts/defoma/CID"
    FontPath "/usr/share/fonts/defoma/TrueType"
    EndSection
    Section "Module"
    Load "ddc" # ddc probing of monitor
    Load "dbe"
    Load "extmod"
    Load "glx"
    Load "bitmap" # bitmap-fonts
    EndSection
    Section "ServerFlags"
    Option "AllowMouseOpenFail" "true"
    Option "Xinerama" "1"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbVariant" ""
    EndSection
    Section "InputDevice"
    Identifier "Serial Mouse"
    Driver "mouse"
    Option "Protocol" "Microsoft"
    Option "Device" "/dev/ttyS0"
    Option "Emulate3Buttons" "true"
    Option "Emulate3Timeout" "70"
    Option "SendCoreEvents" "true"
    EndSection
    Section "InputDevice"
    Identifier "PS/2 Mouse"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "ZAxisMapping" "4 5"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "true"
    Option "Emulate3Timeout" "70"
    Option "SendCoreEvents" "true"
    EndSection
    Section "InputDevice"
    Identifier "USB Mouse"
    Driver "mouse"
    Option "Device" "/dev/input/mice"
    Option "SendCoreEvents" "true"
    Option "Protocol" "IMPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Buttons" "5"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "CRT-0"
    HorizSync 30.0 - 121.0
    VertRefresh 48.0 - 160.0
    ModeLine "1600x1200" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    Option "DPMS" "true"
    EndSection
    Section "Monitor"
    Identifier "Monitor1"
    VendorName "Unknown"
    ModelName "SUN GDM-5410"
    HorizSync 30.0 - 121.0
    VertRefresh 48.0 - 160.0
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 7900 GS"
    BusID "PCI:2:0:0"
    Screen 0
    EndSection
    Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 7900 GS"
    BusID "PCI:2:0:0"
    Screen 1
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "metamodes" "CRT-0: 1600x1200_75 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Section "Screen"
    Identifier "Screen1"
    Device "Device1"
    Monitor "Monitor1"
    DefaultDepth 24
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "TwinView" "0"
    Option "metamodes" "CRT-1: 1600x1200 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

    Hi @Arboria9 ,
    I see that you are experiencing issues printing two-sided from Yosemite. I would like to help you resolve this issue.
    You have pretty much have done all the steps that I would have provided.
    Are you still able to print two-sided from the Windows computer?
    Are you missing the option to select two-sided printing in the print driver?
    Check the driver name that is installed for the printer. Make sure it shows just the printer's name.
    Click the Apple menu and then click System Preferences. Click Printers & Scanners, highlight the printer name on the left side and on the right side of the screen it should show the printer's name. (Officejet 6500)
    If the full printer name isn't listed correctly, delete it and add the printer name back in from the list. Click the - sign to delete the driver and then click the + sign to add the driver, might have to click the drop down to select the printer's name to add it in.
    How was the printer name listed?
    If you need further assistance, just let me know.
    Have a great day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

Maybe you are looking for