You are not logged in.

#1801 2023-03-05 16:01:18

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

@ unklar

bei mir ist die .json-Datei nur in einer langen Zeile. Deshalb wandle ich sie in .raw um, das ist für mich einfacher.
Es ist, dass mit prevision-meteo.ch die conkyrc wirklich top ist.Naja, mir fehlen noch die stündlichen Vorhersagen, also muss ich mich damit begnügen.


For me, the .json file is only in one long line. That's why I convert it to .raw, which is easier for me.
It is that with prevision-meteo.ch the conkyrc is really top.
Well, I'm still missing the hourly forecasts, so I'll have to make do.

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#1802 2023-03-05 20:14:24

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

Noch diesen und ich denke, ich habe jetzt genug Auswahl.

Capture-d-cran-2023-03-05-21-09-29.png


this one and I think I have enough choice now.

@+

Last edited by loutch (2023-03-05 20:14:43)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#1803 2023-03-06 09:48:28

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

Re: Show us your conky

Bonjour @loutch,
c'est magnifique. Il semble brillant !


loutch wrote:

Ich kann die Stunden vergessen, sie fangen jeden Tag mit 00:00 an, also ist es zu kompliziert für mich.
...
Naja, mir fehlen noch die stündlichen Vorhersagen, also muss ich mich damit begnügen.

J'ai peut-être un indice ici. Cependant, je ne sais pas comment tu peux réaliser "l'heure" dans le code en l'indiquant au préalable. ... si elle est identique à https://www.prevision-meteo.ch/, ce que je suppose.

-------
Hello @loutch,
this looks beautiful. It looks brilliantlant!


I may have a hint here. However, I don't know how you should realize "the hour" in the code by specifying it beforehand.  ... If it is identical to https://www.prevision-meteo.ch/, which I assume.

Offline

#1804 2023-03-14 14:56:54

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

I still want to display the forecasts for 06h00 12h00 and 18h00 but I can't get it into my raw file.

I tried to code it differently but I can't find it.

Thanks for any help.

Example

${texeci 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data.6H00.CONDITION'}

give this

jq: error: syntax error, unexpected LITERAL, expecting $end (Unix shell quoting issues?) at <top-level>, line 1:
.fcst_day_0.hourly_data.6H00.CONDITION                       
jq: 1 compile error

ect ...

here a part from the raw imput

"fcst_day_0": {
    "date": "14.03.2023",
    "day_short": "Mar.",
    "day_long": "Mardi",
    "tmin": -0,
    "tmax": 9,
    "condition": "Eclaircies",
    "condition_key": "eclaircies",
    "icon": "https://prevision-meteo.ch/style/images/icon/eclaircies.png",
    "icon_big": "https://prevision-meteo.ch/style/images/icon/eclaircies-big.png",
    "hourly_data": {
      "0H00": {
        "ICON": "https://prevision-meteo.ch/style/images/icon/nuit-legerement-voilee.png",
        "CONDITION": "Nuit légèrement voilée",
        "CONDITION_KEY": "nuit-legerement-voilee",
        "TMP2m": 8.4,
        "DPT2m": -273.2,
        "WNDCHILL2m": 5.7,
        "HUMIDEX": null,
        "RH2m": 92,
        "PRMSL": 995.3,
        "APCPsfc": 0,
        "WNDSPD10m": 17,
        "WNDGUST10m": 0,
        "WNDDIR10m": 201,
        "WNDDIRCARD10": "S",
        "ISSNOW": 0,
        "HCDC": "99.70",
        "MCDC": "0.00",
        "LCDC": "6.20",
        "HGT0C": 1800,
        "KINDEX": 40,
        "CAPE180_0": "0.000",
        "CIN180_0": 0
      },
      "1H00": {
        "ICON": "https://prevision-meteo.ch/style/images/icon/nuit-nuageuse.png",
        "CONDITION": "Nuit nuageuse",
        "CONDITION_KEY": "nuit-nuageuse",
        "TMP2m": 8.8,
        "DPT2m": -273.2,
        "WNDCHILL2m": 5.2,
        "HUMIDEX": null,
        "RH2m": 88,
        "PRMSL": 995.1,
        "APCPsfc": 0,
        "WNDSPD10m": 28,
        "WNDGUST10m": 0,
        "WNDDIR10m": 212,
        "WNDDIRCARD10": "SO",
        "ISSNOW": 0,
        "HCDC": "96.90",
        "MCDC": "3.50",
        "LCDC": "58.00",
        "HGT0C": 1600,
        "KINDEX": 40,
        "CAPE180_0": "47.000",
        "CIN180_0": -3
      },

ect......

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#1805 2023-03-15 00:34:27

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

loutch wrote:

here a part from the raw imput

I'll try to help you, but I'm not sure I'll succeed.
I created a raw file in my HOME folder with your content.
Terminal:

$ cat $HOME/raw | grep -A 23 '"1H00"'

I got the whole section "1H00".

Change the path to your raw file and the exact name of the raw file.
Tray:

$ cat /path/to/your/file/raw | grep -A 23 '"6H00"'
$ cat /path/to/your/file/raw | grep -A 23 '"12H00"'
$ cat /path/to/your/file/raw | grep -A 23 '"18H00"'

Is this the data you need?


If people would know how little brain is ruling the world, they would die of fear.

Offline

#1806 2023-03-15 06:47:06

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

@ marens


thank you for your help


edit

I HAVE IT .

you put me on the way to "0H00" in my line I was missing

the two " for the hourly_data

 ${texeci 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."6H00".CONDITION'}

Now I just have to integrate everything in my conky

edit2

Capture-d-cran-2023-03-15-08-40-44.png

@+

Last edited by loutch (2023-03-15 07:42:47)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#1807 2023-03-15 08:12:16

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

Re: Show us your conky

@loutch
Félicitations pour avoir trouvé l'astuce des heures !

Merci à @marens.

Congrats on finding the trick with the hours!
Thanks to @marens.  wink

Offline

#1808 2023-03-15 14:21:08

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

@loutch
@unklar

Thanks.
Conky looks great.
VClouds icons are amazing.
I always use them with Gis Weather.

Maybe one suggestion:
Add seconds to reduce the size of the time section.

Something like this:
time-section.png


If people would know how little brain is ruling the world, they would die of fear.

Offline

#1809 2023-03-15 14:55:40

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

@ unhlar

danke, mein Freund

Im Gegensatz zum accuweather-Skript, das die gleiche Zeit beim Start des conky einstellt, muss man hier wählen.

Wenn man 7 Uhr, 12 Uhr und 18 Uhr nimmt, hat man das Wetter für den Morgen, den Nachmittag und den Abend ungefähr im Blick.

Man kann auch 23:00 oder 00:00 Uhr hinzufügen, um das Wetter der Nacht zu erhalten.

@ marens

Great idea .

thank you, my friend

Unlike the accuweather script, which sets the same time when you start the conky, here you have to choose.

If you take 7am, 12pm and 6pm you have the weather for the morning, afternoon and evening approximately.

You can also add 23:00 or 00:00 to get the weather of the night.

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#1810 2023-03-15 15:20:39

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

Re: Show us your conky

@loutch,

les icônes vclouds ont l'air intéressantes. As-tu une source pour moi ?

Mais les icônes originales de meteo.ch ont aussi l'air bien. Malheureusement, je ne peux rien y faire avec mon lieu.
Maintenant, je compare toujours les valeurs entre accuweather et openweather. Parfois, il y a un monde entre les deux wink

mW0oHQzt.png

the vclouds icons look interesting. Do you have a source for me?

The original icons from meteo.ch look good too. Unfortunately I can't do anything with my location there.
Now I always compare the values between accuweather and openweather. Sometimes there are worlds in between. wink

@marens
+1

Last edited by unklar (2023-03-15 15:24:33)

Offline

#1811 2023-03-15 15:33:19

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#1812 2023-03-16 08:07:18

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

Re: Show us your conky

Merci, mon ami !  wink

Offline

#1813 2023-03-16 09:09:24

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

The original conkys from Diedier-T with prevision-meteo.ch

Capture-d-cran-2023-03-16-10-53-40.png



@+

Last edited by loutch (2023-03-16 09:56:27)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#1814 2023-03-17 01:49:15

sousuke
New Member
Registered: 2023-03-17
Posts: 1

Re: Show us your conky

sharing my conky creations ^_^ for those who like a little splash of color on their desktop
conky monochrome
I'm not allowed to post links, so for the configs and images put these two together: github.com /ernesto1/monochrome

Last edited by sousuke (2023-03-17 01:53:10)

Offline

#1815 2023-03-17 02:07:21

deleted0
Guest

Re: Show us your conky

^ Nice. You've put a lot of work into that.

8bit

Last edited by deleted0 (2023-03-17 02:08:27)

#1816 2023-03-17 23:57:28

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

Eyes Protection with Redshift

Install redshift (not redshift-gtk).
Ubuntu:

$ sudo apt install redshift

Make redshift.conf file in ~/.config folder.
Open redshift.conf file and Copy/Paste content (these are my settings).

; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=5840
temp-night=4480

; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature.
transition=1

; Set the screen brightness. Default is 1.0.
;brightness=0.9
; It is also possible to use different settings for day and night
; since version 1.8.
;brightness-day=0.7
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel
; individually)
gamma=0.88
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
;gamma-day=0.8:0.7:0.8
;gamma-night=0.6

; Set the location-provider: 'geoclue', 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values.
; The location provider settings are in a different section.
location-provider=manual

; Set the adjustment-method: 'randr', 'vidmode'
; type 'redshift -m list' to see all possible values.
; 'randr' is the preferred method, 'vidmode' is an older API.
; but works in some cases when 'randr' does not.
; The adjustment method settings are in a different section.
adjustment-method=vidmode

; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings.
; ex: 'redshift -l manual:help'
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
lat=xx.xxxxxx
lon=xx.xxxxxx

; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust screen 1.
; Note that the numbering starts from 0, so this is actually the
; second screen. If this option is not specified, Redshift will try
; to adjust _all_ screens.
[randr]
screen=1

Google search: MyCity Name latitude (Example: Paris latitude)

The result looks like this (Paris):
Latitude: 48.864716
Longitude: 2.349014

Replace lines 45 and 46 in redshift.config file to (for Paris):
lat=48.864716
lon=2.349014

Save text editor.

Redshift notifications with sound alert

Make redshift folder in ~/.config.
Inside the redshift folder create a hooks folder.
Inside the hooks folder make transition.sh script:

#!/bin/sh

sleep 60

case $1 in
    period-changed)
        #exec notify-send "Redshift" "Eyes protection changed to $3 mode" --icon=redshift
        exec notify-send --hint=string:sound-name:dialog-question "Redshift" "Eyes protection changed to $3 mode" --icon=redshift
esac

Make script executable.

Icon
redshift.png

Move redshift.png icon in /usr/share/pixmaps folder.

Add redshift to autostart applications

In ~/.config/autostart make redshift.desktop file with content:

[Desktop Entry]
Type=Application
Exec=redshift
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Redshift
Name=Redshift
Comment[en_US]=Eyes Protection
Comment=Eyes Protection

If you have a similar application, turn it off.
Set the brightness of your screen to max.
Redshift will regulate the brightness itself,depending on whether it is day or night.

How it works?
In night mode the brightness ( 'screen temperatures' ) is about 30% less.
You will receive a notification when the transition starts and ends.
The transition starts about 25 minutes before sunset in your city.
It ends about 30 minutes after sunset.
Everything happens gradually without sudden changes.

Reboot.


If people would know how little brain is ruling the world, they would die of fear.

Offline

#1817 2023-03-20 20:13:50

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

Another one  with prevision.ch inspired from xenium-Art skin

Capture-d-cran-2023-03-20-21-12-58.png


@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#1818 2023-03-21 10:41:15

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

Re: Show us your conky

@loutch
Absolument superbe !

Offline

#1819 2023-03-21 12:01:21

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

Re: Show us your conky

@loutch - I agree with unklar.
Beautiful.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1820 2023-03-21 16:09:11

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

Re: Show us your conky

@loutch,

comment était-ce avec les heures, quelle ligne faut-il ajouter dans le script ?
Merci à toi.  wink

L3kgB6et.png

Offline

Board footer

Powered by FluxBB