Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with alignment #39

Open
npyl opened this issue Oct 19, 2018 · 26 comments
Open

Problems with alignment #39

npyl opened this issue Oct 19, 2018 · 26 comments
Assignees
Labels

Comments

@npyl
Copy link
Member

npyl commented Oct 19, 2018

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 Conky-for-macOS/default-themes#2.

@npyl
Copy link
Member Author

npyl commented Nov 20, 2018

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

@hajo62
Copy link

hajo62 commented Dec 8, 2018

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

@npyl
Copy link
Member Author

npyl commented Dec 8, 2018

Maybe uninstalling and reinstalling conky could fix the problem?

@hajo62
Copy link

hajo62 commented Dec 8, 2018

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
Copy link
Member Author

npyl commented Dec 8, 2018

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
Copy link

hajo62 commented Dec 8, 2018

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

@hajo62
Copy link

hajo62 commented Dec 8, 2018

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
Copy link
Member Author

npyl commented Dec 8, 2018

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

@npyl
Copy link
Member Author

npyl commented Dec 9, 2018

@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
Copy link

hajo62 commented Dec 9, 2018

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

@npyl
Copy link
Member Author

npyl commented Dec 9, 2018

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
Copy link
Member Author

npyl commented Dec 9, 2018

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

@hajo62
Copy link

hajo62 commented Dec 10, 2018

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

@npyl
Copy link
Member Author

npyl commented Dec 10, 2018

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
Copy link

hajo62 commented Dec 10, 2018

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

@npyl
Copy link
Member Author

npyl commented Dec 10, 2018

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
Copy link

hajo62 commented Dec 10, 2018

Three times yes.

@hajo62
Copy link

hajo62 commented Dec 10, 2018

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

@npyl
Copy link
Member Author

npyl commented Dec 10, 2018

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
Copy link
Member Author

npyl commented Dec 10, 2018

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

@hajo62
Copy link

hajo62 commented Dec 10, 2018

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

@npyl
Copy link
Member Author

npyl commented Dec 10, 2018

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

@hajo62
Copy link

hajo62 commented Dec 18, 2018

@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
Copy link
Member Author

npyl commented Dec 18, 2018

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants