Author Topic: silver screen flicker on LXDE (SOLVED)  (Read 763 times)

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1472
  • In theory, theory=practice, in practice ???
silver screen flicker on LXDE (SOLVED)
« on: June 01, 2012, 02:13:50 PM »
@Leiche

Can you possibly resolve this for LXDE, everything I try
has failed.    It's a silver screen from Openbox default
that flickers several times during boot until the user
account wallpaper appears.   I know it's from Openbox
because I was able to get rid of it by adjusting Openbox
default screen color on another LXDE distro.   It's on my PCL  LXDE
and just won't turn plain black so it doesn't flicker several
times at start up.  

http://www.pclinuxos.com/forum/index.php/topic,104471.0.html

Would make the PCL  LXDE boot much smoother if you
could do so.

Many thanks,

FF
« Last Edit: June 02, 2012, 10:55:27 AM by Ferdes Fides »
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: silver screen flicker on LXDE
« Reply #1 on: June 01, 2012, 02:21:08 PM »
Try changing your boot theme (plymouth theme).     

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1472
  • In theory, theory=practice, in practice ???
Re: silver screen flicker on LXDE
« Reply #2 on: June 01, 2012, 02:31:57 PM »
Try changing your boot theme (plymouth theme).     

The silver screen will still flicker for a second if I did so
between boot up screens whichever ones they are.
Even before and after the login screen.   

I'm positive on this one the OpenBox default screen
color that starts need to be set to plain black the
instant OpenBox starts up.

regards,

FF
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: silver screen flicker on LXDE
« Reply #3 on: June 01, 2012, 02:48:53 PM »
The screen you see on boot up is your plymouth theme. It is not controlled by openbox.     

Openbox doesn't start until you login. The screen between the login screen and your desktop is not an openbox screen. It is provided by GDM. Is that the screen you are complaining of? If so, open lxdecc > System tab > GDM Settings (root password is needed) >>> Local tab > click the color block to the right of Background color (just under your list of themes. Change the color. Close GDM Settings.     

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1472
  • In theory, theory=practice, in practice ???
Re: silver screen flicker on LXDE
« Reply #4 on: June 01, 2012, 03:11:18 PM »
The screen you see on boot up is your plymouth theme. It is not controlled by openbox.     

Openbox doesn't start until you login. The screen between the login screen and your desktop is not an openbox screen. It is provided by GDM. Is that the screen you are complaining of? If so, open lxdecc > System tab > GDM Settings (root password is needed) >>> Local tab > click the color block to the right of Background color (just under your list of themes. Change the color. Close GDM Settings.     

I have done all of those.    I thought openbox started, then lxde started,
and so forth.   And I thought the default silver screen was from openbox.
If not,  I'm tech short again.   Anyway, if I can get this command to run
somewhere similar to an autostart  file in /etc/xdg the little screen flicker
disappears 100%.     But I cannot.

xsetroot -bg "#000000"

It's a minor problem not really a complaint but it does stop a silver flash
in my eyes from occuring several times during boot.    Where can we
successfully invoke this command to change color there to plain black.
It's a default Linux silver color screen then which appears between
when other screens are loading during initial boot  ?

Where can that above command be successfully run during boot  ?

I'm on a LiveCD right now, let me swith to LXDE 2011 here.

thanks for the response.

FF
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1472
  • In theory, theory=practice, in practice ???
Re: silver screen flicker on LXDE
« Reply #5 on: June 01, 2012, 03:30:37 PM »
One last thought about it.    If the silver flash between
boot and login screens is noticeable, that command will resolve
it.   Otherwise it's just a minor item.

If you have time see where that command could be placed.
Would make LXDE a little better.

Have a good one.

Patrick
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: silver screen flicker on LXDE
« Reply #6 on: June 01, 2012, 06:19:14 PM »
Be clear, please. Is this "silver flash" post login? Or is it during boot up? Post boot up but pre login? Exactly what do you mean by "the default silver screen?" If it is the default splash screen that shows between login and the desktop loading, it is the GDM splash screen and can be changed as I outlined above. If not, clarity of meaning is essential.     

Not everything is controlled by adding a script to your /etc.     

When you are using LXDE, openbox is being used as a DM, not a DE. In other words, it is a "back" to LXDE. It is loaded with LXDE.     

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1472
  • In theory, theory=practice, in practice ???
Re: silver screen flicker on LXDE
« Reply #7 on: June 01, 2012, 07:39:30 PM »
Be clear, please. Is this "silver flash" post login? Or is it during boot up? Post boot up but pre login? Exactly what do you mean by "the default silver screen?" If it is the default splash screen that shows between login and the desktop loading, it is the GDM splash screen and can be changed as I outlined above. If not, clarity of meaning is essential.     

Not everything is controlled by adding a script to your /etc.     

When you are using LXDE, openbox is being used as a DM, not a DE. In other words, it is a "back" to LXDE. It is loaded with LXDE.     

Code: [Select]
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.

# Set a background color
BG=""
if which hsetroot >/dev/null; then
    BG=hsetroot
else
    if which esetroot >/dev/null; then
BG=esetroot
    else
if which xsetroot >/dev/null; then
    BG=xsetroot
fi
    fi
fi
test -z $BG || $BG -solid "#000000"

The above script  is in /etc/xdg/openbox/autostart.sh on a Fedora LXDE spin.
I had some silver flashes on it before I copied this script to there to let
it run and now  it doesn't do that at any time, just smooth graphic changes throughout.
I mean from start of boot till running software from the LXDE menu.  Solid "#000000"
between changes.

Visually noticed the same visual silver flashes between graphic changes on our
PCLinuxOS LXDE so I tried the same script, reduced it to the xsetroot command,
as the xsetroot command was the only command installed. 

I can only say without stating incorrect tech terms that the silver flash occurs, yes,
during screen changes during boot, sometimes barely noticeable, other times when I reboot
for a half a second, which is noticeable.   GKRellm, when it autostarts in it's invisible theme
exhibits a very noticeable silver flash before it fully kicks it, then it's OK.

The splash screen and login screen appear OK, but, again, some flickering from that
silver color occurs between those screens.

I can only assume the "default silver screen" is from the kernel, xorg, or ? ? ?
as I don't really know if not from Openbox.  Bad terminology on my part.

Trying 100% not to confuse you if I call some boot process or whatever a wrong name.
The choice of splash, login screen, or GDM background color hasn't changed anything.

Best I can verbalize right now.

thanks for your response.

Patrick



ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: silver screen flicker on LXDE
« Reply #8 on: June 02, 2012, 02:00:03 AM »
So you installed a script from another distro? :-\  ::) You do realize that is not advised, don't you? Installing from outside renders your system officially unsupported.     
Are you in the habit of installing from outside?     

Before using xsetroot, did you consult its manpage? Or at least its help?     
Quote
[neal@thecoffeeshop ~]$ xsetroot --help
usage: xsetroot [options]
  where options are:
  -display <display>   or   -d <display>
  -fg <color>   or   -foreground <color>
  -bg <color>   or   -background <color>
  -rv   or   -reverse
  -help
  -def   or   -default
  -name <string>
  -cursor <cursor file> <mask file>
  -cursor_name <cursor-font name>
  -xcf <ARGB cursor file> <cursor size>
  -solid <color>
  -gray   or   -grey
  -bitmap <filename>
  -mod <x> <y>
[neal@thecoffeeshop ~]$
     
Any road, as far as I can tell your "screen flicker" seems local. It does not happen here.     

Note: You should not treat LXDE as though it were an "openbox-desktop." It isn't. The fact that it uses openbox as a DM is indicative of only one thing; i.e. that it uses a desktop manager (all DEs do that), and that that DM is openbox. When you start setting up openbox as though you were using it as a desktop, you set yourself on the path to problems. In other words, making modifications to your DM is not a good idea.     

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1472
  • In theory, theory=practice, in practice ???
Re: silver screen flicker on LXDE
« Reply #9 on: June 02, 2012, 10:47:23 AM »
Any road, as far as I can tell your "screen flicker" seems local. It does not happen here.     

Note: You should not treat LXDE as though it were an "openbox-desktop." It isn't. The fact that it uses openbox as a DM is indicative of only one thing; i.e. that it uses a desktop manager (all DEs do that), and that that DM is openbox. When you start setting up openbox as though you were using it as a desktop, you set yourself on the path to problems. In other words, making modifications to your DM is not a good idea.     

Hi Neal,

The script was tried on a test flash drive PCL-LXDE not my main system.   Read xsetroot as well.
It's commented out.   If we can't change that properly called "environment variable" on
PCL LXDE so be it.   

Respectfully,

Patrick
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE