You are not logged in.
Hello,
I try to make a yuzu standalone service like retroarch-standalone service on AUR. I do not run any desktop manager (though, cinnamon package is installed because I had some problem with displaying yuzu window correctly without it).
I created a yuzu system user, his home is in /home/yuzu.
I created the file /home/yuzu/.xinitrc which is very similar to the retroarch-standalone one:
#!/bin/bash
# Disable all energy save features, and leave the monitor always on
xset s off # don't activate screensaver
xset -dpms # disable DPMS (Energy Star) features.
xset s noblank # don't blank the video device
# Hide mouse cursor
unclutter -display :0.0 -root &
# Clean old debug logs
# rm /home/yuzu/debug.log 2>&1 >&/dev/null
# Autostart Yuzu
exit_code=1
while [ "$exit_code" -ne "0" ]
do
/usr/bin/yuzu
exit_code=$?
done
if [ -x "/home/yuzu/.xinit_exit" ]
then
/home/yuzu/.xini_exit
fi
I created a /etc/systemd/system/yuzu-standalone.service file that contains:
[Unit]
Description=Systemd service and user to run Yuzu in stand-alone mode
After=systemd-user-sessions.service network.target sound.target
Conflicts=getty@tty1.service
[Service]
User=yuzu
Group=yuzu
PAMName=login
TTYPath=/dev/tty1
ExecStartPre=/usr/bin/sleep 2s
ExecStart=/usr/bin/xinit -- :0 -nolisten tcp vt1
Restart=always
StandardInput=tty
[Install]
WantedBy=multi-user.target
When I start my service, the Yuzu window shows up. So it is kind of working. But I would like to maximize the window to fullscreen and I don't know how to do it. For now, the window is in the middle of my 1080p compatible screen and there is black background all around it.
I read that wmctrl could help me with this but I don't know how to use it in my specific setup.
Can you help me please ?
Offline