I am aware of how communities work; maybe I didn't have the Pi running when I posted my update?
The scripts are just placing the commands with arguments in executable (`chmod a+x *.sh`) files in `~/Desktop`.
portrait.sh:landscape.sh:There are other useful arguments also, like display off or on.
These files appear as icons on the desktop. Double-clicking them yields a dialog asking about executing them, opening them, etc. so you have to then click the "execute" button. So it's not one click, but it's quick.
My understanding is that one can make a `.desktop` file with sufficient configuration to place a command like this in the desktop menu itself. I haven't tried it yet, but that's a logical next step.
The scripts are just placing the commands with arguments in executable (`chmod a+x *.sh`) files in `~/Desktop`.
portrait.sh:
Code:
#!/bin/bashwlr-randr --output "DSI-1" --transform normalCode:
#!/bin/bashwlr-randr --output "DSI-1" --transform 270These files appear as icons on the desktop. Double-clicking them yields a dialog asking about executing them, opening them, etc. so you have to then click the "execute" button. So it's not one click, but it's quick.
My understanding is that one can make a `.desktop` file with sufficient configuration to place a command like this in the desktop menu itself. I haven't tried it yet, but that's a logical next step.
Statistics: Posted by mlepage — Sun Mar 02, 2025 4:49 pm