Author Topic: [SOLVED] LXDE desktop wallpaper  (Read 4001 times)

Offline parnote

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4453
  • The truth is out there ... PCLinuxOS!
Re: LXDE desktop wallpaper
« Reply #15 on: September 05, 2010, 11:11:00 AM »
I don't have a Desktop folder, all those icons you see there are folders or links in ~/.  Maybe there's a setting somewhere to set your "Desktop Folder", but I haven't seen one :(.

Really? I hadn't seen that. I wonder what would happen if you were to just recreate the /home/Desktop folder. I'm sure you'll have to log out an back in again, but that may be worth a try. Ok ... that was my thought too, and I see you posted an edit to your original post, indicating you had tried that already.

Oh, and thanks for your article on LXDE in this month's mag Parnote, I followed your help to get stuff autostarting - works a treat ;).

Thanks! I'm glad it helped.

Maybe Neal will weigh in on this topic soon. Neal ... any ideas?

parnote
PCLinuxOS Magazine Chief Editor

Linux Registered User #485009

In a world without walls, who needs Windows?

PCLinuxOS Wiki: Contribute tips/tricks/how-to's!

Offline melodie

  • Hero Member
  • *****
  • Posts: 5945
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: LXDE desktop wallpaper
« Reply #16 on: September 05, 2010, 11:48:38 AM »
EDIT2:

I even tried creating a ~/Desktop folder and rebooting to see if it would use that, but it didn't work.

What happens if you put a file .directory in /home/growbag/Desktop directory, with theses lines in it ? →

Quote
[Desktop Entry]
Encoding=UTF-8
Icon=user-desktop
Type=Directory


Once with and once without icons enabled ?

melodie at #lpic-fr on irc.freenode.net

Offline growbag

  • Full Member
  • ***
  • Posts: 90
[SOLVED] LXDE desktop wallpaper
« Reply #17 on: September 05, 2010, 12:06:10 PM »
Thanks for the suggestion Melodie, sadly it didn't work.....  but I found a config file named user-dirs.dirs in ~/.config/

I changed the line:

XDG_DESKTOP_DIR="$HOME/"

to:

XDG_DESKTOP_DIR="$HOME/Desktop"

...and it worked :D

Thanks for all the suggestions.
desktop - ASUS M4A79XTD Evo, PhenomII X2-550, 4gigs DDR3, nVidia GTX260.

laptop - Alienware m17x, i7, 6gigs DDR3, single MXM type IIIb ATI 4870.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: [SOLVED] LXDE desktop wallpaper
« Reply #18 on: September 05, 2010, 01:18:07 PM »
I got a bite to eat and dozed off. (Happens sometimes. ::)) But it looks like you got this sorted out. Good. :)

Offline melodie

  • Hero Member
  • *****
  • Posts: 5945
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: [SOLVED] LXDE desktop wallpaper
« Reply #19 on: September 05, 2010, 02:14:31 PM »
I changed the line:

XDG_DESKTOP_DIR="$HOME/"

to:

XDG_DESKTOP_DIR="$HOME/Desktop"

...and it worked :D

Thanks for all the suggestions.

[/quote]

And thanks for your feedback. I just learned something : this file belongs to xdg-user-dirs.
Extract of "apt-cache show":
Quote
Package: xdg-user-dirs
Section: System/Libraries
Installed Size: 99190
Packager:
Version: 0.12-1pclos2010

It provides several commands, among which "xdg-user-dirs-update". Well, it's incredible in fact, there are many commands provided by this package, just type "xdg" and without leaving a space, hit tab, you'll see them all. I wonder all what we can do with them ?

I will have the use of it now, in the Openbox Mini project. I'll try it at once.


« Last Edit: September 05, 2010, 02:33:40 PM by melodie »
melodie at #lpic-fr on irc.freenode.net

Offline growbag

  • Full Member
  • ***
  • Posts: 90
Re: [SOLVED] LXDE desktop wallpaper
« Reply #20 on: September 05, 2010, 02:55:29 PM »
Glad you got something out of my crazy efforts :)

Although when I ran it, I got this:

Code: [Select]
[me@localhost ~]$ xdg-settings get default-web-browser
xdg-settings: unknown desktop environment

Strange, but glad it fixed my problem  ::)
desktop - ASUS M4A79XTD Evo, PhenomII X2-550, 4gigs DDR3, nVidia GTX260.

laptop - Alienware m17x, i7, 6gigs DDR3, single MXM type IIIb ATI 4870.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5945
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: [SOLVED] LXDE desktop wallpaper
« Reply #21 on: September 05, 2010, 03:20:24 PM »
Code: [Select]
$ xdg-settings get default-web-browser
xdg-settings: unknown desktop environment

Same for me, but I guess we don't especially have the use for a command that is used only in the session ? That's what I read in "xdg-settings --manual".

For the results, I will tell you that soon.


melodie at #lpic-fr on irc.freenode.net