Skip to content

guoyunhe/unwallpaper

Repository files navigation

Icon

Unwallpaper

Download awesome photos from Unsplash as wallpaper.

Unwallpaper is a simple wallpaper downloader for GNU/Linux and Windows. Powered by Unsplash, it offers 180k high quality photos by 33k photographers. All photos are licensed under Creative Commons Zero. You can use them for any purpose, and they are totally free.

Imgur

More screenshots...

Features

Supported operating systems:

  • openSUSE
  • Fedora
  • CentOS
  • Ubuntu
  • Debian
  • Arch Linux (Experimental)
  • Windows

Supported desktop environment (set wallpaper function):

  • KDE
  • GNOME
  • Windows

Translations:

  • German
  • Finnish
  • French
  • Chinese (China)
  • Chinese (Hongkong)
  • Chinese (Taiwan)

Download & Install

openSUSE/Fedora/CentOS/Debian/Ubuntu/Arch Linux

Download

Windows

Download

Build

Linux

  • Qt Creator
  • Qt >= 5.3.0
  • Magick++

Build in Qt Creator should be easy, just like a normal Qt project. No additional configuration required.

To build in command line or packaging in build server:

lrelease-qt5 unwallpaper.pro
qmake-qt5 unwallpaper.pro
make

Installation:

make install
  • unwallpaper --> /usr/bin/unwallpaper
  • translations/.qm --> /usr/share/unwallpaper/translations/.qm
  • linux/unwallpaper.desktop --> /usr/share/applications/unwallpaper.desktop
  • linux/me.guoyunhe.unwallpaper.appdata.xml --> /usr/share/metadata/me.guoyunhe.unwallpaper.appdata.xml
  • icons/unwallpaper-.png --> /usr/share/icons/hicolor/x/apps/unwallpaper.png

Windows (32 bit)

  • Qt (MinGW) >= 5.3.0
  • Win32-OpenSSL 1.0.x (NOTE: 1.1.x or newer won't work with Qt)
  • NSIS (if you want to create a single file Windows installer)

Build as normal Qt project. It will generate a unwallpaper.exe. Move it to win folder in project root.

Copy following DLL files from C:\Qt\Qt5.8\MinGW\bin (your installation path may be different) to win:

  • libgcc_s_dw2-1.dll
  • libstdc++-6.dll
  • libwinpthread-1.dll
  • libEGL.dll
  • libGLESv2.dll
  • Qt5Core.dll
  • Qt5Gui.dll
  • Qt5Network.dll
  • Qt5Qml.dll
  • Qt5Quick.dll
  • Qt5Svg.dll
  • Qt5Widgets.dll

Copy following DLL files form C:\Win32-OpenSSL\bin (your installation path may be different) to win:

  • libeay32.dll
  • ssleay32.dll

That's all you have to do on Windows. Next steps you can do on Linux.

Compile translations with lrelease unwallpaper.pro command. Copy translations folder to win.

Switch to win folder. Use makensis unwallpaper.nsi to create a single executable installer. It is named as unwallpaper-win32.exe.

Copyright

Guo Yunhe 2017.

Under GNU General Public License version 3.

Use Qt for graphical user interface. Use Magick++ library to process images.

The photo in icon is made by photographer Henry Be, licensed under Creative Commons Zero.

The monitor in icon is created by Facebook.