You are not logged in.

#1 2016-06-14 22:18:44

aosmialowski
Member
Registered: 2016-06-14
Posts: 2

Show Conky on all workspaces across two screens

Hello!

I'm testing Conky again after few years.

Does anybody know a method to force Conky instance to be visible on my both screens? Currently Conky is visible only on my notebook screen, not the HDMI external one.

Any clues?

My Conky config /almost default one/:

-- vim: ts=4 sw=4 noet ai cindent syntax=lua

conky.config = {
    alignment = 'top_right',
    background = false,
    border_width = 1,
    cpu_avg_samples = 2,
        default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font = 'Inconsolata:size=10',
    gap_x = 10,
    gap_y = 10,
    minimum_height = 5,
        minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'override',
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    own_window_transparent = true,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false
}

conky.text = [[
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$hr
${color grey}Name              PID   CPU%   MEM%
${color lightgrey} ${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}
]]

Last edited by aosmialowski (2016-06-15 22:03:54)

Offline

#2 2016-06-15 03:20:21

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Show Conky on all workspaces across two screens

what is your configuration of screens, I guess your second screen is on right or left or up or down to your first screen.
You can create second conky with appropriate alignment & gap_X gap_Y parameters, so that it gets displayed on your second screen.

Offline

#3 2016-06-15 03:21:22

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Show Conky on all workspaces across two screens

what is your configuration of screens, I guess your second screen is on right or left or up or down to your first screen.
You can create second conky with appropriate alignment & gap_X gap_Y parameters, so that it gets displayed on your second screen.

EDIT: kindly update your thread title (conky inplace of conly).
Sorry for duplicate posts, inplace of editing I choose to go back in w3m buffer and modified my post but it lead to duplicate post.

Last edited by Docbroke (2016-06-15 03:24:29)

Offline

#4 2016-06-15 22:06:34

aosmialowski
Member
Registered: 2016-06-14
Posts: 2

Re: Show Conky on all workspaces across two screens

Docbroke wrote:

what is your configuration of screens, I guess your second screen is on right or left or up or down to your first screen.
You can create second conky with appropriate alignment & gap_X gap_Y parameters, so that it gets displayed on your second screen.

I already solved the issue.

I often plug in/unplug my external screen so I've bind two keys that disable or enable my external screen using xrandr --off. I just added a custom script that launches/kills conky instance to that binding. I don't need two instances on my screens after some thinking about it.

PS. I've corrected the post title, sorry for the typo. Is there any way to mark topic as solved or I just need to prefix it with [Solved] prefix manually?

Last edited by aosmialowski (2016-06-15 22:08:12)

Offline

#5 2016-06-15 22:45:59

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Show Conky on all workspaces across two screens

Just edit your first post and prefix the title with [Solved].


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB