Re: MX-23 Rpi Respin -- Beta testing
- Jerry3904
- Administrator
- Posts: 23238
- Joined: Wed Jul 19, 2006 6:13 am
Re: MX-23 Rpi Respin -- Beta testing
About the flickering cursor: looking around the web, there are some suggestions that it is associated with the compositor. I don't know that area at all well, but will try to pursue it tomorrow.
EDIT: before a movie, I switched to compton and there is no flickering...but I still know nada about all this.
EDIT: before a movie, I switched to compton and there is no flickering...but I still know nada about all this.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
- Melber
- Developer
- Posts: 1322
- Joined: Tue Mar 23, 2021 4:19 pm
Re: MX-23 Rpi Respin -- Beta testing
Something like this?
Code: Select all
#!/bin/bash
# Simple Yad Frontend to set screen timeout
# This app was developed by MX Devs 2023 and released under GPLv3
# this script sets screen timeout value in seconds using xset for a given session.
# the parameter TIMEOUT is set in $(HOME)/.config/screen-timeout.conf
# version 231201
# yad settings
TITLE="Timeout Settings"
CLASS="mxpi-to"
ICONPATH="appointment-soon-symbolic"
# yad buttons
export BTN_CLOSE=$(gettext "Close") ; BTN_CLOSE+='!window-close'
export BTN_APPLY=$(gettext "Apply") ; BTN_APPLY+='!object-select'
# yad strings
TIMEOUT_TEXT1="Current timeout:"
TIMEOUT_TEXT2="minutes"
TIMEOUT_TEXT3="Select new timeout: "
TIMEOUT_VALUES="1!5!10!15!30!60!120"
DIALOG_TEXT="Modify screen timeout setting"
# check if conf file exists
if [ ! -f $HOME/.config/screen-timeout.conf ]; then
echo 'TIMEOUT=600' > $HOME/.config/screen-timeout.conf
fi
# function
set_timeout () {
source $HOME/.config/screen-timeout.conf
TIMEOUT_OLD=$(( $TIMEOUT / 60))
MAIN_YAD=$(yad \
--title="$TITLE" --class="$CLASS" --window-icon="$ICONPATH" \
--center --width=250 --height=250 --borders=10 \
--buttons-layout=spread --button="${BTN_CLOSE}":7 --button="${BTN_APPLY}":6 \
--form --separator='' --align=center \
--text-align=center --text="<b>$DIALOG_TEXT</b>\n" \
--field="$TIMEOUT_TEXT1 <b>$TIMEOUT_OLD</b> $TIMEOUT_TEXT2":LBL "" \
--field=" ":LBL "" \
--field="$TIMEOUT_TEXT3":CB "$TIMEOUT_OLD!$TIMEOUT_VALUES" \
)
ret=$?
case $ret in
7 | 252 )
ENDLOOP=getouttahere
;;
6 )
TIMEOUT_NEW=$(( $MAIN_YAD * 60 ))
if [ "$TIMEOUT_NEW" != "$TIMEOUT_OLD" ]; then
sed -i "s/$TIMEOUT/$TIMEOUT_NEW/" $HOME/.config/screen-timeout.conf
xset -dpms && xset s $TIMEOUT_NEW
fi
;;
esac
}
export -f set_timeout
# loop
until [ "$ENDLOOP" = "getouttahere" ]; do
set_timeout
done
exit
- dolphin_oracle
- Developer
- Posts: 22306
- Joined: Sun Dec 16, 2007 12:17 pm
Re: MX-23 Rpi Respin -- Beta testing
Does not the power manager settings app work? To control screen blanking I mean.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
- Jerry3904
- Administrator
- Posts: 23238
- Joined: Wed Jul 19, 2006 6:13 am
Re: MX-23 Rpi Respin -- Beta testing
Haven't had much luck there but will check again in the morning
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
- dolphin_oracle
- Developer
- Posts: 22306
- Joined: Sun Dec 16, 2007 12:17 pm
Re: MX-23 Rpi Respin -- Beta testing
might need to turn OFF the display blanking in raspi-config. experimenting now.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
- dolphin_oracle
- Developer
- Posts: 22306
- Joined: Sun Dec 16, 2007 12:17 pm
Re: MX-23 Rpi Respin -- Beta testing
yep, turning off the display blanking in raspi-config changes the /etc/X11/xorg.conf.d/10-screen-blanking file to set DPMS disabled to be reused at next login.
but that just allows the xfce power manager daemon to control the screen blanking per the Xfce gui settings. successfully set the screen blanking to 10 minutes (default), 3 minutes, and 30 minutes without issue.
right now I have the next image built with the X screen blanking set to disabled and the usual MXLiveLogo plymouth theme enabled.
but that just allows the xfce power manager daemon to control the screen blanking per the Xfce gui settings. successfully set the screen blanking to 10 minutes (default), 3 minutes, and 30 minutes without issue.
right now I have the next image built with the X screen blanking set to disabled and the usual MXLiveLogo plymouth theme enabled.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
- Jerry3904
- Administrator
- Posts: 23238
- Joined: Wed Jul 19, 2006 6:13 am
Re: MX-23 Rpi Respin -- Beta testing
Cool.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
- Jerry3904
- Administrator
- Posts: 23238
- Joined: Wed Jul 19, 2006 6:13 am
Re: MX-23 Rpi Respin -- Beta testing
Thanks! Works on the Pi 5 no matter what the raspi-config setting is. But it looks like a log out/in resets xset to 600. Maybe a little session starup script that ran "xset s X" where X was the value your script had stored?
I personally find the Xfce4 Power dialog box unappealing for this simple task, so will be interested in testing it more carefully today.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
- dolphin_oracle
- Developer
- Posts: 22306
- Joined: Sun Dec 16, 2007 12:17 pm
Re: MX-23 Rpi Respin -- Beta testing
Further testing reveals that all the radio-config switch does is turn off or reset X defaults.
And doesn’t seem to matter if on or off screen blanking times set by xfce are honored.
And doesn’t seem to matter if on or off screen blanking times set by xfce are honored.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
- Jerry3904
- Administrator
- Posts: 23238
- Joined: Wed Jul 19, 2006 6:13 am
Re: MX-23 Rpi Respin -- Beta testing
Yeah, it also persists across log out/in apparently b/c they are killing the dpms as well.
Is this the directions we want:
Is this the directions we want:
Click Menu > Power Manager, "DIsplay" tab. Confirm that "Display Power Manager" is set to on, then slide bottom 2 sliders to zero before adjusting top slider "Blank after" to number of minutes desired
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin