thor27 / steam-login

Put STEAM BigPicture mode at login screen
121 stars 30 forks source link

Dual screen #21

Closed alexandru-calinoiu closed 10 years ago

alexandru-calinoiu commented 10 years ago

Hi,

I have dual screen layout here, but steam-login only uses my laptop display, is there a way I have it run on my secondary screen?

Regards,

alexandru-calinoiu commented 10 years ago

Playing with xrandr, I've came up with this:

xrandr --output HDMI1 --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off --output DP1 --off --output eDP1 --off --output VGA1 --off

Steam will launch on my second screen but for some reason my laptop display will be still on (eDP1) and the games will start on it.

Any idea on how to off the second screen?

thor27 commented 10 years ago

I'm not with steam right now, but you should try:

1- See if inside bigpicture, on settings there is any way to change screen settings.

2- Do you have Unity/Gnome also installed on your system? If yes, it should respect the settings you made there. So just login to Unity/Gnome, configure your screen, log out, and login to steam login.

3- Edit the /usr/bin/steam-de script and add your xrandr there on top of the script, it may work.

alexandru-calinoiu commented 10 years ago

Hi @thor27

Thanks for the fast answer,

  1. There are no settings
  2. I did change it in unity but for some reason the screen becomes active when login in with steam login
  3. I did that this morning before opening the ticket, it opens steam on the secondary display and opens but opens the game on the laptop display for some reason.
alexandru-calinoiu commented 10 years ago

So I manage to make it work by removing this line:

which gnome-settings-daemon && gnome-settings-daemon &

and replacing it with the xrandr one

xrandr --output HDMI1 --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off --output DP1 --off --output eDP1 --off --output VGA1 --off

If I knew a little more bash I will send a pull request with a monitor selection feature, I see that xrandr can detect your monitor and you can use ARandR as a GUI for it to select the right screen config and executed each time the script is launched.

Thanks for the great app,

thor27 commented 10 years ago

I think adding tools for configuring big picture mode is a bit out of scope, as those kind of issues may be fixed with Steam BigPicture itself.

It would be interesting, anyway, if we add a configuration file, just for those settings not available yet.

alexandru-calinoiu commented 10 years ago

You might be right, I know that steam big on Windows has settings for selecting the display you want the game to show on, hopefully they will come to linux also.