Problem with Conky + Slim

Hello everyone!
I'm having an issue when running Conky with SLiM. Conky's background should be transparent, but on my desktop, instead of being transparent, shows a part of SLiM's background. I don't know how to fix this, could you help me??
Thanks in advance!

Hi everybody.  I came across this post because conky was doing the same thing to me as to OP.  I'm running SLiM and Xfce on top of Arch Linux PPC, and conky would show my underlying SLiM background instead of Xfce's when I wanted transparency.  I tried all the solutions offered here without success, but fortunately I found another way.
What finally worked was enabling compositing in Xfce's Window Manager Tweaks dialog (Applications Menu --> Settings --> Window Manager Tweaks --> Compositor).  I turned it on, fired up conky, and I got a beautiful, see-through conky showing my regular background.  Woo! 
my .conkyrc:
# fork to background?
background yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
update_interval 2.0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_class Conky
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
#own_window_argb_value 100
#own_window_colour hotpink
use_xft yes
xftfont Bitstream Vera Sans Mono:size=08
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# mail spool
mail_spool $MAIL
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border width
border_width 1
# Default colors and also border colors
default_color white
# Text alignment, other possible values are commented
alignment top_right
# Gap between borders of screen and text
#gap_x 13
gap_y 30
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
TEXT
$nodename - $sysname $kernel on $machine
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:${color #5000a0} ${cpu cpu1}% ${cpubar cpu1}
${color black}${cpugraph 000000 5000a0}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% $membar
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
$color$stippled_hr
${color lightgrey}Networking:
Down:${color #8844ee} ${downspeed wlan0} ${color lightgrey} ${offset 70}Up:${color #22ccff} ${upspeed wlan0}
${color black}${downspeedgraph wlan0 32,150 ff0000 0000ff} $alignr${color black}${upspeedgraph wlan0 32,150 0000ff ff0000}
$color$stippled_hr
${color lightgrey}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
$color$stippled_hr
${color}Proc usage: PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightgrey} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color}Mem usage:
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color lightgrey} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color lightgrey} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
I'd like to note that I needed own_window_type to be desktop.  Setting to override shows the SLiM background again.  Or maybe just a black background, I don't know.  Anyway, choose desktop.
Just thought I'd share what worked for me, after hours of frustration.
Last edited by eap (2012-02-28 23:06:18)

Similar Messages

  • [SOLVED] Problem With conky and or xcompmgr

    So I tried to search for this issue but i don't know quite how to explain through words on what is going on. basically i got corky installed. and so when i login my screen all around corky doesn't refresh. and i believe this to be because of xcompmgr. because thats when I installed it that is when my problem started. so here is a screenshot
    Last edited by Sicariuxs (2012-11-14 21:13:45)

    no i don't have the problem when xcompmgr is running (lol didn't mean corky!! kept thinking about league of legends xD) but the problem is that if i don't have xcompmgr running that i don't have true trnasparancy on guake or any of my other applications. what i believe it to be is that maybe conky doesn't do so well with compositing. because this also has happened to me with compiz. but i know it has to be possible to combine the two! i've seen it done all over youtube. but i keep getting this problem. any suggestions? and thanks for the quick response

  • Problem with conky.

    Hi, i'm a new user of ArchLinux and i installed GNOME + Openbox, now i'm using only Openbox.
    I installed conky and put the config at /home/myuser/ and created a scripts folder in that location too.
    When i try to start conky it gives this error.
    [pedro@myhost ~]$ conky
    Conky: Can't set the specified locale!
    Check LANG, LC_CTYPE, LC_ALL.
    Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
    Conky: desktop window (1a6) is root window
    Conky: window type - normal
    Conky: drawing to created window (0x1200001)
    Conky: drawing to double buffer
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_COLLATE = "C",
    LANG = "en_US.utf8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Segmentation fault
    What's the problem and how i can resolve the problem?
    Thx for all the help and sorry about my bad (horrible) english.

    Maybe there's something wrong with your conky configuration
    try to edit your conkyrc
    \home\username\.conkyrc
    Here is my conkyrc
    # set to yes if you want Conky to be forked in the background
    background yes
    cpu_avg_samples 2
    net_avg_samples 2
    out_to_console no
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 7x12
    #font 6x10
    font 7x13
    #font 8x13
    #font 7x12
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
    # Use Xft?
    use_xft no
    # Xft font when Xft is enabled
    xftfont monospace-8
    own_window_colour hotpink
    # Text alpha when using Xft
    xftalpha 0.8
    on_bottom yes
    # mail spool
    mail_spool $MAIL
    # Update interval in seconds
    update_interval 1
    # Create own window instead of using desktop (required in nautilus)
    #own_window no
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_page
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # Minimum size of text area
    #minimum_size 5 5
    maximum_width 310
    # Draw shades?
    draw_shades no
    # Draw outlines?
    draw_outline no
    # Draw borders around text
    draw_borders yes
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_margin 10
    # border width
    border_width 2
    # Default colors and also border colors
    default_color 4bd7fa #cornflowerblue
    default_shade_color white
    default_outline_color white
    # 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
    gap_x 20
    gap_y 20
    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer yes
    # Subtract file system buffers from used memory?
    no_buffers yes
    # set to yes if you want all text to be in uppercase
    uppercase no
    # boinc (seti) dir
    # seti_dir /opt/seti
    # Possible variables to be used:
    # Variable Arguments Description
    # acpiacadapter ACPI ac adapter state.
    # acpifan ACPI fan state
    # acpitemp ACPI temperature.
    # adt746xcpu CPU temperature from therm_adt746x
    # adt746xfan Fan speed from therm_adt746x
    # battery (num) Remaining capasity in ACPI or APM
    # battery. ACPI battery number can be
    # given as argument (default is BAT0).
    # buffers Amount of memory buffered
    # cached Amount of memory cached
    # color (color) Change drawing color to color
    # cpu CPU usage in percents
    # cpubar (height) Bar that shows CPU usage, height is
    # bar's height in pixels
    # downspeed net Download speed in kilobytes
    # downspeedf net Download speed in kilobytes with one
    # decimal
    # exec shell command Executes a shell command and displays
    # the output in torsmo. warning: this
    # takes a lot more resources than other
    # variables. I'd recommend coding wanted
    # behaviour in C and posting a patch :-).
    # execi interval, shell Same as exec but with specific interval.
    # command Interval can't be less than
    # update_interval in configuration.
    # fs_bar (height), (fs) Bar that shows how much space is used on
    # a file system. height is the height in
    # pixels. fs is any file on that file
    # system.
    # fs_free (fs) Free space on a file system available
    # for users.
    # fs_free_perc (fs) Free percentage of space on a file
    # system available for users.
    # fs_size (fs) File system size
    # fs_used (fs) File system used space
    # hr (height) Horizontal line, height is the height in
    # pixels
    # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
    # may be omitted if you have only one I2C
    # device. type is either in (or vol)
    # meaning voltage, fan meaning fan or temp
    # meaning temperature. n is number of the
    # sensor. See /sys/bus/i2c/devices/ on
    # your local computer.
    # kernel Kernel version
    # loadavg (1), (2), (3) System load average, 1 is for past 1
    # minute, 2 for past 5 minutes and 3 for
    # past 15 minutes.
    # machine Machine, i686 for example
    # mails Mail count in mail spool. You can use
    # program like fetchmail to get mails from
    # some server using your favourite
    # protocol. See also new_mails.
    # mem Amount of memory in use
    # membar (height) Bar that shows amount of memory in use
    # memmax Total amount of memory
    # memperc Percentage of memory in use
    # new_mails Unread mail count in mail spool.
    # nodename Hostname
    # outlinecolor (color) Change outline color
    # pre_exec shell command Executes a shell command one time before
    # torsmo displays anything and puts output
    # as text.
    # processes Total processes (sleeping and running)
    # running_processes Running processes (not sleeping),
    # requires Linux 2.6
    # shadecolor (color) Change shading color
    # stippled_hr (space), Stippled (dashed) horizontal line
    # (height)
    # swapbar (height) Bar that shows amount of swap in use
    # swap Amount of swap in use
    # swapmax Total amount of swap
    # swapperc Percentage of swap in use
    # sysname System name, Linux for example
    # time (format) Local time, see man strftime to get more
    # information about format
    # totaldown net Total download, overflows at 4 GB on
    # Linux with 32-bit arch and there doesn't
    # seem to be a way to know how many times
    # it has already done that before torsmo
    # has started.
    # totalup net Total upload, this one too, may overflow
    # updates Number of updates (for debugging)
    # upspeed net Upload speed in kilobytes
    # upspeedf net Upload speed in kilobytes with one
    # decimal
    # uptime Uptime
    # uptime_short Uptime in a shorter format
    # seti_prog Seti@home current progress
    # seti_progbar (height) Seti@home current progress bar
    # seti_credit Seti@hoome total user credit
    # 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
    #${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
    #${font Verdana:size=10}as many times as I choose
    #${font Perry:size=10}Including UTF-8,
    #${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
    # stuff after 'TEXT' will be formatted on screen
    TEXT
    ${color white}[${color #00ff00}arch(er)${color white}][${color red}$nodename${color white}]
    ${color #888888}$sysname $kernel ${color #CCCCCC}on ${color #888888}$machine
    ${color #888888}Uptime: $uptime
    ${color #888888}${time %b/%a/%d} ${color #00ff00}${time %k:%M:%S}
    ${color white}${hr 2}
    ${color #00ff00}[MONITORS]
    ${color #0077ff}CPU:$color ${cpu}% ${color #CCCCCC}${cpubar 5,85} $alignr${color #0077ff}${color #0077ff} Disk I/O: $color${diskio}
    ${color #0077ff}${cpugraph 0 32,155 104E8B 0077ff} $alignr${color #0077ff}${diskiograph 32,155 104E8B 0077ff 750}
    ${color #888888}RAM: ${color #CCCCCC}$mem${color #888888}/${color #CCCCCC}$memmax ${color #888888}- ${color #CCCCCC}$memperc% $membar
    ${color #888888}SWAP: ${color #CCCCCC}$swap${color #888888}/${color #CCCCCC}$swapmax ${color #888888} - ${color #CCCCCC}$swapperc%
    ${color #888888}LOAD: ( ${color #CCCCCC}$loadavg ${color #888888})
    ${color #888888}CPUTEMP:${color #CCCCCC} ${acpitemp}C
    ${color #888888}processes: ${color #CCCCCC}$processes ${color #888888}running_processes: ${color #CCCCCC}$running_processes
    ${color #00ff00}[NETWORK STATUS]
    ${color #0077ff}eth0
    ${color #888888}DOWN: ${color #CCCCCC}${downspeed eth0} k/s $alignr${color #0077ff}${color #888888}UP: ${color #CCCCCC}${upspeed eth0} k/s
    ${color #0077ff}${downspeedgraph eth0 32,155 104E8B 0077ff} $alignr${color #0077ff}${upspeedgraph eth0 32,155 104E8B 0077ff 750}
    ${color #888888}TOTAL: ${color #CCCCCC}${totaldown eth0} $alignr${color #0077ff}${color #888888}TOTAL: ${color #CCCCCC}${totalup eth0}
    ${color #0077ff}eth1
    ${color #888888}DOWN: ${color #CCCCCC}${downspeed eth1} k/s $alignr${color #0077ff}${color #888888}UP: ${color #CCCCCC}${upspeed eth1} k/s
    ${color #0077ff}${downspeedgraph eth1 32,155 104E8B 0077ff 750} $alignr${color #0077ff}${upspeedgraph eth1 32,155 104E8B 0077ff 750}
    ${color #888888}TOTAL: ${color #CCCCCC}${totaldown eth1} $alignr${color #0077ff}${color #888888}TOTAL: ${color #CCCCCC}${totalup eth1}
    ${color #00ff00}[FREE SPACE]
    ${color #888888}/ : ${color #CCCCCC}${fs_used /}${color #888888}/${color #CCCCCC}${fs_size /} ${color #888888}(${color #CCCCCC}${fs_free /} ${fs_free_perc /}% ${color #888888} free)
    ${fs_bar /}
    ${color #888888}/boot : ${color #CCCCCC}${fs_used /boot}${color #888888}/${color #CCCCCC}${fs_size /boot} ${color #888888}(${color #CCCCCC}${fs_free /boot} ${fs_free_perc /boot}% ${color #888888} free)
    ${fs_bar /boot}
    ${color #888888}/var : ${color #CCCCCC}${fs_used /var}${color #888888}/${color #CCCCCC}${fs_size /var} ${color #888888}(${color #CCCCCC}${fs_free /var} ${fs_free_perc /var}% ${color #888888} free)
    ${fs_bar /var}
    ${color #00ff00}[PROCESS TABLE]
    ${color #CCCCCC}NAME PID CPU% MEM%
    ${color 86dafe}${top name 1}$alignr${top pid 1}$alignr${top cpu 1}$alignr${top mem 1}
    ${color #888888}${top name 2}$alignr${top pid 2}$alignr${top cpu 2}$alignr${top mem 2}
    ${color #888888}${top name 3}$alignr${top pid 3}$alignr${top cpu 3}$alignr${top mem 3}
    ${color #888888}${top name 4}$alignr${top pid 4}$alignr${top cpu 4}$alignr${top mem 4}
    ${color #888888}${top name 5}$alignr${top pid 5}$alignr${top cpu 5}$alignr${top mem 5}
    ${exec feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`}

  • Problem with Muvo Slim

    My dad has a new Muvo Slim and I am trying to put music on it for him. I can get it to copy up to 28Mb but not to fill it, is there a setting that I have wrong?
    Thanks
    Kizzmo

    Make sure you have the latest firmware.
    Also try the player on another PC to see if the issue is with your PC, or some incompatibility with your PC and the Slim.

  • Problem with 920 slim cam

    Dear Friends There is . Red eye. all of ur pictures will out with red eye. i know know how to remove this problem. if any one knows pleasee sugest

    Thanks for your reply .
    The first thing i did was disconetct the cam and try different USB ports ( i have 6 oh od them)
    Than i downloaded from the creative support center the latest drivers and live command center for windows vista and installed them both
    Then look in microsoft page for drivers for web cam (didn't found any)
    Then look for virus with Kapersky ( i thought maybe someone hack in to my system and use the cam for spy) sutpid hã?
    Then left an E-mail in the support center of creative describing the problem (already got a response and looks pretty much as yours)
    This thing is driving me crazy, the dam camera is allways on and freezes and go of when i try to use it.
    Can't think of any explanation for that, i've been use it for over 1 year without any problems and than suddenly... this appened
    I just can't figured out what changed in my system to cause that
    I'm an informatic technitian i deal with harware and software every single for a living that's my job and i can't solve this simple problem, can yoy see my drama?
    Best regards
    Brix

  • Problem with muve slim 51

    i got a muvo slim 52mb. i downloaded mps and wma's from a site called morpheus. well they went into my windows media player as playlists and i dont know how to convert them into files so i can put them onto my muvo slim? can any one help me out here??thanks

    Tried the BC update (v2.1). Still exactly the same. No volume keys, no eject key. no brightness keys, no nothing!
    Plus Windows says my iSight is unprogrammed and detects IR receiver at every boot, but fails to install drivers for it. Whatta bummer.

  • I have got problem with my pc-cam 950 slim

    I have got problem with my pc-cam 950 slim. When I press the power button, the busy light goes on for seconds then it is shut down again so the camera doesn't work. Please help me with this problem. I tried to connect it to my PC put it didn't work either.
    Thank you for taking the time to help me.

    Originally Posted by Colin-CL
    Hi,
    Have you checked that you have put in brand new 2 x AAA batteries?
    Connecting it to your PC will allow you to use it as a mass storage device after installing the relevant operating system (Microsoft
    hi,
    Yes, I put two new batteries
    When connected to the computer nothing happens
    What can be done to reset it?
    By replaced capacitor problem can be solved?

  • [SOLVED] systemd switch, problems with slim/bootup

    My system will boot, giving me "OK" for everything it's doing. Then my system gives me a tty login prompt, but continues booting:
    gestalt login: [ OK ] Starting Wicd.
    [ OK ] Reached target multi-user.
    [ OK ] Reached target graphical interface.
    So if i just hit enter, it gives me another login prompt, then I can login, but X/fluxbox isn't started or anything.
    My ~/.xinitrc:
    exec startfluxbox
    xset +fp /usr/share/fonts/local
    xset fp rehash
    systemctl list-units --type=target
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    basic.target loaded active active Basic System
    cryptsetup.target loaded active active Encrypted Volumes
    getty.target loaded active active Login Prompts
    graphical.target masked active active graphical.target
    local-fs-pre.target loaded active active Local File Systems (Pre)
    local-fs.target loaded active active Local File Systems
    multi-user.target loaded active active Multi-User
    network.target loaded active active Network
    remote-fs.target loaded active active Remote File Systems
    sockets.target loaded active active Sockets
    sound.target loaded active active Sound Card
    swap.target loaded active active Swap
    sysinit.target loaded active active System Initialization
    syslog.target loaded active active Syslog
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    14 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    Graphical target isn't masked, like I thought it would be after reading this
    systemctl status slim.service gives me:
    slim.service - SLiM Simple Login Manager
    Loaded: loaded (/usr/lib/systemd/system/slim.service; enabled)
    Active: failed (Result: exit-code) since Mon, 2012-11-26
    Process: 305 ExecStart=urs/bin/slim -nodaemon(code=exited, status =1/FAILURE)
    CGroup: name=systemd:/system/slim.service
    systemd-analyze blame gives (just going to ignore the times)
    wicd.service
    systemd-vconsole-setup.service
    systemd-binfmt.service
    systemd-logind.service
    systemd-modules-load.service
    dev-hugepages.mount
    systemd-udev-trigger.service
    dev-mqueue.mount
    systemd-udevd.service
    proc-sys-fs-binfmt_service.mount
    console-kit-daemon.service
    polkit.service
    systemd-tmpfiles-setup.service
    home.mount
    systemd-sysctl.service
    tmp.mount
    systemd-user-sesssions.service
    systemd-remount-fs.service
    slim isn't even on this list.
    systemctl --failed
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    slim.service loaded failed failed SLiM Simple Login Manager
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    4 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    Hopefully this isn't too much information (or completely irrelevant) for what might be a far simpler problem, but I'm just not sure what's going on. It might be worth noting that I only bothered to start switching to systemd today when I had to reboot and slim wouldn't start/get me into my WM(!) This is interesting to me, since I read (somewhere) that as of slim's last version, it would only work with systemd and not consolekit... but when I try:
    pacman -Qi slim
    It tells me that the last time I last updated/installed slim was November 5 of this year. Any ideas?
    EDIT:
    Latest nVidia drivers weren't working with my 7xxx integrated GPU. Downgrade to 304xx drivers or use nouveau.
    Last edited by brokengestalt (2012-11-28 17:41:50)

    I tried starting X manually (typing in "startx" at the prompt, and I get the following errors:
    modprobe: ERROR: could not insert 'nvidia': No such device
    Fatal server error:
    no screens found
    (EE)
    Server terminated with error (1). Closing log file.
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error
    It looks like I'm just having problems with my video card, but I have the proprietary nVidia drivers installed and X installed. The systemd wiki page mentions no changes that I would need to make to my xorg or nvidia configuration...

  • Problem viewing available pacman updates with conky

    Hi. I'm having problems with showing available package updates in my conky layout. I tried to follow instructions from archwiki https://wiki.archlinux.org/index.php/Co … nformation but none of the scripts seemed to work correctly, but instead they always show 'System is up to date' even though 'pacman -Qu' shows multiple packages available for update.
    Following https://bbs.archlinux.org/viewtopic.php?id=37284 my conky has (I changed 'python' -> 'python2' so script compiles):
    ${texeci 10800 python2 /home/laite/.config/awesome/conky/packages_python.py}
    Actually, I just noticed that last post in that topic seems to have the same problem than me (https://bbs.archlinux.org/viewtopic.php … 74#p863474)
    Does anybody know how to get this working or maybe some other way to show updates in conky? I already tried all the scripts from wiki with no luck.

    Kooothor wrote:https://github.com/kooothor/Scripts/blo … n-conky.sh
    just leavin' this here...
    Thanks
    If somebody wants to know, here is my (very slightly) edited bash script:
    #!/bin/bash
    _pacPackages=$(pacman -Qu | wc -l)
    if [ $_pacPackages -eq 0 ];
    then
    echo "\${color #ffffff}Your system is up to date.";
    elif [ $_pacPackages -eq 1 ];
    then
    echo "\${color #ffaa00}1 new package";
    else
    echo "\${color #ffaa00}$_pacPackages new packages";
    fi
    exit 0
    and conky:
    ${execpi 7200 sh /home/laite/.config/awesome/conky/package.sh}
    Also, I have script updating packages in cron/hourly:
    #!/bin/sh
    pacman -Sy

  • Ratpoison: Problems with windows autoscaling and conky statusbar

    Hi all!
    I am newbie with ratpoison and yesterday made fresh installation. Everyting else did well expect window autoscaling and conky + dzen2 statusbar. 
    What I did:
    I followed those steps from archwiki for setting up dzen: https://wiki.archlinux.org/index.php/Dzen
    my .conkyrc looks like a same as in the wiki:
    background no
    out_to_console yes
    out_to_x no
    update_interval 1.0
    total_run_times 0
    use_spacer none
    TEXT
    ^fg(\#ff0000)${loadavg 1 2 3} ^fg()${time %a %b %d %I:%M%P}
    my .xinitrc looks like:
    #!/bin/bash
    FG='#aaaaaa'
    BG='#1a1a1a'
    FONT='-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*'
    conky | dzen2 -e - -h '16' -w '600' -ta r -fg $FG -bg $BG -fn $FONT
    feh --bg-scale /home/tetrao/walls/hn.jpg &
    # setup urxvtd daemon
    urxvtc "$@"
    if [ $? -eq 2 ]; then
    urxvtd -q -o -f
    urxvtc "$@"
    fi
    unclutter -root -grab -idle 1 &
    exec ratpoison
    and .ratpoisonrc
    startup_message off
    escape C-z
    set padding 0 16 0 0
    bind x exec $(dmenu_path | dmenu)
    bind C-x exec $(dmenu_path | dmenu)
    bind c exec urxvtc
    bind C-c exec urxvtc
    bind b exec uzbl-tabbed
    bind C-b exec uzbl-tabbed
    # Undo
    bind u undo
    bind C-u undo
    definekey top Print exec import -window root ~/ss-`date +%Y%m%d%H%M%S`.png
    definekey top S-XF86AudioRaiseVolume exec ratvolume Master 3%+
    definekey top S-XF86AudioMute exec ratvolume Master 0
    definekey top S-XF86AudioLowerVolume exec ratvolume Master 3%-
    definekey top XF86AudioRaiseVolume exec ratvolume PCM 3%+
    definekey top XF86AudioMute exec ratvolume PCM 0
    definekey top XF86AudioLowerVolume exec ratvolume PCM 3%-
    definekey top C-S-Up focusup
    definekey top C-S-Left focusleft
    definekey top C-S-Down focusdown
    definekey top C-S-Right focusright
    definekey top C-M-Up prevscreen
    definekey top C-M-Down nextscreen
    definekey top M-l exec ratpoison -c "select -" -c "gprev" -c "next"
    definekey top M-h exec ratpoison -c "select -" -c "gnext" -c "next"
    definekey top M-j next
    definekey top M-k prev
    So I did 16 pixels hole for the conky statusbar. Still I cannot see anything on the top of screen. (Just empty hole)
    Problem with windows autoscaling is that it doesn't fullfill whole screen. I can also see two additional small holes at the bottom and right side of screen (eventhought I didn't made those by the config). Strange isn't it?
    I put my print screen, hope it tells more about the problem:
    What I should to do text? Edit some files, but I dunno which one and how?
    I appreciate your help.
    Cheers!

    fr33ke wrote:
    About the small holes, see "Why is there a small gap between my terminal and the edge of the screen?" in the ratpoison FAQ.
    I'm not sure about your dzen/conky problem, maybe you need to "unmanage" its window? See the ratpoison documentation.
    That fixed autoscaling issue. Thx a lot!
    Any ideas, what is wrong with dzen+conky bar? I quickly read ratpoison manual and didn't find any help for this problem.

  • SLiM : problem with accents

    I have recently changed my password, and the new one contains accents. The problem is : when I enter an accentuated character in either the login or password field of SLiM, it does nothing but making the font bold.
    I got rid of this problem by making SLiM connect automatically, but I wonder how to actually fix this.
    Thank you for answering !

    Hi,
    Once we had a similar problem in Arabic and this is the response we've got from Oracle support. It resolved our issue and I'm sure it can do the trick for you if you set it for your own choice of language.
    NEXT STEPS:
    Q1 What is ESSLANG on the Essbase server set to?
    Q2 What is ESSLANG in the \hyperion\products\biplus\lib\fr.env file on the FR server set to?
    It maybe that you have experienced BUG 8392323
    If the ESSLANG on the Essbase and FR server(s) is set properly this shouldn’t be an issue, but it looks like you might be running into this bug.
    In order for essbase/FR to handle dimension-names, member-names, etc which
    contain special characters, the ESSLANG environment variable on the essbase
    server machine needs to be set properly:
    e.g.
    ESSLANG= Arabic - Saudi Arabia (ISO)@Binary
    Also a solution to this problem would be to use the Essbase APS ADM driver rather then the Essbase Native ADM driver. The APS driver can be used by setting the UseEssbaseEDS=1 in fr_global.properties:
    UseEssbaseEDS=1
    You also need to set the ESSLANG environment variable in the fr.env file rather then or in addition to the computers environment variables. To do this edit \hyperion\products\biplus\lib\fr.env and change the ESSLANG to:
    ESSLANG=S Arabic - Saudi Arabia (ISO)@Binary
    Once these changes have been made restart the services.
    Cheers,
    Alp

  • Lots of problems with program

    Guys,
    I really am having a lot of problems with a program. I got the program to compile but it looks absolutely nothing like it is supposed to look. I have a deadline for tomorrow and sent my teacher an email but the chances of him getting back to me by tomorrow night for a weekend is pretty much slim to none. Anyways I am sending my output and if anyone could give me advice or feedback on why it does not look right if it is something small and if its alot of things go ahead and call me dumb.
    here is my code:
    import javax.swing.JOptionPane;
    import java.awt.*;
    import java.awt.event.*;
    public class Checkerboard extends Frame implements ActionListener
         private Panel topPanel;
         private TextArea topDisplay[];
         private Panel bottomPanel;
         private TextField startField = new TextField(10);
         private TextField stopField = new TextField(10);
         private TextField stepField = new TextField(10);
         private Label startLabel = new Label ("Start");
         private Label stopLabel = new Label ("Stop");
         private Label stepLabel = new Label ("Step");
         private Button goButton;
         private Button clearButton;
         private boolean clearText;
         private boolean first;
         private int start;
         private int stop;
         private int step;
         //constructor methods
         public Checkerboard()
              //construct components and initialize beginning values
              topPanel = new Panel();
              topDisplay = new TextArea[16];
              goButton = new Button("Go");
              clearButton = new Button("Clear");
              first = true;
              bottomPanel = new Panel();
              int start = 0;
              int stop = 0;
              int step = 0;
              bottomPanel.add(startField);
              bottomPanel.add(stopField);
              bottomPanel.add(stepField);
              bottomPanel.add(startLabel);
              bottomPanel.add(stopLabel);
              bottomPanel.add(stepLabel);
              bottomPanel.add(goButton);
              goButton.addActionListener(this);
              bottomPanel.add(clearButton);
              clearButton.addActionListener(this);
              clearText = true;
              //set layouts for the Frame and Panels
              setLayout(new BorderLayout());
              topPanel.setLayout(new GridLayout(4, 4, 10, 10));
              bottomPanel.setLayout(new GridLayout(3, 3, 5, 5));
              //construct the Display
              for(int i = 1; i <= 15; i++)
                        topDisplay[i] = new TextArea(null, 3, 5, 3);
              //set color to the panel
              //row 1
              for(int x = 1; x <= 4; x++)
              //set color for
              setBackground(Color.white);
              //row 2
              for(int x = 5; x <= 8; x++)
              //set color for
              setBackground(Color.white);
              //row 3
              for(int x = 9; x <= 12; x++)
              //set color for
              setBackground(Color.white);
              //row 4
              for(int x = 13; x <= 16; x++)
              //set color for
              setBackground(Color.white);
              //add components to frame
              add(topPanel, BorderLayout.NORTH);
              add(bottomPanel, BorderLayout.CENTER);
              //allow the x to close the application
              addWindowListener(new WindowAdapter()
                        public void windowclosing(WindowEvent e)
                                  System.exit(0);
                   } //end window adapter
         public static void main(String args[])
              Checkerboard f = new Checkerboard();
              f.setTitle("Checkerboard Array");
              f.setBounds(50, 100, 300, 400);
              f.setLocationRelativeTo(null);
              f.setVisible(true);
         } //end main
         public void actionPerformed(ActionEvent e)
              //convert data in TextField to int
              int start = Integer.parseInt(startField.getText());
              int stop = Integer.parseInt(stopField.getText());
              int step = Integer.parseInt(stepField.getText());
              for(int i = 1; i <=16; i++)
              setBackground(Color.blue);
              for(int i = start; i <= stop; i++)
              setBackground(Color.yellow);
              //test clear
              String arg = e.getActionCommand();
              //clear button was clicked
              if(arg.equals("Clear"))
                   clearText = true;
                   start = 0;
                   stop = 0;
                   step = 0;
                   first = true;
                   setBackground(Color.white);
                   startField.requestFocus();
              } //end the if clear
         }//end action listener
    }//end classThis will incorporate arrays, for loops, and Frames all in one.
    Create a panel containing an array of 16 TextArea components that change color to correspond with the start, stop, and step values entered by the user. Perform the following tasks to create the Checkerboard Array application shown below. When the user enters the start, stop, and step fields and then clicks the Go button, the results are also shown below.
    1.     Call your application Checkerboard.java
    2.     You will need the following variables� declare them as private:
    a.     16 component TextArea array
    b.     a Panel to hold the array
    c.     3 TextField components with length of 10
    d.     3 int variables to receive the start, stop, and step values
    e.     3 Labels to display the words Start, Stop, and Step
    f.     a Go button
    g.     a Clear button
    h.     a Panel to hold the 3 TextFields, 3 Labels, and the 2 Buttons
    3.     Create a constructor method to:
    a.     construct each of the components declared above and initializes the start, stop, and step variables to zero (when constructing the TextArea components, use the following parameters: null, 3, 5, 3)
    b.     set the Frame layout to BorderLayout
    c.     write a for loop to loop the array and set each of the 16 TextArea components in that array so they cannot be edited. In the same loop, set each of the TextArea components text to be 1 more than the index number. Also in this same loop, set the background of each of the TextArea components to white.
    d.     set the Panel for the TextArea components to GridLayout with 4 rows, 4 columns, and both gaps set to 10
    e.     set the Panel for the TextFields, Labels, and button to GridLayout with 3 rows, 3 columns, and both gaps set to 5
    f.     add the components to their respective Panels
    g.     make the buttons clickable
    h.     place the Panels in the Frame� put one in the NORTH and one in the CENTER
    i.     Enter the addWindowListener() method described in the chapter� this is the method that overrides the click of the X so it terminates the application
    4.     In your actionPerformed() method:
    a.     convert the data in your TextFields to int and store them in the variables declared above
    b.     write a loop that goes through the array setting every background color to blue
    c.     write another loop that�s based on the user inputs. Each time the loop is executed, change the background color to yellow (so� start your loop at the user�s specified starting condition. You�ll stop at the user�s specified stopping value. You�ll change the fields to yellow every time you increment your loop based on the step value. REMEMBER: Your displayed values are 1 off from your index numbers!!)
    5.     Write a main() method that creates an instance of the Checkerboard Frame.
    a.     set the bounds for the frame to 50, 100, 300, 400
    b.     set the title bar caption to Checkerboard Array
    c.     use the setVisible() method to display the application Frame during execution
    6.     After you get all of this complete, include error handling to make sure:
    a.     the values entered in the TextFields are valid integers
    b.     the start value is greater than or equal to 1 and less than or equal to 16
    c.     the stop value is greater than or equal to 1 and less than or equal to 16
    d.     the step value is greater than or equal to 1 and less than or equal to 16
    e.     the start condition is less than the stop condition
    f.     when an error occurs, give an error message in a dialog box that is specific to their error, remove the text from the invalid field, and put the cursor in that field so the user has a chance to re-enter� this can be accomplished by using multiple try/catch statements
    g.     only change the colors if the numbers are valid
    7.     Create a clear button as seen in the example below. This button should:
    a.     clear out all 3 TextFields
    b.     change the background color of all TextArea array elements to white
    c.     put the cursor in the start field
    8.     Document!!
    I know you guys are probably busy with your own stuff but any help and I would certainly appreciate it

    got the yellow boxes to come up but just one box.....so is there something wrong with my yellow set background because I am not seeing any more errors
    //packages to import
    import javax.swing.JOptionPane;
    import java.awt.*;
    import java.awt.event.*;
    public class Checkerboard extends Frame implements ActionListener
         private Panel topPanel;
         private TextArea topDisplay[];
         private Panel bottomPanel;
         private TextField startField = new TextField(10);
         private TextField stopField = new TextField(10);
         private TextField stepField = new TextField(10);
         private Label startLabel = new Label ("Start");
         private Label stopLabel = new Label ("Stop");
         private Label stepLabel = new Label ("Step");
         private Button goButton;
         private Button clearButton;
         private boolean clearText;
         private boolean first;
         private int start;
         private int stop;
         private int step;
         //constructor methods
         public Checkerboard()
              //construct components and initialize beginning values
              topPanel = new Panel();
              topDisplay = new TextArea[16];
              goButton = new Button("Go");
              clearButton = new Button("Clear");
              first = true;
              bottomPanel = new Panel();
              int start = 0;
              int stop = 0;
              int step = 0;
              bottomPanel.add(startField);
              bottomPanel.add(stopField);
              bottomPanel.add(stepField);
              bottomPanel.add(startLabel);
              bottomPanel.add(stopLabel);
              bottomPanel.add(stepLabel);
              bottomPanel.add(goButton);
              goButton.addActionListener(this);
              bottomPanel.add(clearButton);
              clearButton.addActionListener(this);
              clearText = true;
              //set layouts for the Frame and Panels
              setLayout(new BorderLayout());
              topPanel.setLayout(new GridLayout(4, 4, 10, 10));
              bottomPanel.setLayout(new GridLayout(3, 3, 5, 5));
              //construct the Display
              for(int i = 0; i <= 15; i++)
                        topDisplay[i] = new TextArea(null, 3, 5, 3);
                        topDisplay.setText(String.valueOf(i+1));
                        topDisplay[i].setEditable(false);
                        topPanel.add(topDisplay[i]);
              //add components to frame
              add(topPanel, BorderLayout.NORTH);
              add(bottomPanel, BorderLayout.CENTER);
              //allow the x to close the application
              addWindowListener(new WindowAdapter()
                        public void windowClosing(WindowEvent e)
                                  System.exit(0);
                   } //end window adapter
              public static void main(String args[])
                        Checkerboard f = new Checkerboard();
                        f.setTitle("Checkerboard Array");
                        f.setBounds(50, 100, 300, 400);
                        f.setLocationRelativeTo(null);
                        f.setVisible(true);
                   } //end main
                   public void actionPerformed(ActionEvent e)
                        boolean done = false;
                        //test go
                        String arg = e.getActionCommand();
                        //go button was clicked
                        if(arg.equals("Go"))
                   //convert data in TextField to int
                   int start = Integer.parseInt(startField.getText());
                   int stop = Integer.parseInt(stopField.getText());
                   int step = Integer.parseInt(stepField.getText());
                   while(!done)
                        try
                             if((start <= 1) && (start > 16)) throw new NumberFormatException();
                             else done = true;
                        } //end try
                        catch (NumberFormatException f)
                             JOptionPane.showMessageDialog(null, "You must enter start between 1 and 16", "Error", JOptionPane.ERROR_MESSAGE);
                             startField.setText(" ");
                             startField.requestFocus();
                        } //end catch
                        try
                             if ((stop < 1) && (stop > 16)) throw new NumberFormatException();
                             else done = true;
                        } //end try
                        catch (NumberFormatException f)
                             JOptionPane.showMessageDialog(null, "You must enter stop between 1 and 16", "Error", JOptionPane.ERROR_MESSAGE);
                             stopField.setText(" ");
                             stopField.requestFocus();
                        } //end catch
                        try
                             if ((step < 1) && (step > 16)) throw new NumberFormatException();
                             else done = true;
                        } //end try
                        catch (NumberFormatException f)
                             JOptionPane.showMessageDialog(null, "You must enter step between 1 and 16", "Error", JOptionPane.ERROR_MESSAGE);
                             stepField.setText(" ");
                             stepField.requestFocus();
                        } //end catch
                        try
                             if (start > stop) throw new NumberFormatException();
                             else done = true;
                        } //end try
                        catch (NumberFormatException f)
                             JOptionPane.showMessageDialog(null, "Stop cannot be larger than start", "Error", JOptionPane.ERROR_MESSAGE);
                             startField.setText(" ");
                             stopField.setText(" ");
                             stepField.setText(" ");
                             startField.requestFocus();
                        } //end catch
              } //end while
                        for(int i = 0; i <=15; i++)
                        topDisplay[i].setBackground(Color.blue);
                        for(int i = start; i <= stop; step++)
                        topDisplay[i].setBackground(Color.yellow);
                   } //end the if go
                   //clear button was clicked
                   if(arg.equals("Clear"))
                        clearText = true;
                        startField.setText("");
                        stopField.setText("");
                        stepField.setText("");
                        first = true;
                        setBackground(Color.white);
                        startField.requestFocus();
                   } //end the if clear
         }//end action listener
    }//end class

  • Mouse problems with Illustrator CS6 and Mountain Lion

    The mouse in Illustrator selects and deselects as it moves over buttons and cells:
    1. In Graph data the cells the mouse passes over go dark grey if not already selected, then deselect if they are selected. This makes it very difficult to use the data cells.
    2. In Layers window, where I may have 100s of layers, I want to hide one layer or more which are not necessarily adjacent to each other. Illustrator hides all of the layers it passes. It is very difficult to click and unclick the show/hide button (and also the lock button). Ditto with show or unlock toggle layer. I had to start up in Lion in which Illustrator does not have this problem in order to get a job finished in time.
    Seems there needs to be a fix for Illustrator to work properly in Mountain Lion.
    Has anyone found such a fix?

    No I don't have Right-Zoom (don't know what it is), but I have the same problem with Apple's Track Pad, which I don't use much and I only use the inbuilt software.
    I use Kensington Slim Blade and before that LogiTech's marble mouse and both need their software to work properly.
    All of them work fine in Lion and earlier. Could it be that Adobe has overlooked some new aspect that’s in Mountain Lion which, in my case, needs to be fixed for Illustrator?

  • Resolution problems with Acer aspire 5520

    Hello,
    I'm having trouble making both tty and Xorg resolution be native. I have an nVidia 7000M gpu.With nouveau drivers I managed to get KMS working, but realized Xorg resolution is wrong. If I set the right resolution with xrandr the problem with tiling WMs similar to what I explained in this thread. What is different is mouse can go to the blank part and still be visible, floating windows could be placed in the blank area or resized to full screen, but WM won't ever place windows there. Some tiling WMs are able to utilize the full width of the screen. WMs that do not work like this are dwm, wmii and musca.
    Dwm has problems displaying conky in its bar (cuts of a lot of output). This made me think the problem is not the resolution/driver and, dwm being my favourite WM, helped hiding the problem.
    Wmii utilises the whole screen after change of resolution, but leaves an unmovable vertical line where right edge of a window used to be prior to resolution change.
    Musca just works, but could take some getting used to.
    All floating WMs work perfectly.
    Then I tried nVidia closed source drivers, which worked perfectly in Xorg. The problem was no KMS. I installed and enabled uvesafb, but it did not change the maximum tty resolution from 1024x768.
    The WMs I tried:
    dwm
    fluxbox
    i3
    musca
    snapwm
    spectrwmsubtle
    A lot of others I either did not like, or they required some configuration to even start
    What I tried to fix the problem: various xrandr options (with nouveau), various kernel command line options (with nvidia) and what was mentioned in arch wiki about screen xorg configuration. Nothing I did to "/etc/X11/xorg.conf.d/10-screen.conf" had any effect so I just deleted the file to ease switching between nouveau and nvidia.
    As to which driver I intend to use... I don't care as long as it can display everything correctly.
    P.S.
    /etc/modprobe.d/uvesafb.conf has only one lien
    options uvesafb mode_option=1280x800-32 scroll=ywrap
    cat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes
    says top resolution is 1024x768.
    EDIT:
    Just now I've tried every tiling WM I could find, and the ones working are echinus, musca and qtile.
    Last edited by bstaletic (2015-05-30 18:11:25)

    Mr.Elendig wrote:https://wiki.archlinux.org/index.php/Bu … l.2FNVIDIA
    Didn't work.... Already said I tried it

  • I have tow problem withe my muvo s

    i bought month ago a muvo slim 52mb.
    in the start everything was alright but now i have 2 problems:
    ) i cant open the mp3, when i am pushing the on/off, the muvo doesnt opend. but if it is already on i can switch it off, and when i connect the machine to my pc/leptop and disconnect it, it will be opended. may-be it's problem with my battry?
    2)i cant charge it/
    when i connect the muvo to my pc/leptot it should show me the "power" icon, but it's shows me "spaceship" icon, despite the fact that the muvo shows me the power of the battery is /3.
    please help.

    ira: I can't help directly, it sounds like you need to contact Creative Support.

Maybe you are looking for

  • Why JTextArea.select(int,int) not Highlight in java 1.4

    Hi guys Does anybody know why JTextArea.select(int, int) not Highlight the selected text in java 1.4. But java 1.3 works. Does java 1.4 change to use other method to hightlight the selected text in JTextArea? Thanks in advance. Regards, Mark.

  • Bluetooth N73 and N78 problem

    Hi, all. I have very special problem with connection N73 and N78 with my BT HF Pioneer radio, there is firmware problem. I dont need the stock answares like "reset your phone" etc. I want to disscous the problem with some real nokia technical support

  • Arch Linux install and management on multiple workstations

    Hello I've been asked to install and manage an installation of 20+ computers at my school. They will be dual-boot with Windows and Linux. Even though i've never used Arch, i chose it for the install because i've heard a lot of good about it. I ask fo

  • SCCM 2012 R2 CU4 - WSUS Sync issues

    *EDIT/Update* I had incorrectly diagnosed this as an issue with CU4. The issue was in fact between Microsoft and WSUS. The method listed in this thread ended up working for me. Here is an official KB article for the issue: https://support.microsoft.c

  • Looking for a consultant

    We need a consultant to do work on one specific project within labview.  We are located in Erie, PA so some one in the area would be best, but we could work with someone remotely.  Please contact me if you are interested and we can discuss the projec