Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

THEGOLDENPRO/kde-osu-fullscreen-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŸฃ koff

Temporary KDE osu! full screen fix.

koff_showcase.mp4

Warning

This script is only compatible with Wayland but may actually not be limited to the KDE desktop environment. Also systemd is required.

Note

The issue is now fixed so this script is no longer needed. It will now be archived. ๐Ÿ‘‹

โ“ What is this?

There's currently an issue with osu! lazer on KDE where the game will launch minimized in the corner despite it being set to full screen. (The issue can be discussed here: ppy/osu#26241)

A quick fix for this is to re-toggle full screen by taping f11 or ctrl + alt but well you see... I'm just too lazy... so I made a python script to do it for me.

๐ŸŸฃ Koff (aka "KDE osu full-screen fix") is a small python daemon that automatically full screens osu! for you on launch as a temporary fix for that issue.

๐Ÿ› ๏ธ Installation

Before installing the script you first must install dotool for you distribution. (NOT "xdotool", "dotool"!)

On arch it's available on the AUR:

yay -S dotool

Then you can clone the repo and install the daemon from source:

git clone https://github.com/THEGOLDENPRO/kde-osu-fullscreen-fix
cd kde-osu-fullscreen-fix
make
make install

Then start it with systemd:

systemctl --user enable koff
systemctl --user start koff

๐Ÿ”ฎ How to change defaults?

You may want to adjust the defaults like example, increase the default delay time of when f11 is pressed. You can do so by overriding the .service via systemd with environment variables like so:

systemctl --user edit koff

then edit that file with your environment variables like so:

[Service]
Environment="KOFF_DELAY=4"
Environment="KOFF_REPEAT_AMOUNT=3"
Environment="KOFF_POLLING_RATE=4"

then restart the daemon:

systemctl --user restart koff

About

๐ŸŸฃ Temporary KDE osu! full screen fix.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages