The traditional DVD Screensaver, but for bash.
You have two options:
The resulting .jar file can be run with java -jar (filepath)
You can run this like a screensaver using tmux. To do so, add the following config to your ~/.tmux.conf file:
set-option -g lock-after-time 120 # duration before screensaver activates in seconds
set-option -g lock-command "java -jar /home/me/programms/Bash-DVD_Screensaver.jar" # replace this with your path
set-option -g visual-silence off
set-option -g silence-action
set-option -g visual-bell off
Update tmux by entering
tmux source ~/.tmux.conf
In a tmux window, your terminal will now activate this after your specified amount of seconds of inactivity.
Check your specific distributions' options for this. On Fedora, for example, you can configure your terminal via \
The program will automatically create a configuration file on its first launch. You can use it to adjust movement speed & direction, set the colors to bright or dark only and have the background of the DVD Icon colored instead of the font color.
Find the file at:
~/.config/bash-dvd-screensaver/config.properties
You now have the following options:
Movement Speed: The lower this number is, the faster the icon will move.
movementSpeed:48
Movement Direction: (x/y) -> x is the horizontal, y the vertical direction for each movement.
movementDirection:(2/1)
Color Background: true or false
colorBackground:false
Colorscheme: 0 = bright, 1 = dark, 2 = random
colorscheme:0
The screensaver will start automatically when executing the Java file. To stop the application and have your bash's text color reset, press enter.
DVD icon source: https://copypastatext.com/dvd-logo/