ASUS ProArt portrait layout resets after screen sleep
assistant: Your intended layout is clear:
- **ASUS ProArt 27-inch:** primary display, **3840 × 2160**, **Portrait Left**, **200%**
- **Samsung 27-inch:** secondary display, **1920 × 1080**, landscape, **100%**
- Displays set to **Join**
This probably is **not simply GNOME failing to save the setting**. The stronger clue is that the ASUS loses both rotation and scaling after its power-saving wake cycle. It is likely temporarily disconnecting electrically, losing its EDID handshake, and reconnecting as though it were newly attached. GNOME/Mutter then chooses a fallback landscape configuration.
There are closely matching reports involving Ubuntu 26.04, GNOME Wayland, NVIDIA driver 595.71.05, and a primary DisplayPort monitor disconnecting or remodesetting during wake. Related users have also found that disabling the monitor’s deep-sleep feature prevents the behavior.
## 1. Update Ubuntu and NVIDIA first
Ubuntu 26.04 currently has a newer **595.84** NVIDIA package than the earlier 595.71.05 release, so update before building a workaround around an older driver.
Run:
```bash
sudo apt update
sudo apt full-upgrade
sudo reboot
```
After reboot:
```bash
uname -r
nvidia-smi --query-gpu=driver_version --format=csv,noheader
```
Do not manually install NVIDIA’s `.run` installer or randomly switch to the 610 branch yet. Stay with Ubuntu’s packaged recommendation unless testing shows otherwise.
## 2. Check the ASUS monitor’s own menu
Using the physical buttons or joystick on the ProArt, look for settings named something like:
- **DisplayPort Deep Sleep**
- **Deep Sleep**
- **Power Saving**
- **Eco Mode**
- **Auto Input Detection**
- **Auto Source Switching**
- **USB-C Power Saving**
The preferred test configuration is:
- Deep sleep: **Off**
- Aggressive power saving/Eco: **Off**
- Input source: select the actual input manually instead of Auto
- DisplayPort version: leave at its normal/default setting initially
The setting names vary by exact ProArt model. The goal is to stop …
user: is there a way I can rate limit this or somehow make it so I don't get flagged as a bandwidth hog on the network? for now I say N to cancel the upgrade until I decide if I want to go full bore.
Installing dependencies:
nvidia-firmware-595-595.84
Not upgrading yet due to phasing:
gdm3 gnome-text-editor python3-software-properties ubuntu-desktop-minimal ubuntu-standard
gir1.2-adw-1 libadwaita-1-0 software-properties-common ubuntu-kernel-accessories
gir1.2-gdm-1.0 libgdm1 ubuntu-desktop ubuntu-minimal
DOWNGRADING:
firefox
REMOVING:
linux-modules-nvidia-595-open-7.0.0-27-generic
Summary:
Upgrading: 90, Installing: 1, Downgrading: 1, Removing: 1, Not Upgrading: 13
30 standard LTS security updates
Download size: 1,824 MB
Space needed: 637 MB / 368 GB available
Continue? [Y/n] N
assistant: Yes. Canceling with **N** was safe; the upgrade did not proceed.
APT has a built-in bandwidth limiter. For a moderate cap of about **1 MB/s**—roughly **8 Mbps**—run:
```bash
sudo apt \
-o Acquire::http::Dl-Limit=1000 \
-o Acquire::https::Dl-Limit=1000 \
full-upgrade
```
APT interprets the value as **kilobytes per second**, and enabling the limit also prevents simultaneous downloads from multiple servers.
Useful limits:
```text
500 ≈ 0.5 MB/s ≈ 4 Mbps
1000 ≈ 1 MB/s ≈ 8 Mbps
1500 ≈ 1.5 MB/s ≈ 12 Mbps
2000 ≈ 2 MB/s ≈ 16 Mbps
```
For your **1,824 MB** download, I would choose **1000**. It should take roughly 30–40 minutes without dominating a decent connection.
## Download slowly now, install later
You can also download everything at the limited speed without installing it:
```bash
sudo apt \
-o Acquire::http::Dl-Limit=1000 \
-o Acquire::https::Dl-Limit=1000 \
--download-only \
full-upgrade
```
APT officially supports `--download-only`, which retrieves packages without unpacking or installing them.
Later, when convenient:
```bash
sudo apt full-upgrade
```
The already-downloaded packages should be used from APT’s cache, leaving little or no large download remaining.
## Make the limit permanent
To cap all future APT downloads at 1 MB/s:
```bash
sudo tee /etc/apt/apt.conf.d/80-bandwidth-limit >/dev/null <<'EOF'
Acquire::http::Dl-Limit "1000";
Acquire::https::Dl-Limit "1000";
EOF
```
Confirm it:
```bash
apt-config dump | grep -i dl-limit
```
Remove the permanent limit later with:
```bash
sudo rm /etc/apt/apt.conf.d/80-bandwidth-limit
```
Given that this transaction includes an NVIDIA firmware update, removes an old kernel-specific NVIDIA module, and downgrades Firefox, the best next move is to use the **download-only command at 1000 KB/s**, then inspect the transaction once more before installation.
user: ok, thanks, I'll try that, but I have another question, can we fix this opera sources. I'm seeing this when I sudo apt update:
Warning: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Notice: Missing Signed-By in the sources.list(5) entry for 'https://deb.opera.com/opera-stable'
The following package was automatically installed and is no longer required:
nvidia-firmware-595-595.71.05
Use 'sudo apt autoremove' to remove it.
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
libmagickcore-7.q16-10 imagemagick-7-common restic imagemagick
libavcodec-extra python3-pip-whl libavdevice62 ffmpeg libmagickwand-7.q16-10
libopenexr-3-1-30 libmagickcore-7.q16-10-extra gocryptfs libavcodec-extra62
libavfilter11 libavutil60 libswscale9 imagemagick-7.q16 python3-pip
libswresample6 python3-nltk libavformat62 libde265-0
assistant: Yes. You have the Opera repository defined twice, and at least one definition lacks the required signing-key reference. The cleanest fix is to back up both entries, remove them, and recreate one repository entry using Opera’s current official configuration. Opera specifies `/usr/share/keyrings/opera-browser.gpg` and a `signed-by=` repository entry.
Run this block:
```bash
backup_dir="/etc/apt/sources.list.d/opera-backup-$(date +%Y%m%d-%H%M%S)"
sudo mkdir -p "$backup_dir"
sudo cp -a \
/etc/apt/sources.list.d/opera-stable.list \
/etc/apt/sources.list.d/opera-stable.sources \
"$backup_dir"/
sudo rm -f \
/etc/apt/sources.list.d/opera-stable.list \
/etc/apt/sources.list.d/opera-stable.sources
```
Now install Opera’s current signing key:
```bash
wget -qO- https://deb.opera.com/archive.key \
| gpg --dearmor \
| sudo tee /usr/share/keyrings/opera-browser.gpg >/dev/null
```
Create one properly signed repository entry:
```bash
echo 'deb [signed-by=/usr/share/keyrings/opera-browser.gpg] https://deb.opera.com/opera-stable/ stable non-free' \
| sudo tee /etc/apt/sources.list.d/opera-stable.list >/dev/null
```
Then test it:
```bash
sudo apt update
```
The Opera warnings should disappear. You can confirm there is now only one Opera definition with:
```bash
grep -Rni --include='*.list' --include='*.sources' \
'deb.opera.com' /etc/apt/sources.list /etc/apt/sources.list.d/
```
The expected result is one line from:
```text
/etc/apt/sources.list.d/opera-stable.list
```
Opera’s published signing-key fingerprint is currently:
```text
6C86 BE21 4648 3766 80CA 957B 11EE 8C00 B693 A745
```
You can verify your installed key:
```bash
gpg --show-keys --fingerprint /usr/share/keyrings/opera-browser.gpg
```
That fingerprint matches Opera’s official repository instructions.
Regarding this message:
```text
nvidia-firmware-595-595.71.05 is no longer required
```
Since you canceled the upgrade that would install `595.84`, **do not run a blanket `sudo apt auto…
user: the downloads are in progress. I'm seeing an average of 587 kB/s
Maybe our setting of 1000 was too high?
assistant: A limit of `1000` means **APT may use up to about 1,000 kB/s**; it does not force it to reach that speed.
Your observed **587 kB/s is about 4.7 Mbps**, which is fairly modest on most networks. Whether that is too high depends on the connection:
- On a 100 Mbps network: about 5%
- On a 25 Mbps network: about 19%
- On a 10 Mbps network: nearly half
If you want to be extra conservative, use **400–500 kB/s** next time:
```bash
sudo apt \
-o Acquire::http::Dl-Limit=500 \
-o Acquire::https::Dl-Limit=500 \
--download-only full-upgrade
```
That caps it at roughly **4 Mbps**. For an even gentler limit:
```bash
-o Acquire::http::Dl-Limit=300 \
-o Acquire::https::Dl-Limit=300
```
That is roughly **2.4 Mbps**.
APT cannot normally change its limit while the command is running. If it is still showing only `Get:` download lines and has not begun unpacking or configuring packages, you can press:
```text
Ctrl+C
```
Then rerun it with `500` or `300`. Already downloaded package files should remain cached, so it generally will not start from zero. If it has begun saying `Unpacking`, `Setting up`, or `Processing triggers`, let it finish rather than interrupting it.
user: I did ctrl+c to stop it then I did this below, yet I still see the speed at 584 k/B/s:
sudo apt \
-o Acquire::http::Dl-Limit=222 \
-o Acquire::https::Dl-Limit=222 \
--download-only full-upgrade
assistant: That command is syntactically correct. A sustained **584 kB/s** means the `222` cap is probably not being enforced as expected—or APT’s displayed aggregate includes more than one transport. APT documents `Dl-Limit` in kilobytes per second, so one limited transport should settle near 222 kB/s, not 584.
First, let it run for about **30 seconds**. Brief bursts can exceed the target. If it stays near 584, stop it again while it is still only downloading:
```bash
Ctrl+C
```
## Confirm APT recognizes the settings
Run:
```bash
apt-config \
-o Acquire::http::Dl-Limit=222 \
-o Acquire::https::Dl-Limit=222 \
dump | grep -Ei 'Dl-Limit|Queue-Mode'
```
You should see both limits listed as `222`.
Then check which transport types your repositories actually use:
```bash
grep -RhsE '^[[:space:]]*(deb |URIs:)' \
/etc/apt/sources.list \
/etc/apt/sources.list.d/ 2>/dev/null
```
## Use a temporary configuration file instead
This removes any question about whether the command-line option is being carried through properly:
```bash
sudo tee /etc/apt/apt.conf.d/99-local-bandwidth-limit >/dev/null <<'EOF'
Acquire::Queue-Mode "access";
Acquire::http::Dl-Limit "222";
Acquire::https::Dl-Limit "222";
EOF
```
Confirm:
```bash
apt-config dump | grep -Ei 'Dl-Limit|Queue-Mode'
```
Then use `apt-get` directly:
```bash
sudo apt-get --download-only dist-upgrade
```
APT’s `full-upgrade` corresponds to `apt-get dist-upgrade`.
## Measure the real network speed
APT’s displayed figure may not perfectly represent current interface traffic. This command measures actual incoming traffic on your active network interface:
```bash
iface=$(ip route show default | awk '{print $5; exit}')
old=$(cat "/sys/class/net/$iface/statistics/rx_bytes")
while sleep 2; do
new=$(cat "/sys/class/net/$iface/statistics/rx_bytes")
awk -v bytes="$((new-old))" 'BEGIN {
printf "Actual receive rate: %.1f KiB/s\n", bytes / 2048
}'
old=$new
done
```
Press `Ctrl+C` to stop that measure…
user: adam@rogstrix:~$ iface=$(ip route show default | awk '{print $5; exit}')
old=$(cat "/sys/class/net/$iface/statistics/rx_bytes")
while sleep 2; do
new=$(cat "/sys/class/net/$iface/statistics/rx_bytes")
awk -v bytes="$((new-old))" 'BEGIN {
printf "Actual receive rate: %.1f KiB/s\n", bytes / 2048
}'
old=$new
done
Actual receive rate: 622.3 KiB/s
Actual receive rate: 614.7 KiB/s
Actual receive rate: 615.2 KiB/s
Actual receive rate: 613.0 KiB/s
Actual receive rate: 618.7 KiB/s
Actual receive rate: 616.9 KiB/s
Actual receive rate: 537.6 KiB/s
Actual receive rate: 621.6 KiB/s
Actual receive rate: 655.4 KiB/s
Actual receive rate: 614.7 KiB/s
Actual receive rate: 601.3 KiB/s
Actual receive rate: 613.1 KiB/s
Actual receive rate: 628.6 KiB/s
Actual receive rate: 614.7 KiB/s
Actual receive rate: 615.3 KiB/s
Actual receive rate: 615.8 KiB/s
Actual receive rate: 614.6 KiB/s
Actual receive rate: 614.7 KiB/s
Actual receive rate: 606.1 KiB/s
Actual receive rate: 627.8 KiB/s
Actual receive rate: 596.6 KiB/s
Actual receive rate: 622.1 KiB/s
Actual receive rate: 616.8 KiB/s
Actual receive rate: 612.0 KiB/s
Actual receive rate: 614.3 KiB/s
Actual receive rate: 616.3 KiB/s
Actual receive rate: 596.4 KiB/s
Actual receive rate: 635.4 KiB/s
Actual receive rate: 613.3 KiB/s
Actual receive rate: 583.3 KiB/s
Actual receive rate: 601.0 KiB/s
Actual receive rate: 508.7 KiB/s
Actual receive rate: 630.2 KiB/s
Actual receive rate: 634.8 KiB/s
Actual receive rate: 629.4 KiB/s
adam@rogstrix:~$ grep -RhsE '^[[:space:]]*(deb |URIs:)' \
/etc/apt/sources.list \
/etc/apt/sources.list.d/ 2>/dev/null
URIs: https://packages.mozilla.org/apt
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu resolute stable
URIs: http://us.archive.ubuntu.com/ubuntu/
URIs: http://security.ubuntu.com/ubuntu/
deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
URIs: https://deb.opera.com/opera-stable/
URIs: https://brave…
assistant: Your first measurement confirms that the original `222` APT limit was **not actually controlling total traffic**. The new `apt-get` output has not reached the download stage yet, so we do not know whether the persistent configuration changed the behavior.
APT documents `Dl-Limit` in kilobytes per second and says it normally disables simultaneous downloads from multiple servers. `Queue-Mode "access"` permits one connection per URI type. Your mixture of HTTP and HTTPS sources—and possibly multiple acquire workers—may be defeating the expected aggregate limit on this APT version.
## Apply a hard 1.8 Mbps limit before pressing Y
Open a second terminal and run:
```bash
iface=$(ip route show default | awk '{print $5; exit}')
sudo tc qdisc del dev "$iface" ingress 2>/dev/null || true
sudo tc qdisc add dev "$iface" handle ffff: ingress
sudo tc filter add dev "$iface" parent ffff: protocol all u32 \
match u32 0 0 \
police rate 1800kbit burst 100k drop flowid :1
```
That limits total incoming traffic on the active network interface to approximately:
```text
1.8 Mbps ≈ 225 kB/s ≈ 220 KiB/s
```
Linux’s `tc` ingress policer is designed to enforce a receiving-rate ceiling by dropping traffic above the configured rate, causing TCP downloads to slow accordingly.
Now answer **Y** to the current `apt-get` prompt. In another terminal, reuse your measurement loop. Expect some fluctuation, but it should generally remain around **200–250 KiB/s**, rather than 600.
Check that the rule is active:
```bash
sudo tc -s filter show dev "$iface" parent ffff:
```
## Remove the hard limit afterward
This limit affects **all incoming traffic on the laptop**, including browsing and streaming, until removed or until reboot:
```bash
sudo tc qdisc del dev "$iface" ingress
```
Remove the ineffective APT configuration afterward as well:
```bash
sudo rm /etc/apt/apt.conf.d/99-local-bandwidth-limit
```
One more thing: the Opera output still shows several repository definitions, but you…
user: regarding what I was asking about earlier with the ASUS Pro Art monitor and my secondary Samsung S3 Essential monitor. they are both 27 inch monitors. Am I missing something regarding what I see on the Gnome settings for a screensaver. are screen savers not used anymore these days? are my monitors designed to not need screen savers anymore?
Should I just leave the monitors on? the longest duration I see before sleeping is 15 minutes, I would think that Ubuntu would allow up to an hour or even more control over that
assistant: You are not missing anything. **GNOME’s standard interface only offers display blanking up to 15 minutes or Never**, even though the underlying setting supports any duration. People have complained about this limitation for years; longer values can be set through `gsettings` or dconf.
## Are traditional screensavers still needed?
Traditional animated screensavers were mainly designed to prevent permanent patterns from burning into old CRT displays. Modern LCD/LED monitors are much less susceptible, so desktops such as GNOME generally favor:
1. Dim the display.
2. Blank the display.
3. Put the monitor into low-power standby.
4. Optionally lock the session.
That saves more electricity than displaying flying pipes, photos, or animations. Modern LCD/LED monitors are less prone to burn-in, while OLED panels still need more deliberate protection against static content.
Your ProArt and Samsung Essential are probably conventional LCD/LED monitors unless the exact model specifically says **OLED**. In that case, you do not need an animated screensaver. A black screen or monitor standby is preferable.
## Should you leave them on?
I would not leave them actively illuminated around the clock. That consumes electricity and continues using the backlights. ASUS recommends using a black-screen power-saving mode or turning the monitor off when leaving the workstation for extended periods.
However, because your ProArt is losing its portrait/scaling configuration when it wakes, it is reasonable to use a **longer blanking interval as a temporary workaround**.
For your setup, I would choose **one hour**:
```bash
gsettings set org.gnome.desktop.session idle-delay 3600
```
Verify it:
```bash
gsettings get org.gnome.desktop.session idle-delay
```
Expected output:
```text
uint32 3600
```
Other useful values:
```bash
# 30 minutes
gsettings set org.gnome.desktop.session idle-delay 1800
# 2 hours
gsettings set org.gnome.desktop.session idle-delay 7200
# Never blank automatical…
user: Download complete and in download only mode
adam@rogstrix:~$ sudo tc qdisc del dev "$iface" ingress
[sudo: authenticate] Password:
RTNETLINK answers: No such device
adam@rogstrix:~$ sudo rm /etc/apt/apt.conf.d/99-local-bandwidth-limit
rm: cannot remove '/etc/apt/apt.conf.d/99-local-bandwidth-limit': No such file or directory
adam@rogstrix:~$ grep -RniE 'deb\.opera\.com' \
/etc/apt/sources.list \
/etc/apt/sources.list.d/ 2>/dev/null
/etc/apt/sources.list.d/opera-backup-20260724-074816/opera-stable.list:4:deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
/etc/apt/sources.list.d/opera-backup-20260724-074816/opera-stable.sources:2:URIs: https://deb.opera.com/opera-stable/
/etc/apt/sources.list.d/opera-stable.list:1:deb [signed-by=/usr/share/keyrings/opera-browser.gpg] https://deb.opera.com/opera-stable/ stable non-free
/etc/apt/sources.list.d/opera-stable.list.bak:4:deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
adam@rogstrix:~$ sudo tc -s filter show dev "$iface" parent ffff:
adam@rogstrix:~$
assistant: Everything is basically okay. Those messages are cleanup issues, not a failed download.
### 1. `$iface` was empty in the new shell
Shell variables do not carry into a different terminal or a later login. Rediscover the active network interface:
```bash
iface=$(ip route get 1.1.1.1 | awk '{
for (i=1; i<=NF; i++)
if ($i == "dev") {
print $(i+1)
exit
}
}')
echo "Active interface: $iface"
```
You should see something such as `wlp4s0`, `wlan0`, or `enp5s0`.
Now inspect and remove the temporary limiter:
```bash
sudo tc qdisc show dev "$iface"
sudo tc filter show dev "$iface" parent ffff: 2>/dev/null
sudo tc qdisc del dev "$iface" ingress 2>/dev/null || true
```
Confirm it is gone:
```bash
sudo tc filter show dev "$iface" parent ffff: 2>/dev/null
```
Blank output is expected after removal. The limiter also disappears automatically after a reboot.
### 2. The missing APT configuration file is not a problem
This:
```text
No such file or directory
```
simply means the file is already gone. Verify no APT download limit remains:
```bash
apt-config dump | grep -Ei 'Dl-Limit|Queue-Mode'
```
Ideally, there should be no `Dl-Limit` lines. A normal/default `Queue-Mode` entry would not itself impose a speed limit.
### 3. Your Opera repository now appears correctly configured
Your recursive `grep` found four entries, but three are backups:
- `opera-backup-.../opera-stable.list` — backup
- `opera-backup-.../opera-stable.sources` — backup
- `opera-stable.list.bak` — backup
- `opera-stable.list` — active repository
The active entry is the correct signed one:
```text
deb [signed-by=/usr/share/keyrings/opera-browser.gpg] https://deb.opera.com/opera-stable/ stable non-free
```
For cleanliness, move the backup files outside APT’s source directory:
```bash
sudo mkdir -p /root/apt-source-backups
sudo mv \
/etc/apt/sources.list.d/opera-backup-20260724-074816 \
/root/apt-source-backups/
sudo mv \
/etc/apt/sources.list.d/op…
Showing first 15 of 16 messages. View the full conversation at https://mcwai.org/ai-conversation/asus-proart-portrait-layout-resets-after-screen