You are not logged in.

#1 2020-07-22 15:58:24

juancuyo
Member
Registered: 2017-11-17
Posts: 80

[SOLVED] How to move a conky?

--- Moved from "The great yad hacking thread" ---

https://imgur.com/QXpvkBR  https://imgur.com/Lpzk8kI   https://imgur.com/ZA524gk  I can't move the conky, to make space and place another one where I want. I don't realize how the tool works. Can you help me?

Offline

#2 2020-07-22 16:09:02

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] How to move a conky?

You probably need your conky set with

own_window_type = 'desktop',

Then bl-conkymove (bl-conkypin on Helium) can see it and you can move it with "Alt+LMB Drag", as shown in a yad dialog


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2020-07-22 19:21:41

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: [SOLVED] How to move a conky?

damo wrote:
own_window_type = 'desktop',

With that setting, you can not klick on the conky and get the jgmenu. You must move the mouse pointer outside the conky before the mouse can call jgmenu.

Sometimes it is more easy and accurate with editing config files instead of using graphical programs.

You can keep the setting

own_window_type = 'normal',

and instead manualy edit the placement of the conky.

	gap_x = 15,-- l|r
	gap_y = 35,-- u|d
	alignment = 'top_right',

Maybe works ok?


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#4 2020-07-22 19:59:25

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: [SOLVED] How to move a conky?

damo wrote:

You probably need your conky set with

own_window_type = 'desktop',

Then bl-conkymove (bl-conkypin on Helium) can see it and you can move it with "Alt+LMB Drag", as shown in a yad dialog

I may be wrong, I'm still using v1.9 where. [Alt]+[left Mouse button] & drag works, but maybe:

own_window_type = 'normal',

might be better.

Desktop windows are special windows that have no window decorations; are always visible on your desktop; do not appear in  your pager or taskbar and are sticky across all workspaces.

One cannot drag a "desktop" conky in v1.9 so probably not in 1.10+ either I would think.

Of course I may be wrong, it has happened a few times (in the past couple of minutes even).

Last edited by Sector11 (2020-07-22 20:03:14)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#5 2020-07-22 20:08:19

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: [SOLVED] How to move a conky?

@ rbh

bl-conkymove & bl-conkypin are two scripts written my damo to move v1.10+ conkys with the click of a mouse as the original method described above did not change the code.

So restarting a moved conky would default back to the original position.
ie:

alignment ml
gap_x 03  ## ←|→
gap_y 00  ## ↑|↓

With damo's little scrip, you can move a conky and it stays moved even over reboots as it teaks the code.

Last edited by Sector11 (2020-07-22 20:12:07)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#6 2020-07-22 20:11:18

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: [SOLVED] How to move a conky?

My conky (Lithium) is 1.10.8-1+b1.

And yes, I can move a conky with bl-conkymove. Things evolve...

Last edited by rbh (2020-07-22 20:11:34)


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#7 2020-07-22 20:17:56

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: [SOLVED] How to move a conky?

conkys were always able to be moved.  It changed with v1.10+

--->> but damo found a way.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#8 2020-07-22 21:16:36

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] How to move a conky?

I may have made the first script, but it is unrecognizable since the talented @johnraff put his mind to it wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2020-07-22 23:15:05

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: [SOLVED] How to move a conky?

You and it was cool.

So, a sign of teamwork in progress.

My dinosaur "SSC" YAD script conky starter is still here as well.
Probably does not look anything like what exists today.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#10 2020-07-23 02:09:14

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: [SOLVED] How to move a conky?

Conkymove was definitely a team job as I remember it. Damo and I both had the idea that a conky mover would be nice to have, and started working about the same time, then shared ideas and code. (It was quite tricky at first.)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2020-07-23 02:57:33

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: [SOLVED] How to move a conky?

Actually, moving a conky was already established, you and damo worked on the idea that it "stay put" between reboots or restarts.   big_smile

#!/bin/bash
##
#    bl-conkypin: a script to set the position of a moveable Conky
#    Copyright (C) 2015-2017 damo    <damo@bunsenlabs.org>
#    Copyright (C) 2015-2017 John Crawley <john@bunsenlabs.org>
#    Copyright (C) 2016 xaos52  <xaos52@gmail.com>

Then you changed conkys from "normal" to "desktop" as almost none of my conkys are "sticky across desktops" - which "desktop" sets, I prefer:

own_window_type normal
own_window_hints below,skip_taskbar,skip_pager,undecorated #,sticky

When it comes to conkys and abnormal - I'm the guy.

It's not that I "don't like it" - it just doesn't work for me.
BUT; it's a script that put BL conkyness on the map!

Last edited by Sector11 (2020-07-23 03:01:33)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#12 2020-07-23 03:59:18

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: [SOLVED] How to move a conky?

misko_2083 wrote:

Hey this is a quick hack of https://github.com/Faison/xlib-learning … dow/main.c
Needs libx11-dev to compile:

{snip}

P.S. I've set it to 20 pixels per key press
This does not save the Conky position. Perhaps it can be combined with bl-conkymove...

I look and around line 21/22 I feel a migraine coming on ...

interesting though.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#13 2020-07-23 04:14:08

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: [SOLVED] How to move a conky?

Sector11 wrote:

Then you changed conkys from "normal" to "desktop" as almost none of my conkys are "sticky across desktops" - which "desktop" sets

That was so that when users press Win+d to show the desktop the conkys would stay up. In fact the conkymover script temporarily changes the window type to "normal" so that the conky can be moved, then back to whatever it was before.

It's not that I "don't like it" - it just doesn't work for me.

So if the conkymover doesn't work for you it must be for a different reason. Some other "unusual" setting or filepath?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#14 2020-07-23 13:34:46

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: [SOLVED] How to move a conky?

The configuration of:

own_window_type normal
own_window_hints below,skip_taskbar,skip_pager,undecorated #,sticky

is a "user definable" choice!

Win-D(esktop) has always done what it does.  Clears ALL open applications, firefox, claws-mail, thunar, terminator AND non "desktop/dock/panel" conkys from view - to show the desktop with just the panels.

"desktop" removes the ability to click on the conky to get the "menu" to appear.
Another reason I stayed with conky v1.9.

The script changes a users "usual" not "unusual" setting that happens to be a conky default.

manpage from both conky v1.9 and 1.10 are the same on that:

own_window_type
              if own_window is yes, you may specify type normal, desktop, dock, panel or  override  (default: normal).

13 conkys spread out on 5 desktops. None of them are "sticky".  Last time I used the script it put all of the conkys on the same desktop.

or: I simply like to have things my way and use conky the way it was designed to be used with "user definable" configurations.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#15 2020-07-23 13:54:38

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: [SOLVED] How to move a conky?

johnraff wrote:

Conkymove was definitely a team job as I remember

Nice tool when you have several conkys you will place in an for the eye apealing pattern, considering the wallpaper picture...

But an overkil if you only want to align one conky from the upper right corner...

Last edited by rbh (2020-07-23 13:55:10)


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#16 2020-07-23 14:49:15

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: [SOLVED] How to move a conky?

Not if you want that conky to remain there over a reboot.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#17 2020-07-23 16:35:51

juancuyo
Member
Registered: 2017-11-17
Posts: 80

Re: [SOLVED] How to move a conky?

solved

own_window_type = 'normal',

[Alt]+[left Mouse button] & drag works

it work,  I move the conky

Offline

#18 2020-07-23 17:36:43

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: [SOLVED] How to move a conky?

juancuyo wrote:

solved

own_window_type = 'normal',

[Alt]+[left Mouse button] & drag works

it work,  I move the conky

Please go to the firstr post - edit it and Add [Solved] to the Subject

[Solved] How to move a conky?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#19 2020-07-23 23:29:11

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: [SOLVED] How to move a conky?

Sector11 wrote:

Please go to the first post - edit it and Add [Solved] to the Subject

[Solved] How to move a conky?

No need, I took care of it.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Online

#20 2020-07-24 01:25:42

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: [SOLVED] How to move a conky?

Sector11 wrote:

Win-D(esktop) has always done what it does.  Clears ALL open applications, firefox, claws-mail, thunar, terminator AND non "desktop/dock/panel" conkys from view - to show the desktop with just the panels.
"desktop" removes the ability to click on the conky to get the "menu" to appear.

Personally, I use window type "normal" on all my conkys, for the kind of reasons you mention.

But there was a request from another dev to change the default conky window types to "desktop" so that Win+D would show the conkys. I think some users brought that issue up too. When you think about it, just being able to see the wallpaper doesn't seem all that useful, and panels are visible anyway.

The script changes a users "usual" not "unusual" setting that happens to be a conky default.

Did you read my post above?

johnraff wrote:

the conkymover script temporarily changes the window type to "normal" so that the conky can be moved, then back to whatever it was before.

So bl-conkymove shouldn't alter any of the user's settings, except the x and y figures that define the exact position. Nothing else. If it's changing the stickiness then it's a bug.

13 conkys spread out on 5 desktops. None of them are "sticky".  Last time I used the script it put all of the conkys on the same desktop.

I'll have to try this. It shouldn't be happening. For a start, the script should only be operating on one conky, not a whole set. And I'd expect the moved conky to be started on whatever the current desktop is. It surely shouldn't be possible even to see a non-sticky conky that's on a different desktop?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB