Solved conky on multiple displays

Hi!

I have a laptop and external monitor and 2 conkys which I start on Openbox. One is running on laptop and the other on external monitor but I want it on laptop too. I did search but nothing help me. One option is xinerama which I didn't install and I do not wanted if are other options.

What kind of settings are for multiple displays?

Thank you,
 
can conky be used on multiple displays

Google Gemini

Yes, Conky can be used on multiple displays, but it requires some configuration. Here's a breakdown of the key concepts and methods:

Key Concepts:

Xinerama:
This is an extension to the X Window System that allows multiple physical displays to be treated as a single, large virtual display.
Conky can utilize Xinerama to determine which display to render on.
xinerama_head:

This Conky configuration option specifies which Xinerama "head" (display) Conky should appear on.
You can set xinerama_head = 0, 1, 2, etc., to target different displays.
gap_x and gap_y:

These options control the horizontal and vertical positioning of the Conky window.

In multi-display setups, you might need to use carefully calculated gap_x values to position Conky correctly on secondary displays.
Methods for Multi-Display Conky:

Using xinerama_head:

This is often the most straightforward approach.

By setting the xinerama_head option in your Conky configuration file, you can direct Conky to a specific display.
However, as seen in some of the search results, sometimes this option does not function as intended, depending on the systems configuration, and Conky versions.

Calculating gap_x and gap_y:

If xinerama_head doesn't work reliably, you can use gap_x and gap_y to position Conky manually.
This involves calculating the coordinates of the desired position on the target display.
This method can be more complex, especially with displays of different resolutions.
Running Multiple Conky Instances:

You can create separate Conky configuration files for each display and run multiple Conky instances.
This gives you fine-grained control over the content and positioning of Conky on each display.
Important Considerations:

The behavior of Conky in multi-display setups can vary depending on your Linux distribution, desktop environment, and Conky version.

Experimentation and adjustments to your Conky configuration might be necessary to achieve the desired results.
In summary, while Conky can be used on multiple displays, it may require some configuration and troubleshooting.
 
Actually talking about it. What purpose you use conky for ? You can alway have Quake style terminal with conky init or have conky inside the bar.
I have on laptop bu I want to have on laptop also clock which I have on external monitor. I did play with gap_x and gap_y and I just moving it on the screen or disappear.
 
Google Gemini

Yes, Conky can be used on multiple displays, but it requires some configuration. Here's a breakdown of the key concepts and methods:

Key Concepts:

Xinerama:
This is an extension to the X Window System that allows multiple physical displays to be treated as a single, large virtual display.
Conky can utilize Xinerama to determine which display to render on.
xinerama_head:

This Conky configuration option specifies which Xinerama "head" (display) Conky should appear on.
You can set xinerama_head = 0, 1, 2, etc., to target different displays.
gap_x and gap_y:

These options control the horizontal and vertical positioning of the Conky window.

In multi-display setups, you might need to use carefully calculated gap_x values to position Conky correctly on secondary displays.
Methods for Multi-Display Conky:

Using xinerama_head:

This is often the most straightforward approach.

By setting the xinerama_head option in your Conky configuration file, you can direct Conky to a specific display.
However, as seen in some of the search results, sometimes this option does not function as intended, depending on the systems configuration, and Conky versions.

Calculating gap_x and gap_y:

If xinerama_head doesn't work reliably, you can use gap_x and gap_y to position Conky manually.
This involves calculating the coordinates of the desired position on the target display.
This method can be more complex, especially with displays of different resolutions.
Running Multiple Conky Instances:

You can create separate Conky configuration files for each display and run multiple Conky instances.
This gives you fine-grained control over the content and positioning of Conky on each display.
Important Considerations:

The behavior of Conky in multi-display setups can vary depending on your Linux distribution, desktop environment, and Conky version.

Experimentation and adjustments to your Conky configuration might be necessary to achieve the desired results.
In summary, while Conky can be used on multiple displays, it may require some configuration and troubleshooting.
I will try with xinerama.
 
Back
Top