Advertising
- Stuff
- Sunday, October 9th, 2016 at 12:15:08am UTC
- <Anonaly> I made this script ->
- <Anonaly> #!/bin/sh
- <Anonaly> #Fix TV state when HDMI link is lost.
- <Anonaly> #By Mario Limonciello <email address hidden>
- <Anonaly> OUTPUT="HDMI-0"
- <Anonaly> BAD_MODE="1280x720"
- <Anonaly> GOOD_MODE="1920x1080"
- <Anonaly> for MODE in $BAD_MODE $GOOD_MODE; do
- <Anonaly> DISPLAY=:0 xrandr --output $OUTPUT --mode $MODE
- <Anonaly> sleep 2
- <Anonaly> done
- <Anonaly> created a Keyboard Shortcut in xfce-settings to run it,
- <Anonaly> so now when I go ctrl-alt-backspace, I can get into my session again
- <Anonaly> maybe I should make it super +alt-f7 ?
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.