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

Can't make it work.... #10

Open
pierrebed opened this issue Oct 12, 2017 · 14 comments
Open

Can't make it work.... #10

pierrebed opened this issue Oct 12, 2017 · 14 comments

Comments

@pierrebed
Copy link

pierrebed commented Oct 12, 2017

Hi Alex,
I'm sorry if I disturb. I have a lot of geeklets running on my desktop and I LOVE your GeekWeather2 but I'm UNABLE to make it run...
I'm a lambda user with absolutely no knowledge of programming but I usually can get these kinds of things. But here I can't
Let me tell you what I did:
I downloaded X code, CommandLine Tool, Homebrew, imagemagick, webkit2png, and the Geekweather2 folder on github.
Then I created a "image geeklet" and wrote "file://localhost/tmp/GeekWeather.png" int the URL field
Then I created a "shell geeklet" and I pasted "./geekWeather2.sh -A 40.410259 -O -74.035 -n AtlanticHighlands -d DARK -u SI -f Garamond -z 2" in the command field (without changing the parameters, just to see if it works)

But nothing happens. The script doesn't run (I suppose so because I see nothing in the image geeklet). I tried to paste the whole geekWeather2.sh in the command field but it doesn't echoes the stuff neither.

What is wrong? I suppose I have to enter an instruction to make the script run (a kind of "please run the script located here") but I have no idea... Or maybe the path to the script is wrong (I tried to enter the complete path but it doesn't work either)

I know I'm not very clever for these process but if you could help me I would be VERY gratefull...

Best regards.

Pierre

@alexwasserman
Copy link
Owner

alexwasserman commented Oct 12, 2017 via email

@pierrebed
Copy link
Author

Thank you very much Alex for your answer.

When I run geekWeather2.sh from the terminal, it only echoes the options. It does the same if I copy the script in the "command" field of a shell geeklet.

1

Best regards and TANK YOU for your help.

Pierre

@pierrebed
Copy link
Author

PS I'm on an early 2011 MacBook Pro running Mac OSX 10.13 High Sierra

@pierrebed pierrebed reopened this Oct 13, 2017
@pierrebed
Copy link
Author

Oops I closed the topic by mistake.

Sorry

It’s opened again

:-/

@pierrebed
Copy link
Author

I got it

:o)

The path was the reason. I ran it from the "home" directory and it runs as expected.

But unfortunately something runs bad in the script itself. I join a screen capture here.

2

//o:

@alexwasserman
Copy link
Owner

alexwasserman commented Oct 14, 2017 via email

@pierrebed
Copy link
Author

Yesssss.

It works. THANK YOU:

:o)

The only issue I have now is that I can't have it LIGHT. It displays DARK despite the -d LIGHT option.

Any idea?

Best regards.

Pierre

1

@pierrebed
Copy link
Author

It's OK Alex. I got it. It didn't refresh ))o:
I can modifiy the line #153 of the script to adjust the conversion

Great

THANK YOU+++

@alexwasserman
Copy link
Owner

alexwasserman commented Oct 16, 2017 via email

@pierrebed
Copy link
Author

Unfortunately I can't have the right colors that fits my wallpaper. The "Light" and "Dark" parameters apply only to the background but not to the content itself (in the foreground) that remains black.

In my context it is either invisible (black content on black or transparent background on black wallpaper) or much too obtrusive (a too big too heavy white form on my dark black wallpaper)

I would need the option to modify the content color (icon, text, ...) so I can have transparent background and white content.

But I think it's impossible.

I'm very sad about that.

Anyway I THANK YOU very much for your patience.

Best regards.

Pierre

@alexwasserman
Copy link
Owner

alexwasserman commented Oct 16, 2017 via email

@pierrebed
Copy link
Author

I tried but it's far beyond my total lack of programming knowledge………

@alexwasserman
Copy link
Owner

alexwasserman commented Oct 18, 2017 via email

@pierrebed
Copy link
Author

Yes it does.
I would like a white foreground. I tried to insert a --js='document.fgColor="white";' on line 149 but nothing happens.

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

No branches or pull requests

2 participants