screensaver settings  [Solved]

Message
Author
Huckleberry Finn

Re: screensaver settings

#11 Post by Huckleberry Finn »

Right click on Network icon => Edit your connection and check this.

If still not: "QSI" as in my signature and I'll post another one.
You do not have the required permissions to view the files attached to this post.

fishface
Posts: 45
Joined: Thu Sep 19, 2019 12:50 pm

Re: screensaver settings

#12 Post by fishface »

It is set as per the above screenshot.

Previous to the upgrade this laptop was running 19.4 KDE and everything worked as expected.

QSI

Code: Select all

System:    Kernel: 5.16.0-5mx-amd64 [5.16.14-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.16.0-5mx-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.2_ahs_x64 Wildflower April 9  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: LENOVO product: 20FB004JUS v: ThinkPad X1 Carbon 4th 
           serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: LENOVO model: 20FB004JUS v: SDK0J40705 WIN serial: <filter> UEFI-[Legacy]: LENOVO 
           v: N1FET67W (1.41 ) date: 01/16/2019 
Battery:   ID-1: BAT0 charge: 29.0 Wh (100.0%) condition: 29.0/52.3 Wh (55.5%) volts: 16.7 
           min: 15.2 model: LGC 00HW028 type: Li-poly serial: <filter> status: Full 
           Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M510 serial: <filter> 
           charge: 50% (should be ignored) rechargeable: yes status: N/A 
CPU:       Info: Dual Core model: Intel Core i5-6300U bits: 64 type: MT MCP arch: Skylake 
           family: 6 model-id: 4E (78) stepping: 3 microcode: F0 cache: L2: 3 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19999 
           Speed: 800 MHz min/max: 400/3000 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort mitigation: TSX disabled 
Graphics:  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915 v: kernel 
           bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300 
           Device-2: Lite-On Integrated Camera type: USB driver: uvcvideo bus-ID: 1-8:4 
           chip-ID: 04ca:705a class-ID: 0e02 
           Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.16.1 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 158 size: 309x173mm (12.2x6.8") 
           diag: 354mm (13.9") 
           OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 22.0.5 
           direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo driver: snd_hda_intel 
           v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403 
           Sound Server-1: ALSA v: k5.16.0-5mx-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel port: efa0 
           bus-ID: 00:1f.6 chip-ID: 8086:156f class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel modules: wl port: efa0 
           bus-ID: 04:00.0 chip-ID: 8086:24f3 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
           bus-ID: 1-7:3 chip-ID: 8087:0a2b class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 6 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2 
           sub-v: 100 hci-v: 4.2 rev: 100 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: slave accept 
           service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 704.51 GiB used: 37.62 GiB (5.3%) 
           ID-1: /dev/mmcblk0 maj-min: 179:0 model: GE4S5 size: 238.75 GiB block-size: 
           physical: 512 B logical: 512 B type: SSD serial: <filter> scheme: GPT 
           SMART Message: Unknown smartctl error. Unable to generate data. 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-2: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO Plus 500GB 
           size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: 2B2QEXM7 temp: 35.9 C scheme: MBR 
Partition: ID-1: / raw-size: 457.75 GiB size: 449.5 GiB (98.20%) used: 37.62 GiB (8.4%) fs: ext4 
           dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
Sensors:   System Temperatures: cpu: 38.0 C mobo: N/A 
           Fan Speeds (RPM): fan-1: 0 
Repos:     Packages: note: see --pkg apt: 2122 lib: 1095 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
           2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/teams.list 
           1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb http://linux.teamviewer.com/deb stable main
Info:      Processes: 290 Uptime: 20h 46m wakeups: 20 Memory: 7.19 GiB used: 2.29 GiB (31.9%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)

User avatar
LU344928
Posts: 301
Joined: Wed Nov 14, 2018 11:40 pm

Re: screensaver settings

#13 Post by LU344928 »

Xfce's screensaver's been known to cause problems on earlier versions. Can't remember exactly but it was probably Felix or Huck who advised uninstalling it in some cases.

I'd second the suggestion to try XScreensaver. Yes it does look a big dated. As Jamie, the one behind it, remarked: "XScreensaver was created back when dinosaurs roamed the earth." :grin:

But it does the job and I've found its screenlocking to be reliable.
MX-23 KDE | Devuan Daedalus 5.0 | Slackware 15

Huckleberry Finn

Re: screensaver settings

#14 Post by Huckleberry Finn »

Code: Select all

sudo tee /etc/pm/config.d/config <<!
HOOK_BLACKLIST="wireless"
SUSPEND_MODULES=”iwlwifi”
SUSPEND_MODULES=”wl”
!
Reboot.

If still not:

Code: Select all

sudo tee /etc/NetworkManager/conf.d/disable-random-mac.conf <<!
[device]
wifi.scan-rand-mac-address=no
!
Reboot.

fishface
Posts: 45
Joined: Thu Sep 19, 2019 12:50 pm

Re: screensaver settings

#15 Post by fishface »

In reality I can live without a screensaver, just a blank screen will do, I have installed xscreensaver just in case, nice to have options.

This issues was there from first install BTW, I did a clean install of MX21.2 Xfce and the first few time rebooting after the install the wifi did not auto-connect, the settings already mentioned were set. I rebooted again, and still the same. So, I thought no big deal, it will get fixed at some point, so used the laptop,some updates came in,I applied those updates and it seem to fix it, wifi auto-connected again.

But then it stopped working again, the only thing I have done with this clean install (pretty much bone stock) is to play with the power and screen settings, so wondering if this is related.

It has reliably stopped auto-connecting after rebooting now.

I ran the first of the above code block, rebooted twice and it didn't fix the issue, I then ran the second code block and initially it seemed to have fixed it, I rebooted with that config and it and the wifi auto-connected, but on the second reboot it back to not auto-connecting, it's like something might be getting over-written after the reboot?

I've just done 4 reboots back-to-back, twice it came up with the wifi connected, and twice it did not.

One thing, it's super quick to connect to the wifi, quickest I ever seen on any system ever, like almost instant.

Huckleberry Finn

Re: screensaver settings

#16 Post by Huckleberry Finn »

fishface wrote: Sun Sep 04, 2022 10:24 am...One thing, it's super quick to connect to the wifi, quickest I ever seen on any system ever, like almost instant...
So nice to hear that :)
fishface wrote: Sun Sep 04, 2022 10:24 am... something might be getting over-written after the reboot?..
Nope. These create config files for you at once and they stay there. You can see the contents:

Code: Select all

cat /etc/pm/config.d/config

Code: Select all

cat /etc/NetworkManager/conf.d/disable-random-mac.conf
In the meantime, the first one is just to "keep them awake" "after a suspend", therefore it won't do anything at first boot, hence :


... In your Router / Modem Settings:
  • Change wireless mode to b/g or g only (from b/g/n or "mixed" etc.) (Since some devices have problems with 802.11 "n" mode )
  • Change security to WPA2 only (from wpa/wpa2)
  • You can also select 2.4 GHz only (rather than mixed 2.4 and 5 GHz) if there's such an option..
  • You can also change "channel width" to 20 Mhz (from "auto" or "20/40" etc.)

You can also:

Code: Select all

echo "options iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=1" | sudo tee /etc/modprobe.d/iwlwifi.conf
Reboot.
Last edited by Huckleberry Finn on Sun Sep 04, 2022 2:13 pm, edited 1 time in total.

User avatar
LU344928
Posts: 301
Joined: Wed Nov 14, 2018 11:40 pm

Re: screensaver settings

#17 Post by LU344928 »

fishface wrote: Sun Sep 04, 2022 10:24 am In reality I can live without a screensaver, just a blank screen will do


XScreensaver can do that too.
MX-23 KDE | Devuan Daedalus 5.0 | Slackware 15

fishface
Posts: 45
Joined: Thu Sep 19, 2019 12:50 pm

Re: screensaver settings

#18 Post by fishface »

I have 3 Asus routers configured as a mesh network using wired ethernet for the backhaul to additional nodes.

Wireless mode is auto, WPA2 is set, for both 2.4GHz and 5Ghz, channel width is 20MHz for 2.4G and 20/40/80MHz for 5G, 160MHz is disable for 5GHz, DFS channel separation is disable as well as I live near an airport.

I have a busy home network, approx, 40 - 50 devices, IP cameras, kids with multiple streaming devices, ESXi servers, unRAID etc.

I have only connected this laptop to the 5GHz network, never had this is with 19.4 and KDE.

Huckleberry Finn

Re: screensaver settings

#19 Post by Huckleberry Finn »

fishface wrote: Sun Sep 04, 2022 2:22 pm...never had this is with 19.4 and KDE.
You can first try the echo command , if still not: can install the 5.10 (that was the default with 19.4 KDE) kernel (and 5.18 AHS at least to try, as it's the most recent one other than the 5.19 in other tabs) from MXPI - Popular Apps tab and try after booting with them (the 5.10 will be under "Advanced Options" in Grub after installation).

fishface
Posts: 45
Joined: Thu Sep 19, 2019 12:50 pm

Re: screensaver settings

#20 Post by fishface »

Ok, will do.

I was using the ahs version of 19.4/KDE, so I will try the 5.10 kernel.

I have discovered that if I close the lid on the laptop, say for 5 secs, when I re-open the lid ( it's set to suspend on lid close) the wifi is then disconnected, does this evyer time. Also the screen doesn't lock, and it hasn't suspended, maybe 5s is too quick for the suspend to kick-in, but I can see the displayed has turned off.

Post Reply

Return to “General”