-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cage crashes with -r rotate the output 90 degrees clockwise #321
Comments
Indeed |
Hi - thanks for replying. Well, it seemed to me like a crash using it as a
service in a NixOS configuration - no output where provided to any
logging (e.g. journalctl) - I only found the "unexpected option" message
after installing Cage and running it manually.
However - I can't find any alternative other than using wlr-randr. How can
one use wlr output management as an option for Cage?
Am Mo., 11. März 2024 um 14:29 Uhr schrieb Jonathan GUILLOT <
***@***.***>:
… Indeed -r option has been removed from Cage as wlr output management
<https://wayland.app/protocols/wlr-output-management-unstable-v1>
protocol is now supported and allows more configurations e.g. you may apply
two different transform for two outputs. So, you have to use a tool which
know how to deal with this wlroots protocol such as kanshi or wlr-randr.
Apart from that, do you really observe a crash using -r option? Cage
should just return an expected error for an unknown argument.
—
Reply to this email directly, view it on GitHub
<#321 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIEL557HR4TZKEXNZMQAEXLYXWWVNAVCNFSM6AAAAABEOD5NJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBYGQ2DMNBZGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Ralph Eichelberger, Ing.
6645 Vorderhornbach 122
Mobil: +43 677 620 321 85
|
I don't know how NixOS work but when using |
OK - works for me. However, I need to get rid of the title bar of my
application - it should just run in fullscreen without any title bar and
buttons - what can I do to accomplish that?
Am Mo., 11. März 2024 um 15:20 Uhr schrieb Jonathan GUILLOT <
***@***.***>:
… However - I can't find any alternative other than using wlr-randr.
wlr-randr is an easy way to go for your purpose. Keep it like this.
no output where provided to any logging
I don't know how NixOS work but when using -r option, Cage exits with
error 1 and print some details in standard output.
—
Reply to this email directly, view it on GitHub
<#321 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIEL55ZTWMQVPWIHXAC3IPDYXW4S3AVCNFSM6AAAAABEOD5NJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBYGU2TMOJVGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Ralph Eichelberger, Ing.
6645 Vorderhornbach 122
Mobil: +43 677 620 321 85
|
The |
Or your application may have a fullscreen option which can be passed as argument on the command line. |
cage version 0.1.5
there is no option -r ?? - not cool folks!
However, here is my solution for anyone who relies on changing the orientation of the screen:
services.cage = {
enable = true;
user = "kassa";
program = "${pkgs.writeScriptBin "start-cage-app" ''
#!/usr/bin/env bash
wlr-randr --output HDMI-A-1 --transform 90 # Adjust command as needed
exec ${(pkgs.chromium).outPath}/bin/chromium
''}/bin/start-cage-app";
};
The text was updated successfully, but these errors were encountered: