0
:
How-To & F.A.Q

 

 

My-Weather-Indicator

cinnamon
  
?
. .
: 14
: 12-01-2015
.
: 0
cinnamon

... , - , , My-Weather-Indicator /atareao.es/

PHP:
  1. sudo add-apt-repository ppa:atareao/atareao
  2. sudo apt-get update
  3. sudo apt-get install my-weather-indicator python3-requests
/opt/extras.ubuntu.com/my-weather-indicator , Ataman, .

? , , /opt/extras.ubuntu.com/my-weather-indicator/bin , my-weather-indicator python3.

my-weather-indicator , , /usr/sbin.

sudo nano /usr/sbin/my-weather :
PHP:
  1. #!/bin/sh
  2. /usr/bin/python3 /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
:
PHP:
  1. sudo chmod +x /usr/sbin/my-weather
==> ==> ==>


, - -- .
: 0
sizonov stas:
/usr/sbin.
/usr/sbin ?)

sizonov stas:
, , /opt/extras.ubuntu.com/my-weather-indicator/bin , my-weather-indicator python3.
.
~/.config/autostart my-weather-indicator-autostart.desktop :

PHP:
  1. [Desktop Entry]
  2. Type=Application
  3. Exec=/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
  4. Hidden=false
  5. NoDisplay=false
  6. X-GNOME-Autostart-enabled=true
  7. Name[es_ES]=my-weather-indicator-autostart
  8. Name=my-weather-indicator-autostart
  9. Comment[es_ES]=My-Weather-Indicator official shortcut
  10. Comment=My-Weather-Indicator official shortcut
  11. X-GNOME-Autostart-Delay=2
: 3 (: 12 2015 04:22)
: 0
cinnamon ... , - ...
, http://www.weather.com/ - 8- . ( )

... , ....
3-
weather
... ... My-Weather-Indicator /atareao.es/
. ?
, .

sizonov stas, My-Weather-Indicator - .
: 2 (: 29 2015 08:52)
: 0
sizonov stas, My-Weather-Indicator, ...
,
, , "" ( "" ) - /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator .
, 2 , , - . \ , ( ), , , -.
...
: 1 (: 12 2015 21:14)
: 0
colonel, *.desktop ~/.config/autostart
*.desktop .
: 0
val, , - , .
""(~/.config/autostart/my-weather-indicator-autostart.desktop "" ( )
: 0
val:
/usr/sbin
. , . , - , /usr/sbin .


val:
sizonov stas:
, , /opt/extras.ubuntu.com/my-weather-indicator/bin , my-weather-indicator python3.
.
, /opt deadbeef, , . , "".

val:
~/.config/autostart my-weather-indicator-autostart.desktop
- , , .


colonel:
, , "" ( "" ) - /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator .
, .



val:
diff my.desktop my-weather-indicator-autostart.desktop
: 0
sizonov stas:


my-weather-indicator , , /usr/sbin.

sudo nano /usr/sbin/my-weather :
PHP:
  1. #!/bin/sh
  2. /usr/bin/python3 /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
:
PHP:
  1. sudo chmod +x /usr/sbin/my-weather
==> ==> ==>


, - -- .


Stas.


: weather-indicator.sh

------------------------------------------------------------
weather-indicator.sh

#!/bin/sh
/usr/bin/python3 /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator

--------------------------------------------------------------
/opt/

, .pdf
: 3 (: 13 2015 18:47)
: 0
: weather-indicator.sh
-

: 0
-

!!! ...
: 6 (: 14 2015 12:17)
: 0
avkP3:
...
!!! ...
avkP3, ... () my-weather-indicator, -
" - "
avkP3:
... ...
" " - /usr/bin/python3 /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
( /usr/bin/python3 ) ,
( , /usr/bin/python3 " " . )
cinnamon mate KDE. .

val, " " "" " ~/.config/autostart my-weather-indicator-autostart.desktop ".
( )
: 0
colonel:
,

" " ,
: 0
, ""
: 0
colonel:
, , "" ( "" ) - /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator .
!! , ))
: 0
()
, /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator - ( Python), , .
" ".

: , my-weather-indicator-autostart.desktop ~/.config/autostart .
"" 2 ( ):
1. - , "" , ~/.config/autostart/my-weather-indicator-autostart.desktop X-GNOME-Autostart-enabled=false X-GNOME-Autostart-enabled=true.
( - Nemo , ~/.config/autostart/ mc , .
mc ,
X-GNOME-Autostart-enabled=false ,
X-GNOME-Autostart-enabled=true. )

2. "" , ~/.config/autostart/my-weather-indicator-autostart.desktop
X-GNOME-Autostart-enabled=true, .
. .


, weather-indicator ~/.config/autostart/ , .
, .

, . - , , . -
~/.config/my-weather-indicator/my-weather-indicator.conf

sizonov stas:
, ""
.
17.1mate. 17.1 cinnamon "" , - . 2 "" . - , "" , .
. KDE.
KDE , , .

$ /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator


17 xfce , , .

sizonov stas:
colonel:
,

" " ,
, - /usr/bin/python3 " ".
.

my-weather-indicator-autostart.desktop . .
: 3 (: 16 2015 16:19)
 
|
:
: 1 2
, .