Author Topic: Wbar black background  (Read 4809 times)

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 361
Re: Wbar black background
« Reply #30 on: October 07, 2012, 02:01:08 PM »
Again the black background....


Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Wbar black background
« Reply #31 on: October 08, 2012, 09:44:53 AM »
Output from
Code: [Select]
locate wbar.desktop
and output from
Code: [Select]
cat $HOME/.config/lxautostart/lxautostart.sh
Thanks...

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 361
Re: Wbar black background
« Reply #32 on: October 08, 2012, 12:19:00 PM »
Here is:

Code: [Select]
[luis@localhost ~]$ locate wbar.desktop
/etc/wbar.d/wbar.desktop
/home/luis/.config/autostart/wbar.desktop
/usr/share/applications/wbar.desktop
[luis@localhost ~]$

and

Code: [Select]
[luis@localhost ~]$ cat $HOME/.config/lxautostart/lxautostart.sh
#!/bin/bash
#
Encoding=UTF-8
#======================================
#LX-Autostart based on a idea by Paul Arnote [parnote]
#created by Daniel Meiß-Wilhelm [leiche]
#License GPL
#Website http://www.pclinuxos.com
#LX-Autostart is a simple way to start your favorite
#applications automaticly, when LXDE starts up.
#======================================
# (en)Add entries here to set up applications to automatically
# start whenever you start the desktop.
# (de)Fügen Sie hier ihre Anwendungen ein, die Sie automatisch
# starten wollen, wenn die Arbeitsfläche startet.
#======================================
# (en)Add your program in a new line. As sample:
# (de)Geben Sie ein Programm in einer neuen Zeile ein. Als Beispiel: 
###################################
# wbar -pos top --above-desk &           
###################################
# (en)Don't forget the ampersand (&) sign.
# You can activate or stop an application with a "#".
# (de)Vergessen Sie nicht das Und (&) Zeichen.
# Sie können Anwendungen starten oder deaktivieren mit "#".
#======================================
# (en) Wait 10 seconds before starts up.
# (de) 10 Sekunden warten bis zum starten.
sleep 3
#
#parcellite &
#gkrellm &
#xbindkeys &
cpufreq &
##############
sleep 10 # or higher #
##############
wbar &
[luis@localhost ~]$

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Wbar black background
« Reply #33 on: October 09, 2012, 10:28:06 AM »
Why you have in /home/luis/.config/autostart/ wbar.desktop?

This will firstly start, before your wallpaper is loaded.

Remove it from there, and wbar will correctly work (most of time)  ;)

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 361
Re: Wbar black background
« Reply #34 on: October 09, 2012, 02:45:54 PM »
Hi Daniel,

Quote
Why you have in /home/luis/.config/autostart/ wbar.desktop?

I don't know...

I deleted wbar.desktop but now wbar doesn't run.

I restored the file.

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2413
Re: Wbar black background
« Reply #35 on: October 10, 2012, 02:22:10 AM »
Ha!
Seems my thread is about the same...
http://www.pclinuxos.com/forum/index.php/topic,109823.0.html
I have no wbar.desktop file in my autostart subdirectory and wbar didn't started unless I did those changes.

Aleph, you could try the same as I did and delete the wbar.desktop file. After that logout-login and see if it works.

Now out of interest I copied the wbar.desktop to my autostart subdirectory and have the same dark field around the wbar panel. Wbar loaded two times - immediately and seven seconds after desktop appears. After that I deleted wbar.desktop and it loads normally without this dark field.

P.S. I noticed in Synaptic history that last updates included lxautostart.
« Last Edit: October 10, 2012, 02:30:58 AM by Vortеx »

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 361
Re: Wbar black background
« Reply #36 on: October 10, 2012, 09:11:14 AM »
Hi Vortex,

it doesn't work .

For my is diferent:

---> file /home/"me"/.config/autostart/lxautostart.desktop
line
Exec=/home/guest/.config/lxautostart/lxautostart.sh
Exec=/usr/bin/wbar

and

---> file /home/"me"/.config/lxautostart/lxautostart.sh
The permission of this file was "Execute - Nobody Anybody"
« Last Edit: October 10, 2012, 02:19:26 PM by Aleph »

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Wbar black background
« Reply #37 on: October 11, 2012, 11:37:19 AM »
I get scared ...
 

Reinstall wbar, and lxautostart, but before try
Code: [Select]
rm /home/"me"/.config/autostart/lxautostart.desktopand
Code: [Select]
/home/"me"/.config/lxautostart/lxautostart.sh
Change "me" in your current user name.

Hopeful it will solved your problem...

Daniel

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2413
Re: Wbar black background
« Reply #38 on: October 11, 2012, 11:53:00 AM »
Hi Leiche!

I'll try this out of interest in Monday, at my machine at workplace.
Tomorrow I am not there at work.

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 361
Re: Wbar black background
« Reply #39 on: October 11, 2012, 12:09:06 PM »
Hi Daniel,

Code: [Select]
rm /home/"me"/.config/autostart/lxautostart.desktop
This code deleted the file

and
Code: [Select]
/home/"me"/.config/lxautostart/lxautostart.sh
I get this error:

Code: [Select]
[luis@localhost ~]$ /home/luis/.config/lxautostart/lxautostart.sh
/home/luis/.config/lxautostart/lxautostart.sh: línea 34: cpufreq: no se encontró la orden

I reinstalled wbar, and lxautostart. I will wait for the results...
« Last Edit: October 11, 2012, 12:12:12 PM by Aleph »

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2413
Re: Wbar black background
« Reply #40 on: October 11, 2012, 12:13:05 PM »
Command "rm" means "remove".
Leiche thought you new it ;D

Better then remove in such cases is rename, I think.

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 361
Re: Wbar black background
« Reply #41 on: October 12, 2012, 02:22:23 PM »
One more time the black background...  :-\


Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Wbar black background
« Reply #42 on: October 12, 2012, 11:11:47 PM »
One more time the black background...  :-\




and again your lxautostart.sh
Code: [Select]
cat $HOME/.config/lxautostart/lxautostart.sh
You have some mistakes on your latest post, so i thought you to remove,
and reinstall.

See here
Hi Vortex,

it doesn't work .

For my is diferent:

---> file /home/"me"/.config/autostart/lxautostart.desktop
line
Exec=/home/guest/.config/lxautostart/lxautostart.sh
Exec=/usr/bin/wbar

and

---> file /home/"me"/.config/lxautostart/lxautostart.sh
The permission of this file was "Execute - Nobody Anybody"


the Exec line link to /usr/bin/wbar.
How can work then the autostart script?

To get back your current autostart script try

Code: [Select]
#!/bin/bash
#
Encoding=UTF-8
#======================================
#LX-Autostart based on a idea by Paul Arnote [parnote]
#created by Daniel Meiß-Wilhelm [leiche]
#License GPL
#Website http://www.pclinuxos.com
#LX-Autostart is a simple way to start your favorite
#applications automaticly, when LXDE starts up.
#======================================
# (en)Add entries here to set up applications to automatically
# start whenever you start the desktop.
# (de)Fügen Sie hier ihre Anwendungen ein, die Sie automatisch
# starten wollen, wenn die Arbeitsfläche startet.
#======================================
# (en)Add your program in a new line. As sample:
# (de)Geben Sie ein Programm in einer neuen Zeile ein. Als Beispiel: 
###################################
# wbar -pos top --above-desk &           
###################################
# (en)Don't forget the ampersand (&) sign.
# You can activate or stop an application with a "#".
# (de)Vergessen Sie nicht das Und (&) Zeichen.
# Sie können Anwendungen starten oder deaktivieren mit "#".
#======================================
# (en) Wait 10 seconds before starts up.
# (de) 10 Sekunden warten bis zum starten.
sleep 3
#
#parcellite &
#gkrellm &
#xbindkeys &
cpufreq &
##############
sleep 10 # or higher #
##############
wbar &

Source
http://www.pclinuxos.com/forum/index.php/topic,108547.msg937602.html#msg937602

Checks the permissions on lxautostart.sh...

And check you have not saved a desktop file under /etc/xdg/autostart nor
/home/YOU/.config/autostart.

If then wbar starting with black background, so
set the time to start wbar higher as 10

cpufreq &
##############
sleep 10 # or higher #
##############
wbar &

 
Good luck
Daniel
 

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 361
Re: Wbar black background
« Reply #43 on: October 15, 2012, 09:43:12 AM »
I Daniel,

I think the problem is solved, but I will wait a few days.

I did this:

- I changed  the file ---> file /home/"me"/.config/autostart/lxautostart.desktop
line Exec=/usr/bin/wbar for
Exec=/home/guest/.config/lxautostart/lxautostart.sh

- I changed the autostart scrprit adding
Code: [Select]
##############
sleep 10 # or higher #
##############
wbar &


I did this on my laptod and my netbook (he had the same problem)

Both are running well for two days but I'll wait a few days more...

Regards
« Last Edit: October 15, 2012, 09:44:58 AM by Aleph »

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2413
Re: Wbar black background
« Reply #44 on: October 16, 2012, 02:54:33 AM »
Exec=/home/guest/.config/lxautostart/lxautostart.sh

Unless your own account is named "guest" this line is pointing to a not existing place in your system so this shouldn't invoke lxautostart.sh
In this case if wbar is loaded then some another procedure is loading it at autostart. :-\