shellac-linux / tasks

Issues currently being worked on
MIT License
1 stars 0 forks source link

TV mode switcher #1

Open strycore opened 7 years ago

strycore commented 7 years ago

As someone using a TV as a 3rd monitor, I'm experiencing a lof of issues with this:

Techs used: xrandr, pulseaudio, twinview, nvidia-settings, xorg

strycore commented 7 years ago

Might be worth a look: https://github.com/mk-fg/python-pulse-control

strycore commented 7 years ago

I was thinking about a Gnome Shell extension for this one. There are already a few ones that manage displays such as this one: https://github.com/bodedejavu/gnome-shell-extensions

@ikeydoherty would this work for Budgie as well?

ikeydoherty commented 7 years ago

Budgie isn't compatible with GNOME Shell, it has a native C API/ABI.

shellkr commented 7 years ago

You should probably have a look at xset as it should be able to do what you want... if I understand the issue correct. At least when it comes to normal monitors. Not sure when it comes to TV's. I don't know how one would do this on Wayland though.

strycore commented 7 years ago

@ikeydoherty that kinda rules out the Javascript option (but the pulsectl python module already ruled it out before that and Pulseaudio doesn't have gi bindings). I got pretty much everything I need to use sorted out, now I have to put the pieces together.

@shellkr A few weeks back, I've looked at a bunch of tools that could detect if my TV was turned on or if it was in sleep mode and apparently, my TV doesn't support that feature (my main monitor does). I'll be using libgnomedesktop which is what the Gnome Control Panel uses for display configuration (+ some Pulseaudio stuff). Also, anything Wayland related is currently excluded from any Shellac related project. I consider Wayland to be experimental, incomplete and not ready for general use.