Conky-for-macOS / conky-for-macOS

macOS port of the Light-weight system monitor for X.
https://github.com/Conky-for-macOS/conky-for-macOS/wiki
GNU General Public License v3.0
157 stars 9 forks source link

Problems with alignment #39

Open npyl opened 6 years ago

npyl commented 6 years ago

Conky messes up the window's size when we set alignment to XXXXXX_right.

The problem can be amended by setting minimum window size, but this is not the desired behaviour (It doesn't happen on linux).

This is the proper place for https://github.com/Conky-for-macOS/default-themes/issues/2.

npyl commented 5 years ago

@hajo62 Hi! I noticed that XQuartz 2.7.9 works better with alignment...

hajo62 commented 5 years ago

Unfortunately I made the update to mojave and now conky does not start anymore. Is there a version and an installer for mojave?

npyl commented 5 years ago

Maybe uninstalling and reinstalling conky could fix the problem?

hajo62 commented 5 years ago

Unfortunately the dmg could not be opened, although I have allowed to install from all sources.

image

“Manage.Conky_v0.9.5.dmg” can’t be opened. You should move it to the Trash. Look's like Mojave has more restrictions than Sierra.

Help says: "There may be a problem with this app. Although the app was signed by an identified developer, the certificate for the app has been revoked and it cannot be opened.

Check with the Mac App Store or the software developer to see whether there is an updated version of this app"

npyl commented 5 years ago

Thank you for this info... I am signing it as a Mac Developer, which is not really an Apple Developer License so this may be the reason... I don't think I will be able to register as an apple dev because the license is too expensive.

Though, you may be able to bypass the checks by right-clicking the dmg and choosing open.

hajo62 commented 5 years ago

Thanks, but I knew this trick, but unfortunately it does not work on mojave anymore...

hajo62 commented 5 years ago

Okay, a solution to open the .dmg. $ sudo xattr -rd com.apple.quarantine Manage.Conky_v0.9.5.dmg

But still I can not open the app. Looking in the Problem Report, I found this:

Termination Reason:    Namespace CODESIGNING, Code 0x1
kernel messages:

VM Regions Near 0 (cr2):
--> 
    __TEXT                 000000010a950000-000000010a96b000 [  108K] r-x/rwx SM=COW  

Thread 0 Crashed:
npyl commented 5 years ago

This is getting really apple-y. I don't like this. Going to investigate

npyl commented 5 years ago

@hajo62 Does this dmg work? This is pretty weird but I was able to reproduce the problem with a dmg I had laying around, but when I re-created the dmg using my scripts it mounted successfully. Probably it's the same problem?

Manage Conky_v0.9.5.dmg.zip

hajo62 commented 5 years ago

@npyl : I could mount this dmg. I haven't tried the included app.

npyl commented 5 years ago

Ok, that is good news, as a last step please try the app, too! If it runs, maybe this will mean the problem was temporary (probably some beta Xcode version or something)

npyl commented 5 years ago

As for the alignment problems (real cause of this issue), we best wait for #35 .

hajo62 commented 5 years ago

Okay, it did start - from inside the mounted .dmg - but no widget is visible, although I could start or stop those.

npyl commented 5 years ago

We need to see what is happening. Press cmd+, to open ManageConky's preferences and click log to file.

Default location is /tmp/MC.log. Please restart manageconky and upload the logfile

hajo62 commented 5 years ago

Unfortunately no log file. Nor with default and not with explicit setting

screenshot1
npyl commented 5 years ago

Ok, lets see if I got it right. Please correct me wherever wrong.

You are using the dmg I gave you here and it can locate the widgets and themes installed successfully as shown in the picture.

Also, when you try to start a widget or theme it becomes green although it doesn't actually get loaded?

hajo62 commented 5 years ago

Three times yes.

hajo62 commented 5 years ago

And: When starting a widget, I see a very short flicker in the upper left corner of the screen.

npyl commented 5 years ago

The flicker means that conky is being loaded and the widget is being loaded but something is wrong with Xquartz.

Probably some custom change you did in the configs?

Does the flickering happen for all widgets you try to run?

npyl commented 5 years ago

The flicker must be part of the same problem (alignment) again

hajo62 commented 5 years ago

okay, but I haven't changed the Xquartz (because I have no idea how to). All I did is an update to mojave...

npyl commented 5 years ago

No problem. Probably for the best because we are moving away from Xqaurtz

hajo62 commented 5 years ago

@npyl : Moving away does mean you are modifying the solution or should I change something on my system? If last, what would I have to try to make conky running again?

npyl commented 5 years ago

Moving away means using the Metal API or something else native to macOS.

This will mean that you will not have to make any change to your OS.

Though, I dont want to say big words just yet, because you never know how development will go and what will be required later.

MennoLabs commented 4 years ago

Alignment top_right does not work for me, even when increasing minimum height and width to 400/ Linux 5.4.0-52. KDE 5.18.5

felixvonberlin commented 2 years ago

conky behaves the same on Ubuntu 20.04.4 LTS with Gnome Shell 3.36.8, running Xorg.