Giter Site home page Giter Site logo

aerial-sddm-theme's Introduction

Aerial theme for SDDM

SDDM theme with Apple TV Aerial videos

Videos are played randomly and diferent playlists are used based on time of day (only day and night diferenciation, night between 5pm - 5am) its possible to tweak to have more time diferentiation, the one used is provided with the videos.

Dependencies

It is necessary to have the Phonon GStreamer backend for qt5, GStreamer ffmpeg Plugin and GStreamer Plugins Good

  • For Arch linux : pacman -S gst-libav phonon-qt5-gstreamer gst-plugins-good qt5-quickcontrols qt5-graphicaleffects qt5-multimedia

  • For Gentoo : these settings allowed me to make the theme work

    • media-libs/gst-plugins-good
    • USE="alsa gstreamer qml widgets" dev-qt/qtmultimedia
    • USE="widgets" dev-qt/qtquickcontrols
    • dev-qt/qtgraphicaleffects
    • USE="gstreamer" media-libs/phonon
    • media-plugins/gst-plugins-openh264 (optional for video)
    • media-plugins/gst-plugins-libde265 (optional for video)
  • For Kubuntu: apt install gstreamer1.0-libav phonon4qt5-backend-gstreamer gstreamer1.0-plugins-good qml-module-qtquick-controls qml-module-qtgraphicaleffects qml-module-qtmultimedia qt5-default

  • For Lubuntu 22.04: sudo apt-get install gstreamer1.0-libav qml-module-qtmultimedia libqt5multimedia5-plugins

  • For Debian 12 LXQt: sudo apt-get install gstreamer1.0-libav qml-module-qtmultimedia libqt5multimedia5-plugins

  • For Fedora 36 LXQt spin: sudo dnf install git qt5-qtgraphicaleffects qt5-qtquickcontrols gstreamer1-libav. Make sure setup RPM Fusion Repo first to get gstreamer1-libav package.

Havent tryed for other distros...

Installation

Simply clone the repository and copy it to /usr/share/sddm/themes/ like this:

git clone [email protected]:3ximus/aerial-sddm-theme.git
mv aerial-sddm-theme /usr/share/sddm/themes

Note that super user priviledges are needed to move files into that directory.

The theme can be tested by running sddm-greeter --test-mode --theme <path-to-this-repository>

Other notes

This theme streams the HD videos so a good internet connection is necessary. If there is no active connection or the video can't be played the background will fallback to the image background.jpg

If you wish to play local videos files just use the following command to generate the playlist-file (playlist_day.m3u or playlist_night.m3u) from a directory containing the videos:

find <path-to-your-directory> -maxdepth 1 -type f > <playlist-file>

If you would like to use the same videos but offline, simply download them using your shell, e.g. :

while read -r link; do
    wget "$link"
done < playlist_file

Changing settings in theme.conf.user

You can change a few settings in this file

  • day_time_start and day_time_end - set your day start/end time
  • background_img_day and background_img_night - default background day/night image
  • background_vid_day and background_vid_night - video playlists
  • displayFont - font
  • showLoginButton - if set to false will hide the login button
  • showClearPasswordButton - if set to false will hide the clear password button that appears when text is inputed
  • passwordLeftMargin and usernameLeftMargin - set margin between input boxes and labels, some fonts are messy and allows fixing of overlap
  • relativePositionX and relativePositionY - position the login text box and clock
  • showTopBar - if set to false will hide the wm/keyboard top bar

Example config (not the same as the screenshots):

[General]
background_vid_day=playlist_day.m3u
background_vid_night=playlist_night.m3u
displayFont="Misc Fixed"
showLoginButton=false
passwordLeftMargin=15
usernameLeftMargin=15
showTopBar=true

Preview

preview1 preview2 preview3

Using my custom theme.conf.user

custom

License

Theme is licensed under GPL.

aerial-sddm-theme's People

Contributors

3ximus avatar carlgo11 avatar cumpsd avatar galster-dev avatar glsubri avatar hat3ph avatar maxerbox avatar mihawk90 avatar stefanlobbenmeier avatar

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.