Author Topic: Configure LX desktop #2 (Solved, finally!)  (Read 3888 times)

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Configure LX desktop #2
« Reply #30 on: December 21, 2011, 07:33:29 PM »
Show from console:
Code: [Select]
cat ~/.config/lxautostart/lxautostart.sh
=====
If at the end of this file there is no command like this:
Code: [Select]
conky &run from console command like this:
Code: [Select]
echo "conky &" >> ~/.config/lxautostart/lxautostart.shLogout and log into your account to LXDE.

+1  This will work even if there is no conky.desktop file. It's similar to the way I start conky on login to my Openbox desktops. I'm not finding a conky.desktop file on either desktop where it's installed and running.

You can also add it to startup using the LX-Autostart editor. Open it from the menu. Click the Advanced button.



Then click the Edit button.



Add the line conky & at the bottom.



Click OK.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Configure LX desktop #2
« Reply #31 on: December 21, 2011, 08:42:18 PM »
If you have a menu entry for conky, then conky.desktop exists. To verify ---     
Code: [Select]
locate conky.desktop     
This will give you the location of the conky.desktop file.     

Offline Ɗα√ϵς§

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5521
  • PCLinuxOS: A revolution in personal computing
Re: Configure LX desktop #2
« Reply #32 on: December 22, 2011, 03:34:24 AM »

Open your home folder in PCfman, and choose the menu setting to see hidden files. Click in .config, then lxautostart. There is a file in there, lxautostart.sh - right click on it, check the properties tab, and ensure that the file is executable.

 ;D
PCLinuxOS has no wealthy sponsors and can only survive with your donations! Don't wait it might be too late.

Running PCLOS on Athlon II/250 with 2Gb Ram using ASUS M2N68-AM Plus Mobo with Nvidia GF7600GT graphics, and Samsung NC10 Netbook

Offline cstrike77

  • Full Member
  • ***
  • Posts: 220
Re: Configure LX desktop #2
« Reply #33 on: December 22, 2011, 01:17:18 PM »
Output from
Code: [Select]
cat ~/.config/autostart/conky.desktopThanks


[jan@localhost ~]$ cat ~/.config/autostart/conky.desktop
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=conky
Comment=
Exec=/home/jan/.conkyrc
StartupNotify=false
Terminal=false
Hidden=false

Offline cstrike77

  • Full Member
  • ***
  • Posts: 220
Re: Configure LX desktop #2
« Reply #34 on: December 22, 2011, 01:33:37 PM »

Open your home folder in PCfman, and choose the menu setting to see hidden files. Click in .config, then lxautostart. There is a file in there, lxautostart.sh - right click on it, check the properties tab, and ensure that the file is executable.

 ;D

The minute I read your post, the light went on over my head. looked at it and it's not executable, so ticked it as, rebooted instead of just logging in/out and nope, didn't work... Really appreciate all the responses I've got on this problem..

TKS
« Last Edit: December 22, 2011, 01:56:55 PM by cstrike77 »

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Configure LX desktop #2
« Reply #35 on: December 22, 2011, 01:36:31 PM »
output from
conky
in terminal, please

Offline cstrike77

  • Full Member
  • ***
  • Posts: 220
Re: Configure LX desktop #2
« Reply #36 on: December 22, 2011, 01:54:05 PM »
output from
conky
in terminal, please


[jan@localhost ~]$ conky
Conky: desktop window (1000120) is subwindow of root window (102)
Conky: window type - normal
Conky: drawing to created window (0x1800001)
Conky: drawing to double buffer

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Configure LX desktop #2
« Reply #37 on: December 22, 2011, 01:58:12 PM »
output from
conky
in terminal, please


[jan@localhost ~]$ conky
Conky: desktop window (1000120) is subwindow of root window (102)
Conky: window type - normal
Conky: drawing to created window (0x1800001)
Conky: drawing to double buffer


conky is startet?

Offline cstrike77

  • Full Member
  • ***
  • Posts: 220
Re: Configure LX desktop #2
« Reply #38 on: December 22, 2011, 02:13:37 PM »
output from
conky
in terminal, please


[jan@localhost ~]$ conky
Conky: desktop window (1000120) is subwindow of root window (102)
Conky: window type - normal
Conky: drawing to created window (0x1800001)
Conky: drawing to double buffer


conky is startet?

I killed conky and restarted via terminal, if there was another way of doing it let me know and will do it..

TKS!

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Configure LX desktop #2
« Reply #39 on: December 22, 2011, 02:18:56 PM »
okay now we have a solution, remove conky.desktop file from ~/.config/autostart/
(you can use lxautostart for this)

and try, what djohnston here wrote
http://www.pclinuxos.com/forum/index.php/topic,100879.msg857992.html#msg857992

Good luck

Edit:

or... edit your desktop file
from
Exec=/home/jan/.conkyrc
in
Exec=/etc/conky/conkyrc

If a hidden conkyrc in your homedirectory?

EditII:
Exec=/home/jan/.conkyrc ???
Is it right, that will exec a *rc file?
« Last Edit: December 22, 2011, 02:36:01 PM by Leiche »

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Configure LX desktop #2
« Reply #40 on: December 22, 2011, 07:18:30 PM »
If you have a menu entry for conky, then conky.desktop exists. To verify ---     
Code: [Select]
locate conky.desktop     
This will give you the location of the conky.desktop file.     

Installed conky from Synaptic on both Openbox desktops. There's no conky.desktop file on either one.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Configure LX desktop #2
« Reply #41 on: December 23, 2011, 01:01:16 AM »
If you have a menu entry for conky, then conky.desktop exists. To verify ---     
Code: [Select]
locate conky.desktop     
This will give you the location of the conky.desktop file.     

Installed conky from Synaptic on both Openbox desktops. There's no conky.desktop file on either one.
     
 ??? ??? ??? That is decidedly odd, as with any install of conky a .desktop file should be created.  :-\ :-\     

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Configure LX desktop #2
« Reply #42 on: December 23, 2011, 10:20:08 AM »
If you have a menu entry for conky, then conky.desktop exists. To verify ---     
Code: [Select]
locate conky.desktop     
This will give you the location of the conky.desktop file.     

Installed conky from Synaptic on both Openbox desktops. There's no conky.desktop file on either one.
     
 ??? ??? ??? That is decidedly odd, as with any install of conky a .desktop file should be created.  :-\ :-\     

Don't know what to say. Been running two Openbox desktops a few months now with no conky.desktop file. Both desktops start conky display on the desktop at login.

[darrel@Duron ~]$ su -
Password:
[root@Duron ~]# updatedb
[root@Duron ~]# exit
[darrel@Duron ~]$ locate conky.desktop
[darrel@Duron ~]$

[root@PentiumIII ~]# updatedb
[root@PentiumIII ~]# exit
[darrel@PentiumIII ~]$ locate conky.desktop
[darrel@PentiumIII ~]$

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline cstrike77

  • Full Member
  • ***
  • Posts: 220
Re: Configure LX desktop #2
« Reply #43 on: December 23, 2011, 01:02:15 PM »
If you have a menu entry for conky, then conky.desktop exists. To verify ---    
Code: [Select]
locate conky.desktop    
This will give you the location of the conky.desktop file.    

Installed conky from Synaptic on both Openbox desktops. There's no conky.desktop file on either one.
   
 ??? ??? ??? That is decidedly odd, as with any install of conky a .desktop file should be created.  :-\ :-\    

I remember following the instructions posted for starting conky in LXDE, searched conky + lxde (or some such). Created a conky.desktop file and it took off, oh and added the three lines that's needed to run conky with lxde. There is no menu entry for conky on either drive. There may be one for KDE or GNOME, not sure as this thing won't run either..

EDIT:, because there is an autostart for both in the repos.

jan
« Last Edit: December 23, 2011, 01:03:51 PM by cstrike77 »

Offline cstrike77

  • Full Member
  • ***
  • Posts: 220
Re: Configure LX desktop #2
« Reply #44 on: December 23, 2011, 01:13:15 PM »
okay now we have a solution, remove conky.desktop file from ~/.config/autostart/
(you can use lxautostart for this)

and try, what djohnston here wrote
http://www.pclinuxos.com/forum/index.php/topic,100879.msg857992.html#msg857992

Good luck

Edit:

or... edit your desktop file
from
Exec=/home/jan/.conkyrc
in
Exec=/etc/conky/conkyrc

If a hidden conkyrc in your homedirectory?

EditII:
Exec=/home/jan/.conkyrc ???
Is it right, that will exec a *rc file?


Yes, there is a hidden .conkyrc in my home directory, there would have to be one if I'm starting conky from run

Ok, removed conky.desktop from .config/autostart, added conky & to lxautostart.desktop:

[Desktop Entry]
Name=LXDE Autostart
Comment=Automatically start listed applications when LXDE starts.
Exec=/home/jan/.config/lxautostart/lxautostart.sh
Icon=/usr/share/icons/lxautostart.png
conky &
Terminal=false
Type=Application
Categories=Configuration

No joy, won't start..

Dug around in .config/lxautostart, there's a file called lxauto, which has the following:


# (en) Wait 10 seconds before starts up.
# (de) 10 Sekunden warten bis zum starten.
sleep 10
#
#wbar &
#parcellite &
#gkrellm &
#xbindkeys &
#conky &

Still no joy...

I don't have parcellite installed, I think I might install it and see if it runs...

jan