SAM Linux Desktop - Community Forums

Full Version: [gelöst] Wetter screenlet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Die Anleitung ist im How-To/Anleitungen Teil unter Software zu finden.

Danke für euer Verständnis,
Gregor
Hi serjant!

It doesn't work on my computer, as I clicked on the script, the desklet came : no information avaiaible
then I changed the script - nothing
Jule,

was hast Du gemacht?

Folgende Vorgehensweise hat bei mir funktioniert.
Öffne thunar als root. Navigiere zum screenlet und öffne das screenlet mit mousepad aus dem root-thunar heraus. Dann markierst Du serjants Text und kopierst diesen in das screenlet hinein. Dies musst Du als root machen, da Du doch sonst in /usr nicht arbeiten und ändern darfst. Speichere das geänderte screenlet ab. Starte das screenlet.

Falls das nicht funktionieren sollte, kann ich Dir per email meine lauffähige Version schicken. PM an mich.

Gruß
Yogibaer
yogi

is ganz witzig, ich habe das mit thunar gemacht, aber in /usr/share/screenlets, dort habe ich das script geändert, jetzt kommt gar nix mehr, auch kein screenlet

WO IST DER SCHÄMSMILIE???
Hallo Jule,

wo genau hast Du das gemacht? Das muß im Pfad /usr/share/screenlets/ClearWeather/ geschehen. Dort muß eine .py und eine icon.png Datei stehn. Außerdem ist dort ein Ordner themes. Das screenlet benötigt den Icon.
Mach mal das folgende im Terminal als normaler user.

Code:
cd /usr/share/screenlets/ClearWeather/

Damit navigierst Du in den Pfad vom Screenlet. Danach

Code:
python ClearWeatherScreenlet.py

Damit startest Du das screenlet. Welche Fehlermeldung kommt raus?
Bitte hier posten.

Gruß
Yogibaer

ClearWeather hab ich nicht:

Code:
[root@localhost foxy]# cd /usr/share/screenlets/Weather/
[root@localhost Weather]# python WeatherScreenlet.py
  File "WeatherScreenlet.py", line 71
    self.add_options_group('Weather',
    ^
SyntaxError: invalid syntax

ich glaub, ich hab's, ich werde mal serjants ClearWeather im script in einfach Weather ändern, mal sehen, was dann kommt
Delete the file WeatherScreenlet.py in /usr/share/screenlets/ClearWeather
and put there this file:
ClearWeatherScreenlet.py

and then relaunch the screenlets manager
aaaaaah, thankyou!!

F030

and I have to change again the script...Cool
Reference URL's