Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Conky's Text Is Blurred And The Window Is Not Transparent

  1. #1

    Question Conky's Text Is Blurred And The Window Is Not Transparent

    Hello,

    I have a DELL Inspiron 5520 laptop; and the text in conky is blurred and the window is not transparent. I have been using the following .conkyrc file in Ubuntu 14.04 without issues. Can someone please take a look at my rc and tell me what I need to change? I would like to keep the window borderless and transparent:

    Code:
    # UBUNTU-CONKY
    # A comprehensive conky script, configured for use on
    # Ubuntu / Debian Gnome, without the need for any external scripts.
    #
    # Based on conky-jc and the default .conkyrc.
    # INCLUDES:
    # - tail of /var/log/messages ############################(TRY USING TAIL VARIABLE INSTEAD OF SHELL TAIL)############################################# ######
    # - netstat connections to your computer
    #
    # -- Pengo (conky@pengo.us)
    
    
    #GENERAL STUFF
    double_buffer yes
    use_spacer yes
    update_interval 2.0
    #background yes
    #out_to_console no
    #total_run_times 0
    #${execi 30 wmctrl -a conky}
    
    
    #WINDOW STUFF
    own_window yes
    own_window_type normal #override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    #own_window_hints skip_taskbar,skip_pager
    #own_window skip_taskbar
    
    #COLOR STUFF
    own_window_colour brown
    default_color white #Text #Default colors and also border colors, grey90 == #e5e5e5
    default_shade_color black
    default_outline_color black
    
    
    #TEXT AREA STUFF
    #minimum_size 250 5 #Minimum size of text area
    minimum_size 320 5
    
    
    #BORDER STUFF
    draw_outline no
    draw_borders no
    draw_shades no
    stippled_borders 3
    border_margin 9
    border_width 10
    
    
    #FONT STUFF
    #font -*-newspaper-*-*-*-*-*-*-*-*-*-*-*-*
    use_xft yes
    xftfont Bitstream Vera Sans Mono:size=8
    xftalpha 0.8
    uppercase no
    
    
    #TEXT ALIGNMENT STUFF
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    gap_x 10 #Horizontal Gap between borders of screen and text
    gap_y 10 #10 #Vertical Gap between borders of screen and text
    
    
    #TEXT TO BE DISPLAYED IN CONKY WINDOW
    ################################################## ################
    
    TEXT
    $color
    ${color magenta}SYSTEM ${hr 2}$color
    $nodename $sysname $kernel on $machine
    Maximum Operating Temperature: CPU 95 C, HDD 60 C
    CPU Temp: ${acpitemp} #HDD Temp: ${hddtemp} 
    Load: ${loadavg}
    
    ${color yellow}Core 0: ${hr 2}$color
    Freq: ${freq 1}MHz
    ${cpubar cpu1 8,70}
    ${cpugraph cpu1 000000 ffffff}
    ${color red}Core 1: ${hr 2}$color
    Freq: ${freq 2}MHz
    ${cpubar cpu2 8,70}
    ${cpugraph cpu2 000000 ffffff}
    ${color yellow}Core 2: ${hr 2}$color
    Freq: ${freq 3}MHz
    ${cpubar cpu3 8,70}
    ${cpugraph cpu3 000000 ffffff}
    ${color red}Core 3: ${hr 2}$color
    Freq: ${freq 4}MHz
    ${cpubar cpu4 8,70}
    ${cpugraph cpu4 000000 ffffff}
    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}
    ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
    ${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}
    ${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}
    ${top name 9} ${top pid 9} ${top cpu 9} ${top mem 9}
    ${top name 10} ${top pid 10} ${top cpu 10} ${top mem 10}
    
    ${color yellow}MEMORY / DISK ${hr 2}$color
    RAM: $memperc% ${membar 6}$color
    Swap: $swapperc% ${swapbar 6}$color
    
    ${color yellow}NETWORK (${addr wlan0}) ${hr 2}$color
    Down: $color${downspeed wlan0}                  Up: ${upspeed wlan0}
    ${downspeedgraph wlan0 25,140 000000 ff0000} ${alignr}${upspeedgraph wlan0 25,140 000000 00ff00}$color
    Total: ${totaldown wlan0}                Total: ${totalup wlan0} #${alignr}
    
    Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}${alignr}  Total:${tcp_portmon 1 65535 count}
    
    
    
    #${color yellow}LOGGING ${hr 2}$color
    #${execi 30 tail -n3 /var/log/messages | fold -w50}
    
    #wlan0 eth0 wlan1 eth1
    OpenSUSE Leap 42.1, Gnome 3.16

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,528
    Blog Entries
    15

    Default Re: Conky's Text Is Blurred And The Window Is Not Transparent

    Hi
    Two things, you need to update your conky config to the new lua type, run;
    Code:
    /etc/conky/convert.lua ~/.conkyrc
    If you fire up the tweak tool and under Fonts, play with the Hinting and Antialiasing settings (I use Full and Rgba) The other place to play with is via YaST -> System -> Fonts again options to tweak are Font Antialiasing, Force Autohinting On, Force Hint Style, Subpixel Rendering and LCD Filter. For this I have the first two checked, hint style none, rendering rgb and lcddefault.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Conky's Text Is Blurred And The Window Is Not Transparent

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Two things, you need to update your conky config to the new lua type, run;
    Code:
    /etc/conky/convert.lua ~/.conkyrc
    If you fire up the tweak tool and under Fonts, play with the Hinting and Antialiasing settings (I use Full and Rgba) The other place to play with is via YaST -> System -> Fonts again options to tweak are Font Antialiasing, Force Autohinting On, Force Hint Style, Subpixel Rendering and LCD Filter. For this I have the first two checked, hint style none, rendering rgb and lcddefault.
    Thank you,

    The conversion to lua was successful; and I selected Full and Rgba in tweak. I was also able to select Font Antialiasing and Force Autohinting. When I tried to select rgb rendering and lcddefault I got the following message:

    Code:
    Warning
    
    You have set LCD filter type (lcddefault). This needs subpixel rendering capability
    compiled in FreeType library. Unfortunately, we cannot ship it due to patent reasons.
    
    See README.subpixel-patents from yast2-fonts package documentation.
    This seems a bit beyond my experience level. Can you please explain how to add this?

    Thanks, Grace
    OpenSUSE Leap 42.1, Gnome 3.16

  4. #4

    Default Re: Conky's Text Is Blurred And The Window Is Not Transparent

    Quote Originally Posted by Grace123 View Post
    Thank you,

    The conversion to lua was successful; and I selected Full and Rgba in tweak. I was also able to select Font Antialiasing and Force Autohinting. When I tried to select rgb rendering and lcddefault I got the following message:

    Code:
    Warning
    
    You have set LCD filter type (lcddefault). This needs subpixel rendering capability
    compiled in FreeType library. Unfortunately, we cannot ship it due to patent reasons.
    
    See README.subpixel-patents from yast2-fonts package documentation.
    This seems a bit beyond my experience level. Can you please explain how to add this?

    Thanks, Grace
    BTW, when the conky screen is refreshed it just writes over the old text without clearing it first. This eventually piles up and the text gets continuously harder to read.
    OpenSUSE Leap 42.1, Gnome 3.16

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,528
    Blog Entries
    15

    Default Re: Conky's Text Is Blurred And The Window Is Not Transparent

    Quote Originally Posted by Grace123 View Post
    Thank you,

    The conversion to lua was successful; and I selected Full and Rgba in tweak. I was also able to select Font Antialiasing and Force Autohinting. When I tried to select rgb rendering and lcddefault I got the following message:

    Code:
    Warning
    
    You have set LCD filter type (lcddefault). This needs subpixel rendering capability
    compiled in FreeType library. Unfortunately, we cannot ship it due to patent reasons.
    
    See README.subpixel-patents from yast2-fonts package documentation.
    This seems a bit beyond my experience level. Can you please explain how to add this?

    Thanks, Grace
    Hi
    How does it look without the YaST changes that cause the error, acceptable for you?

    If not the look at adding this repo;
    Code:
    zypper ar -f http://download.opensuse.org/repositories/home:/namtrac:/subpixel/openSUSE_Leap_42.1/ Subpixel
    zypper ref
    zypper in libfreetype6 --from Subpixel
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,528
    Blog Entries
    15

    Default Re: Conky's Text Is Blurred And The Window Is Not Transparent

    Quote Originally Posted by Grace123 View Post
    BTW, when the conky screen is refreshed it just writes over the old text without clearing it first. This eventually piles up and the text gets continuously harder to read.
    Hi
    Can you post the updated config, sounds like something is looping.....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,953
    Blog Entries
    2

    Default Re: Conky's Text Is Blurred And The Window Is Not Transparent

    Maybe the case or not,
    Your later problems may or may not be related to software, but your initial problems (lack of transparency and blurring in general) are things I typically associate with hardware and driver problems... You need to have capable hardware to support that kind of visual effect in the first place, and then you need drivers that are capable of accessing that effect. I've found that less common after that is software that knows how to utilize drivers properly to make use of that effect.

    Probably these problems are most commonly encountered when viewing games (particularly visuals that are fast moving, 3D and utilize textures and transparencies) using different GPU, you'll often see big differences how graphics are rendered.

    There are various websites that can test a GPU's capabilities, recommend you look for them and run tests. Although you might or might not be able to recognize what works or doesn't, tests often will give you a final score that you can use.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  8. #8

    Default Re: Conky's Text Is Blurred And The Window Is Not Transparent

    Quote Originally Posted by malcolmlewis View Post
    Hi
    How does it look without the YaST changes that cause the error, acceptable for you?

    If not the look at adding this repo;
    Code:
    zypper ar -f http://download.opensuse.org/repositories/home:/namtrac:/subpixel/openSUSE_Leap_42.1/ Subpixel
    zypper ref
    zypper in libfreetype6 --from Subpixel
    Little bit of a problem with that last step:

    Code:
    me@linux-a50f:~> sudo zypper in libfreetype6 --from Subpixel
    Loading repository data...
    Reading installed packages...
    '-from' is not a package name or capability.
    sophie@linux-a50f:~>
    OpenSUSE Leap 42.1, Gnome 3.16

  9. #9

    Default Re: Conky's Text Is Blurred And The Window Is Not Transparent

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Can you post the updated config, sounds like something is looping.....
    Here you are, thanks:

    Code:
    conky.config = {
    -- UBUNTU-CONKY
    -- A comprehensive conky script, configured for use on
    -- Ubuntu / Debian Gnome, without the need for any external scripts.
    
    -- Based on conky-jc and the default .conkyrc.
    -- INCLUDES:
    -- - tail of /var/log/messages ############################(TRY USING TAIL VARIABLE INSTEAD OF SHELL TAIL)############################################# ######
    -- - netstat connections to your computer
    
    -- -- Pengo (conky@pengo.us)
    
    
    --GENERAL STUFF
        double_buffer = true,
        use_spacer = 'yes',
        update_interval = 2.0,
    --background yes
    --out_to_console no
    --total_run_times 0
    --${execi 30 wmctrl -a conky}
    
    
    --WINDOW STUFF
        own_window = true,
        own_window_type = 'normal',--override
        own_window_transparent = true,
        own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    --own_window_hints skip_taskbar,skip_pager
    --own_window skip_taskbar
    
    --COLOR STUFF
        own_window_colour = 'brown',
        default_color = 'white',--Text #Default colors and also border colors, grey90 == #e5e5e5
        default_shade_color = 'black',
        default_outline_color = 'black',
    
    
    --TEXT AREA STUFF
    --minimum_size 250 5 #Minimum size of text area
        minimum_width = 320, minimum_height = 5,
    
    
    --BORDER STUFF
        draw_outline = false,
        draw_borders = false,
        draw_shades = false,
        stippled_borders = 3,
        border_margin = '9',
        border_width = 10,
    
    
    --FONT STUFF
    --font -*-newspaper-*-*-*-*-*-*-*-*-*-*-*-*
        use_xft = true,
        font = 'Bitstream Vera Sans Mono:size=8',
        xftalpha = 0.8,
        uppercase = false,
    
    
    --TEXT ALIGNMENT STUFF
    --alignment top_left
        alignment = 'top_right',
    --alignment bottom_left
    --alignment bottom_right
        gap_x = 10,--Horizontal Gap between borders of screen and text
        gap_y = 10,--10 #Vertical Gap between borders of screen and text
    
    
    --TEXT TO BE DISPLAYED IN CONKY WINDOW
    --################################################# ################
    
    };
    
    conky.text = [[
    $color
    ${color magenta}SYSTEM ${hr 2}$color
    $nodename $sysname $kernel on $machine
    Maximum Operating Temperature: CPU 95 C, HDD 60 C
    CPU Temp: ${acpitemp} #HDD Temp: ${hddtemp} 
    Load: ${loadavg}
    
    ${color yellow}Core 0: ${hr 2}$color
    Freq: ${freq 1}MHz
    ${cpubar cpu1 8,70}
    ${cpugraph cpu1 000000 ffffff}
    ${color red}Core 1: ${hr 2}$color
    Freq: ${freq 2}MHz
    ${cpubar cpu2 8,70}
    ${cpugraph cpu2 000000 ffffff}
    ${color yellow}Core 2: ${hr 2}$color
    Freq: ${freq 3}MHz
    ${cpubar cpu3 8,70}
    ${cpugraph cpu3 000000 ffffff}
    ${color red}Core 3: ${hr 2}$color
    Freq: ${freq 4}MHz
    ${cpubar cpu4 8,70}
    ${cpugraph cpu4 000000 ffffff}
    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}
    ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
    ${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}
    ${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}
    ${top name 9} ${top pid 9} ${top cpu 9} ${top mem 9}
    ${top name 10} ${top pid 10} ${top cpu 10} ${top mem 10}
    
    ${color yellow}MEMORY / DISK ${hr 2}$color
    RAM: $memperc% ${membar 6}$color
    Swap: $swapperc% ${swapbar 6}$color
    
    ${color yellow}NETWORK (${addr wlan0}) ${hr 2}$color
    Down: $color${downspeed wlan0}                  Up: ${upspeed wlan0}
    ${downspeedgraph wlan0 25,140 000000 ff0000} ${alignr}${upspeedgraph wlan0 25,140 000000 00ff00}$color
    Total: ${totaldown wlan0}                Total: ${totalup wlan0} #${alignr}
    
    Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}${alignr}  Total:${tcp_portmon 1 65535 count}
    
    
    
    #${color yellow}LOGGING ${hr 2}$color
    #${execi 30 tail -n3 /var/log/messages | fold -w50}
    
    #wlan0 eth0 wlan1 eth1
    
    
    
    
    
    
    
    
    
    
    ]];
    OpenSUSE Leap 42.1, Gnome 3.16

  10. #10

    Default Re: Conky's Text Is Blurred And The Window Is Not Transparent

    Quote Originally Posted by tsu2 View Post
    Maybe the case or not,
    Your later problems may or may not be related to software, but your initial problems (lack of transparency and blurring in general) are things I typically associate with hardware and driver problems... You need to have capable hardware to support that kind of visual effect in the first place, and then you need drivers that are capable of accessing that effect. I've found that less common after that is software that knows how to utilize drivers properly to make use of that effect.

    Probably these problems are most commonly encountered when viewing games (particularly visuals that are fast moving, 3D and utilize textures and transparencies) using different GPU, you'll often see big differences how graphics are rendered.

    There are various websites that can test a GPU's capabilities, recommend you look for them and run tests. Although you might or might not be able to recognize what works or doesn't, tests often will give you a final score that you can use.

    TSU
    Thanks for the reply,

    The hardware's not the issue. I have a DELL Inspiron 5520 quad. Conky runs fine in Ubuntu 14.04 on the same box.
    OpenSUSE Leap 42.1, Gnome 3.16

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •