Code Monkey home page Code Monkey logo

earth-view-wallpaper-gnome-extension's Introduction

GNOME Shell extension - Google Earth Wallpaper

Jiamusi

Get it on GNOME extensions <3 Sponsor this project on GitHub <3

Lightweight GNOME shell extension to set your wallpaper to a random Google Earth photo from a selection of pool of 2,604 curated locations.

Disclaimer: this extension is unofficial and not affiliated with Google in any way. Images are protected by copyright, and are licensed only for use as wallpapers.

Features

  • Fetches a random Google Earth wallpaper and sets as desktop wallpaper and lock screen
  • User selectable refresh intervals (default is once per day)
  • Optional: keep images or clean up after (later is default)
  • View location on Google Maps, Bing Maps, Gnome Maps, OpenStreetMaps

Requirements

GNOME Shell 3.36+ (Ubuntu Gnome 20.04 LTS+), legacy support exists for earlier GNOME Shell versions (3.28+)

Install

Install from extensions.gnome.org

or install directly to your GNOME extensions directory (if you want to hack on it)

mkdir ~/source
cd ~/source
git clone https://github.com/neffo/earth-view-wallpaper-gnome-extension.git
cd earth-view-wallpaper-gnome-extension
sh install.sh

Other works

This extension is derived from my Bing Wallpaper GNOME extension, which was based extensively on the NASA APOD extension by Elinvention. Curated locations and images come from Google's Earth View website and the associated Chrome extension.

Screenshots

Menu

Settings

Lockscreen

earth-view-wallpaper-gnome-extension's People

Contributors

alexisal avatar alfro avatar aquaxp avatar etamuk avatar jonnius avatar motorto avatar neffo avatar simple-sunrise avatar trampover avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

earth-view-wallpaper-gnome-extension's Issues

Preview of icons pin and globe hard to see

In extension settings you can see a preview of the indicator icon as pin, globe or official icon.
The icons for pin and globe are hard to see.

It seems they are white on a white background (grey when hovered).
Bildschirmfoto vom 2022-04-18 21-21-14 geaendert

link to install in README.md points to the wrong extension

The link under "Install from extensions.gnome.org" points to your bing wallpaper changer instead of the earth-view-wallpaper one. (I am not really familiar on how to create a pull request, otherwise I could have helped you out here :) )

[BUG] Images not set and Prefs UI broken on Gnome 41.3 (Arch Linux)

Describe the bug
Extensions loads images and stores them to disk, but

  • image is not set as background image
  • folder is ${HOME}/null
  • folder can not be changed in preferences UI
  • prefs UI shows "Bing Wallpaper Pictures Folder" button to select download folder location
  • No prefs schema is installed?

Screenshots
Screenshot from 2022-02-19 12-25-58

To Reproduce
Steps to reproduce the behavior:

  1. Install & activate extension
  2. Open preferences
  3. Manually refresh

Desktop (please complete the following information):

  • OS: Arch Linux
  • Extension Version: 13
  • GNOME Version: 41.3

Additional context
Output of journalctl during install

Feb 19 12:22:21 spitfire gnome-shell[152414]: Archive:  /tmp/YFSUH1.shell-extension.zip
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/convenience.js
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/extension.js
Feb 19 12:22:21 spitfire gnome-shell[152414]:    creating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/icons/
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/icons/globe-symbolic.svg
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/icons/official.svg
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/icons/pin-symbolic.svg
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/images.js
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/LICENSE
Feb 19 12:22:21 spitfire gnome-shell[152414]:    creating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/locale/
Feb 19 12:22:21 spitfire gnome-shell[152414]:    creating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/locale/zh_CN/
Feb 19 12:22:21 spitfire gnome-shell[152414]:    creating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/locale/zh_CN/LC_MESSAGES/
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/locale/zh_CN/LC_MESSAGES/GoogleEarthWallpaper.mo
Feb 19 12:22:21 spitfire gnome-shell[152414]:    creating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/locale/nl/
Feb 19 12:22:21 spitfire gnome-shell[152414]:    creating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/locale/nl/LC_MESSAGES/
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/locale/nl/LC_MESSAGES/GoogleEarthWallpaper.mo
Feb 19 12:22:21 spitfire gnome-shell[152414]:    creating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/locale/de/
Feb 19 12:22:21 spitfire gnome-shell[152414]:    creating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/locale/de/LC_MESSAGES/
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/locale/de/LC_MESSAGES/GoogleEarthWallpaper.mo
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/prefs.js
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/README.md
Feb 19 12:22:21 spitfire gnome-shell[152414]:    creating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/schemas/
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.googleearthwallpaper.gschema.xml
Feb 19 12:22:21 spitfire gnome-shell[152414]:    creating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/ui/
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/ui/Settings4.ui
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/ui/Settings.ui
Feb 19 12:22:21 spitfire gnome-shell[152414]:   inflating: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/utils.js
Feb 19 12:22:21 spitfire gnome-shell[152414]:  extracting: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/metadata.json
Feb 19 12:22:21 spitfire gnome-shell[7711]: validate_icon()
Feb 19 12:22:21 spitfire gnome-shell[7711]: GEWallpaper extension: Icon set to : pin
Feb 19 12:22:21 spitfire gnome-shell[7711]: GEWallpaper extension: restoring previous state...
Feb 19 12:22:21 spitfire gnome-shell[7711]: GEWallpaper extension:  image: null/GoogleEarthWallpaper/5533_unnamed_road_el_gastor_c_diz_andaluc_a_spain_11687.jpg explanation: Unnamed Road, El Gastor, Cádiz, Andalucía, Spain, 11687
Feb 19 12:22:21 spitfire gnome-shell[7711]:  next refresh in: 2710 seconds
Feb 19 12:22:21 spitfire gnome-shell[7711]: GEWallpaper extension: next check in 2710 seconds @ local time 2022-02-19 01:07:31 PM

Output of gsettings list-schemas

➜  ~ gsettings list-schemas | grep extensions | sort
org.gnome.shell.extensions.apps-menu
org.gnome.shell.extensions.auto-move-windows
org.gnome.shell.extensions.native-window-placement
org.gnome.shell.extensions.screenshot-window-sizer
org.gnome.shell.extensions.user-theme
org.gnome.shell.extensions.window-list 

Output of journalctl when opening prefs UI

Feb 19 12:25:19 spitfire gjs[65574]: Cannot add an object of type GtkFileChooserNative to a widget of type GtkGrid
Feb 19 12:25:19 spitfire gjs[65574]: JS LOG: validate_icon()
Feb 19 12:25:19 spitfire gjs[65574]: JS LOG: set icon to: /home/crischan/.local/share/gnome-shell/extensions/[email protected]/icons/pin-symbolic.svg
Feb 19 12:25:19 spitfire gjs[65574]: JS LOG: Fetching https://api.github.com/repos/neffo/earth-view-wallpaper-gnome-extension/releases/tags/v13

V7 zh_CN.po

msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-10 21:42+1000\n"
"PO-Revision-Date: 2018-01-25 23:26+0800\n"
"Last-Translator: 金立龙 [email protected]\n"
"Language-Team: \n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.4\n"
"X-Poedit-Basepath: .\n"
"Plural-Forms: nplurals=1; plural=0;\n"

#: Settings.ui.h:1
msgid "Hide the indicator"
msgstr "隐藏指示器图标"

#: Settings.ui.h:2
msgid "Indicator brightness"
msgstr "指示器亮度"

#: Settings.ui.h:3
msgid "Indicator"
msgstr "指示器"

#: Settings.ui.h:4
msgid "Send a notification with explanation when a new image is downloaded."
msgstr "下载新的壁纸图片时显示详细说明"

#: Settings.ui.h:5
msgid "Notifications"
msgstr "通知"

#: Settings.ui.h:6
msgid "Use transient notifications (auto dismiss)"
msgstr "更换壁纸时显示通知(自动消失)"

#: Settings.ui.h:7
msgid "Refresh interval"
msgstr "刷新间隔"

#: Settings.ui.h:8
msgid "Change effective from next refresh"
msgstr "从下次刷新更改生效"

#: Settings.ui.h:9
msgid "Set background image"
msgstr "设置桌面壁纸"

#: Settings.ui.h:10
msgid "Set lock screen image"
msgstr "设置锁屏壁纸"

#: Settings.ui.h:11
msgid "Download folder:"
msgstr "保存下载壁纸的文件夹"

#: Settings.ui.h:12
msgid "Wallpaper pictures folder"
msgstr "壁纸图片文件夹"

#: Settings.ui.h:13
msgid "Delete previously downloaded wallpapers:"
msgstr "删除以前下载的壁纸:"

#: Settings.ui.h:14
msgid "Map Provider for external links"
msgstr "地图提供商的外部链接"

#: Settings.ui.h:15
msgid "Provider used to view wallpaper location and context"
msgstr "选择壁纸图片的地理位置和详情的地图提供商"

#: Settings.ui.h:16
msgid "Background"
msgstr "壁纸"

#: Settings.ui.h:17
msgid "Map View"
msgstr "壁纸地图"

#: Settings.ui.h:18
msgid ""
"<span size="small">This program comes with ABSOLUTELY NO WARRANTY.\n"
"See the <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
"">GNU General Public License, version 3 or later for details."
msgstr ""
"本程序不担保任何法律责任.\n"
"参考这个链接给出的详情 <a href="https://www.gnu.org/licenses/old-"
"licenses/gpl-2.0.html">GNU通用公共许可证,版本3或更高版本"

#: Settings.ui.h:20
msgid "https://github.com/neffo/earth-view-wallpaper-gnome-extension"
msgstr "https://github.com/neffo/earth-view-wallpaper-gnome-extension"

#: Settings.ui.h:21
msgid "Based on NASA APOD Wallpaper extension by Elia Argentieri"
msgstr "基于美国航空航天局APOD墙纸扩展由Elia Argentieri提供"

#: Settings.ui.h:22
msgid ""
"This GNOME shell extension sets your wallpaper to a random Google Earth "
"photo from a selection of curated locations."
msgstr ""
"谷歌地球精选壁纸扩展将您的壁纸设置为随机选择一个精选位置的谷歌地球照片。"

#: Settings.ui.h:23 extension.js:261 extension.js:412
msgid "Google Earth Wallpaper"
msgstr "谷歌地球精选壁纸"

#: Settings.ui.h:24
msgid "Maintained by Michael Carroll"
msgstr "由Michael Carroll维护"

#: Settings.ui.h:25
msgid "About"
msgstr "关于"

#: extension.js:229
msgid ""
msgstr "<没有刷新计划>"

#: extension.js:230
msgid "Show description"
msgstr "显示详情"

#: extension.js:231
msgid "External Link"
msgstr "外部链接"

#: extension.js:232
msgid "Set wallpaper"
msgstr "设置壁纸"

#: extension.js:233
msgid "Refresh Now"
msgstr "现在刷新"

#: extension.js:234
msgid "Settings"
msgstr "偏好设置"

#: extension.js:302 extension.js:335
msgid "View in "
msgstr "查看"

#: extension.js:358
msgid "Next refresh"
msgstr "下一次刷新"

#: extension.js:380
msgid "Fetching..."
msgstr "正在获取壁纸..."

#: extension.js:472
msgid "No wallpaper available"
msgstr "没有壁纸可用"

#: extension.js:473
msgid "Something went wrong..."
msgstr "好像出现了一点问题..."

#: prefs.js:21
msgid "5 minutes"
msgstr "5秒"

#: prefs.js:21
msgid "hourly"
msgstr "小时"

#: prefs.js:21
msgid "daily"
msgstr "天"

#: prefs.js:67
msgid "Please install WebKit2Gtk package to enable the map view."
msgstr "请安装WebKit2Gtk依赖包,才能查看壁纸在地图上的位置以及详情"

Usage of object.actor is deprecated for GEWallpaperIndicator

Dec 29 00:02:00 yoga systemd[820]: Started Virtual filesystem service - Media Transfer Protocol monitor.
Dec 29 00:02:00 yoga gnome-shell[885]: Usage of object.actor is deprecated for GEWallpaperIndicator
                                       get@resource:///org/gnome/shell/ui/environment.js:249:29
                                       _init@/home/yhvh/.local/share/gnome-shell/extensions/[email protected]/extension.js:190:9
                                       wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                       enable@/home/yhvh/.local/share/gnome-shell/extensions/[email protected]/extension.js:485:37
                                       _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:148:13
                                       loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:280:21
                                       _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:490:13
                                       collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                       _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:469:9
                                       _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:499:13
                                       _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:530:13
                                       init@resource:///org/gnome/shell/ui/extensionSystem.js:48:9
                                       _initializeUI@resource:///org/gnome/shell/ui/main.js:242:5
                                       start@resource:///org/gnome/shell/ui/main.js:138:5
                                       @<main>:1:31
Dec 29 00:02:00 yoga gnome-shell[885]: Usage of object.actor is deprecated for GEWallpaperIndicator
                                       get@resource:///org/gnome/shell/ui/environment.js:249:29
                                       _init@/home/yhvh/.local/share/gnome-shell/extensions/[email protected]/extension.js:201:9
                                       wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                       enable@/home/yhvh/.local/share/gnome-shell/extensions/[email protected]/extension.js:485:37
                                       _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:148:13
                                       loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:280:21
                                       _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:490:13
                                       collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                       _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:469:9
                                       _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:499:13
                                       _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:530:13
                                       init@resource:///org/gnome/shell/ui/extensionSystem.js:48:9
                                       _initializeUI@resource:///org/gnome/shell/ui/main.js:242:5
                                       start@resource:///org/gnome/shell/ui/main.js:138:5
                                       @<main>:1:31
Dec 29 00:02:00 yoga gnome-shell[885]: Usage of object.actor is deprecated for GEWallpaperIndicator
                                       get@resource:///org/gnome/shell/ui/environment.js:249:29
                                       _init@/home/yhvh/.local/share/gnome-shell/extensions/[email protected]/extension.js:235:9
                                       wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                       enable@/home/yhvh/.local/share/gnome-shell/extensions/[email protected]/extension.js:485:37
                                       _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:148:13
                                       loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:280:21
                                       _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:490:13
                                       collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                       _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:469:9
                                       _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:499:13
                                       _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:530:13
                                       init@resource:///org/gnome/shell/ui/extensionSystem.js:48:9
                                       _initializeUI@resource:///org/gnome/shell/ui/main.js:242:5
                                       start@resource:///org/gnome/shell/ui/main.js:138:5
                                       @<main>:1:31

Some suggestions to pot file

Hello

I am working on German translation again and I noticed some strings are not shown as translated. Please see my screenshot in which I have marked the words.

Additional I would suggest to change "5 m, 10 m, 30 m, …" to a more clearer Unit. For example "5 min".
Because the unit m in German is the shortcut for Meter.

With best wishes :-)

Using extension version 15.

Bildschirmfoto vom 2022-04-18 21-21-14 geaendert
Bildschirmfoto vom 2022-04-18 21-21-44 geaendert
Bildschirmfoto vom 2022-04-18 21-22-27 geaendert

"View in Google Maps" displays map for old picture

Nitpick: using the v5 version, when you refresh the image manually and then click on "View in Google Maps", it will show you the map that was displayed before you clicked refresh and not the map of the currently showing image.

Gnome41 support ?

would it be possible to update the extension so that it works with gnome 41 ?

Edit: Disable gnome verification of the version works perfectly, so I think it's just the case of updating metadata.json

gsettings set org.gnome.shell disable-extension-version-validation "true"

Add more languages

We currently support 4 languages, English, Dutch, German and Chinese (China) and I really appreciate the efforts of those who've submitted translations (to this and my other extension). I'm sure the users of this extension all around the world do too.

I'd like to extend a request to our bi-lingual users to submit their own translations, below is a quick run down on the process.

How to submit translations:

  1. Install poedit. For most users it's simply a matter of installing the poedit package.
  • For Ubuntu/Debian:
    apt-get install poedit

  • For Fedora:
    dnf install poedit

  1. Download the translations template file for the extension here or find it within your ~/.local/share/gnome-shell/extensions/[email protected]/locale/ folder.

  2. Open the template file in poedit and click on "Create New Translation" in the bottom of the window.

  3. Select the language you want to create a translation for. (For some languages with regional variants you might also want to select a region as well, e.g. Portugese.) [NOTE: I see some poedit warnings at this point, but you can probably ignore them.]

  4. Create a translation for each line, where possible try to keep them short. And don't translate literally if it doesn't make a lot of sense. (For example, in your language "wallpaper" might not ever be used to describe a desktop background.) If you aren't completely happy with your translation, make it as "Needs Work".

image

  1. When complete, save the .po file and compile it to a .mo file.

  2. Either:

  • attach both files to this thread below;

or,

  • create a fork of this extension - NOTE: this requires a fair bit of know-how, so I don't recommend it unless you want to spend a bit of time learning your way around Git and Github (or are already familiar)
  • save the .po and .mo file to this folder within the git repo: locale/[xx]/LC_MESSAGES/GoogleEarthWallpaper.[po/mo], or locale/[xx_XX]/LC_MESSAGES/GoogleEarthWallpaper.[po/mo] (if the translation includes is regional)
  • commit the changes and create a new pull request on this extension here

Error: Value is not a valid 64-bit integer

Hello,
Looks like a nice extension! Many thanks for the work.

I'm running Debian stretch 64bits with gnome 3.22.2, I just did a git clone, logout and login, when i click on "settings" I get this error.

Error: Value is not a valid 64-bit integer

Stack trace:
  _init/Gtk.Widget.prototype._init@resource:///org/gnome/gjs/modules/overrides/Gtk.js:107
  buildPrefsWidget@/home/sebas/.local/share/gnome-shell/extensions/[email protected]/prefs.js:61
  Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178
  Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:239
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178
  main@resource:///org/gnome/shell/extensionPrefs/main.js:377
  @<main>:1

Let me know if I can help debug that, I'm not a JS hacker.

Cheers,

Sébastien

Not work on Ubuntu18.04.03 LTS

system: Ubuntu 18.04.03 LTS
version: v9

After being installed and system reboot, it worked once. Nothing happened afterwards.

image

Show position of image as overlay

The google earth chrome plugin shows a globe with a pin at the position for the image.
That would be nice to have as an option.

Looks like:
Screenshot from 2019-11-02 19-10-06

[BUG] Can't enable/disable indicator without re-enabling the extension

Describe the bug
With this new update (version13), the toggle on settings to show/hide the indicator on bar seems to do nothing.

To Reproduce
Steps to reproduce the behavior:

  1. Enable extension (the indicator should be enabled by default , on the first time, after installing )
  2. Disable indicator ( it does nothing)
  3. Disable Extension and Re-enable it (indicator is gone because of step 2)
  4. Enable indicator (it does nothing as well)
  5. Repeat step 3 to get indicator enabled

Desktop (please complete the following information):

  • OS: Fedora Workstation 34
  • Extension Version: 13
  • GNOME Version: 40.4

Add "zh_CN" locale/translation

SOME DESCRIPTIVE TITLE.

Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER

This file is distributed under the same license as the PACKAGE package.

FIRST AUTHOR EMAIL@ADDRESS, YEAR.

msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-09-17 11:37+0200\n"
"PO-Revision-Date: 2018-01-23 22:33+0800\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.4\n"
"Last-Translator: 金立龙 [email protected]\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Language: zh_CN\n"

#: Settings.ui.h:1
msgid "Hide the indicator"
msgstr "隐藏指示器图标"

#: Settings.ui.h:2
msgid "Send a notification with explanation when a new image is downloaded."
msgstr "下载新的壁纸图片时显示详细说明"

#: Settings.ui.h:3
msgid "Notifications"
msgstr "通知"

#: Settings.ui.h:4
msgid "Use transient notifications (auto dismiss)"
msgstr "使用瞬时通知(自动消失)"

#: Settings.ui.h:5
msgid "Set background image"
msgstr "设置桌面壁纸"

#: Settings.ui.h:6
msgid "Set lock screen image"
msgstr "设置锁屏壁纸"

#: Settings.ui.h:7
msgid "Download folder:"
msgstr "保存下载壁纸的文件夹"

#: Settings.ui.h:8
msgid "Wallpaper pictures folder"
msgstr "壁纸图片文件夹"

#: Settings.ui.h:9
msgid "Delete previously downloaded wallpapers:"
msgstr "删除以前下载的壁纸:"

#: Settings.ui.h:10
msgid "Refresh interval"
msgstr "刷新时间间隔"

#: Settings.ui.h:11
msgid "Change effective from next refresh"
msgstr "从下次刷新更改生效"

#: Settings.ui.h:12
msgid "Map Provider for external links"
msgstr "地图提供商的外部链接"

#: Settings.ui.h:13
msgid "Provider used to view wallpaper location and context"
msgstr "选择壁纸图片的地理位置和详情的地图提供商"

#: Settings.ui.h:14 extension.js:205
msgid "Settings"
msgstr "偏好设置"

#: Settings.ui.h:15
msgid "Gnome shell extension version: "
msgstr "Gnome Shell版本"

#: Settings.ui.h:16
msgid ""
"Set your wallpaper to a random Google Earth photo from a selection of "
"curated locations."
msgstr "将您的壁纸设置为随机选择的策划位置的谷歌地球照片。"

#: Settings.ui.h:17
msgid "Maintained by Michael Carroll"
msgstr "由Michael Carroll维护"

#: Settings.ui.h:18
msgid "https://github.com/neffo/earth-view-wallpaper-gnome-extension"
msgstr "https://github.com/neffo/earth-view-wallpaper-gnome-extension"

#: Settings.ui.h:19
msgid "Based on NASA APOD Wallpaper extension by Elia Argentieri"
msgstr "基于美国航空航天局APOD墙纸扩展由Elia Argentieri提供"

#: Settings.ui.h:20
msgid ""
"<span size="small">This program comes with ABSOLUTELY NO WARRANTY.\n"
"See the <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
"">GNU General Public License, version 3 or later for details."
msgstr ""
"<span size="small">本程序不担保任何法律责任.\n"
"See the <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
"">GNU通用公共许可证,版本3或更高版本 获取详细信息."

#: Settings.ui.h:22
msgid "About"
msgstr "关于"

#: extension.js:200
msgid ""
msgstr "<没有刷新计划>"

#: extension.js:201
msgid "Show description"
msgstr "显示说明"

#: extension.js:202
msgid "External Link"
msgstr "外部链接"

#: extension.js:203
msgid "Set wallpaper"
msgstr "设置壁纸"

#: extension.js:204
msgid "Refresh Now"
msgstr "现在刷新"

#: extension.js:232 extension.js:383
msgid "Google Earth Wallpaper"
msgstr "谷歌地球精选壁纸"

#: extension.js:273 extension.js:306
msgid "View in "
msgstr "查看"

#: extension.js:329
msgid "Next refresh"
msgstr "下一次刷新"

#: extension.js:351
msgid "Fetching..."
msgstr "正在获取壁纸..."

#: extension.js:438
msgid "No wallpaper available"
msgstr "没有壁纸可用"

#: extension.js:439
msgid "Something went wrong..."
msgstr "好像出现了一点问题..."

#: prefs.js:15
msgid "5 minutes"
msgstr "5秒"

#: prefs.js:15
msgid "hourly"
msgstr "小时"

#: prefs.js:15
msgid "daily"
msgstr "天"

Can not install / can not enable

I can not install the extension using the gnome extensions site. After I click install on button changes to off. I tried to install it from git. Now I can see the extension and settings but still cannot enable it. I guess a dependency is needed but can not find what it is? By the way Bing extension is working just fine.

[BUG] System freeze after sequentrial changing background image.

Description
Current Gnome based systems freeze after changing background image more then 3-4 times sequentialy.

Steps to reproduce the behavior:

  1. Fresh install + update.
  2. Open background settings and change the background more than 4 times in a row.

Systems tested:

  • Ubuntu (22.04 LTS)
  • ZorinOS core (16.1)
  • RebornOS + Gnome (rolling release - current ver.)
  • Fedora (36)
  • Debian (11)

West and East are flipped in location reporting

image

E.g. this location should be reported as a western longitude rather than eastern.

Looks like a simple change is needed in utils.js, i.e.

function friendly_coordinates(lat, lon) {
return Math.abs(lat).toFixed(4)+(lat>0 ? 'N': 'S')+', '+Math.abs(lon).toFixed(4)+(lon>0 ? 'E': 'W');
}

SyntaxError: illegal character

Hi there great extension by the way!
Just to let you know that I installed it on centos 7.4, gnome 3.22
I run the this commit: aaed8e82d67a67071cea8c9a544de2afea69aafa

All is working fine except the "Settings" is not openning and I have the error show up:

SyntaxError: illegal character

Stack trace:
  Application<._getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:74
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178
  Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:89
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178
  Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:239
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178
  main@resource:///org/gnome/shell/extensionPrefs/main.js:377
  @<main>:1

I didn't have the issue with the version 1

option to set wallpaper size and adjustment

This is a fantastic extension. I have a dual monitor setup and I was wondering if there was a way to set a default wallpaper size, say like 3240x1080 and set the wallpaper adjustment to "wallpaper" as it is in the gnome tweaks utility. This would allow the downloaded wallpaper to fit the dual screen.

The metadata associated with some images is not processed correctly

As below, the image metadata is not being populated into the extension location description (except for latitude and longitude). For some images it is correctly loaded however, seems to be associated with the newer images in the dataset.

Possible that the attributes within the json vary depending on the region and this isn't being handled appropriately (some are ignored, some are assumed to always be there). V3 of the Google API appears to have changed the metadata format versus V2, at least for some files.

image

Extension code associated is below:

location = imagejson['region']+', '+imagejson['country']+' ('+imagejson['edition']+')'

JSON snip is below.

https://www.gstatic.com/prettyearth/assets/data/v3/5046.json

{
"id":"5046","lat":45.764096,"lng":-85.045447,"zoom":14,
"geocode":{
  "street_number":"2998",
  "route":"Waugoshance Point Road",
  "locality":"Carp Lake",
  "administrative_area_level_3":"Bliss",
  "administrative_area_level_2":"Emmet County",
  "administrative_area_level_1":"Michigan",
  "country":"United States",
  "postal_code":"49718"},
"attribution":"©2019 Cnes/Spot Image, Maxar Technologies, USDA Farm Service Agency","bounds":[45.749125,-85.079779,45.779063,-85.011115],
...
}

GNOME shell crashs after setting the wallpaper

Awesome extension - cant live without it :)

Yet, sometimes gnome shell crashs right in the moment I either manually or automatically set the wallpaper with your extension.

Ubuntu 17.10 - GNOME Shell 3.26.2
Installed from extension website

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.