Skip to content

u/Mikedebian

In this archive from Mar 2015 to Apr 2020

36
posts
89
comments
8
media
1.1k
score

Top posts

Top comments

Guide updated under step 3 to fix a bug.

I followed a guide I found on google, after having seen another person in here with a live background image.

I'll copy the guide and clean it up a bit to show how I did it.

Highlights in bold means that those are user specified settings and will need to be replaced by you to correctly mirror your setup.

First off, lets just get this out of the way. This was tested on the following computer.

  • Plasma 5.9.4
  • KDE Frameworks 5.32.0
  • Qt Version 5.7.1
  • Kernel 4.10.12-1
  • Opensuse Tumbleweed

Step 1


Before I tell you to enter a command, I'll explain it and tell you what you need to change. Now open up your favourite terminal (Konsole, yakuake, terminator, what-have-you).

This command will make the directoy needed in your $HOME, which is basically what "~" stands for. This means that other users on your systems will have to create their own setup for this. I am not telling you how to do this system wide, as this guide is per user setup.

Note: Replace the word template in the following command to reflect what you want your scheme to be called. For example, mine is just called blue.

mkdir -p  ~/.local/share/plasma/wallpapers/org.kde.template/contents/ui/

Step 2


Create this .desktop file which will contain the information needed for Plasma to activate your background.

Note: Replace the word template in the following command to reflect what you want your scheme to be called.

touch ~/.local/share/plasma/wallpapers/org.kde.template/metadata.desktop

Open this file using your favourite text editor (nano, kate, what-have-you), and insert these lines:

Note: Replace the words template in the following command to reflect what you named your scheme earlier.

[Desktop Entry]
Encoding=UTF-8
Name=template
Name[x-test]=xxtemplatexx

Type=Service
ServiceTypes=Plasma/DeclarativeWallpaper
Icon=preferences-desktop-wallpaper
X-Plasma-MainScript=ui/main.qml
X-KDE-PluginInfo-Name=org.kde.template
X-KDE-PluginInfo-EnabledByDefault=true

Triple check that it's correct and consistent with the name you chose earlier, having replaced the words template


Step 3


Create the second file:

 touch ~/.local/share/plasma/wallpapers/org.kde.template/contents/ui/main.qml

Open this file using your favourite text editor (nano, kate, what-have-you), and insert these lines:

This section has been edited to fix the looping issue as stated by /u/jdblaich . Thanks man!

Note: Replace the sentence /home/user/Video/template.mp4 in the following command to reflect what you wanted it to be. For example, my videofile is named blue.mp4, and is placed under a secondary mount.

import QtQuick 2.0
import QtMultimedia 5.0

Item {
    MediaPlayer {
        id: mediaplayer
        autoPlay: true
        loops: mediaplayer.infinite
        source: "/home/user/Video/template.mp4"
    }

    VideoOutput {
        fillMode: VideoOutput.PreserveAspectCrop
        anchors.fill: parent
        source: mediaplayer
    }
}

Step 4


Find your favourite looping youtube (or whatever) video you like, according to your resolution. For example, if your resolution is 1080p, get a 1080p video.

There are many tools you can use to download a clip, and one of my favourites are Clipgrab, which I wrote about here

Download the video file of your choice and save it as whatever you named it in your settings above, including the right location (Remember, it's CaSe SeNsItIvE)


Step 5


Unlock your desktop by right clicking on it, select "Configure desktop..."

Under layout, select your new scheme, and press ok.

Note, you may have to logout/reboot, for it to function correctly (the fastest way.)

Any problems?

58 points

Taking a screenshot from TTY is harder than expected, so I SSH'd into my own machine and took a screenshot from TTY in the SSH session (way easier)!

I'm using Textmode WINdow environment , aka twin.

Link here

There's also a util package here.

Note: It supports mouse using gpm.

Edit:

File manager = Midnight Commander (mc) , 2 pane file manager.

System information = Screenfetch

Music Player = MoC , best player there is.

Web Browser = Links

Audio Software = Alsamixer

MS-Dos 6.22 running under dosemu2 in console mode.

24 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.