LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-20-2022, 04:34 PM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Rep: Reputation: 61
Angry Is there any possibility that my main monitors slow boot up time is causing my windows to all get moved to the secondary screen when waking?


To clarify:

If I have a bunch of active windows/programs up on my main screen (set to primary) and NOTHING on my second screen, if I put my computer to sleep, or my monitors go to sleep, when they wake back up all of my active Windows are pushed to my second screen.

I have a feeling this is because Linux is detecting that my main screen isn't on yet and it needs to draw the active windows somewhere, so it pushes them onto the second screen which turns on a lot faster.

Is there any validity to this theory?

I thought this issue was related to X11, so I switched from Mint to Fedora 35 where Wayland is available. Wayland is nice in the sense that I can get the full 200hz from my main screen while my secondary 60hz screen is on but this active window wake from sleep issue is still present.

I dunno what to do this about this but I am very irritated by it.

Any suggestions?
 
Old 03-21-2022, 01:51 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,817
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Is your main/primary screen Xorg's default primary, or have you configured something to move primary attribution from the smaller screen to the larger screen? If the latter, how & where? If you used a DE tool, it may be being reapplied freshly during wakeup. If you make it the primary before your session starts, either via xrandr in a startup script, or via *.conf in /etc/X11/, you may find your windows staying on the larger screen.
 
1 members found this post helpful.
Old 03-21-2022, 08:15 AM   #3
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by mrmazda View Post
Is your main/primary screen Xorg's default primary, or have you configured something to move primary attribution from the smaller screen to the larger screen? If the latter, how & where? If you used a DE tool, it may be being reapplied freshly during wakeup. If you make it the primary before your session starts, either via xrandr in a startup script, or via *.conf in /etc/X11/, you may find your windows staying on the larger screen.
Where would I go on my machine to see all of that? Still Fedora 35 here. I'm pretty confident it's using Wayland but I do still have an /etc/X11 directory with some stuff in it.

I really appreciate you responding!
 
Old 03-23-2022, 12:47 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,817
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
This has happened here. I can't currently remember all the thoughts that had been collected and written here. What follows is some that I can.

Code:
inxi -SGayz
I/O posted here would provide us a summary of you current situation, including DE, and whether Xorg or Wayland, at the time it is run.

Most DEs I believe have some GUI tool for managing settings for local displays, among which, which display is primary, typically among others named "desktop settings" or "system settings" or similar. There's also a standalone GUI tool for this purpose named arandr. Settings saved by these methods normally aren't applied until after login succeeds for the user who saved them, though those created by arandr should be convertible to global use.

Global settings usually involve /etc/X11/xorg.con* and/or script(s) that manipulate settings using xrandr or other tools for managing display behavior. These take effect prior to user login, which makes them more fundamental than user saved settings, possibly to the extent that having windows jump to a different display when a wakeup even occurs might be avoided.

/etc/X11/xorg.con* and xrandr I'm familiar with. Whether or to what extent they might be employed by Wayland users I have no idea, as I have yet to attempt to use Wayland purposely in any way, shape or form.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Will installing Linux Mint to secondary HDD modify the main SSD at all or cause any issues with GRUB? pinguino12 Linux - Newbie 10 08-31-2020 03:45 AM
[SOLVED] Is there any possibility to delete an user using uid?? ruben_shah_j Linux - Newbie 5 08-14-2018 03:07 PM
Is there any possibility to install Linux on a Casio Cassiopeia E-200? Crogge Linux - Mobile 1 11-29-2011 09:24 PM
is there any possibility to attack squid proxy server? kirukan Linux - Server 4 03-06-2009 08:52 AM
Is there any possibility to get the Pagenumber on which a program is running benders Programming 0 11-08-2002 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration