Re: [Mageia-dev] [Mageia-Dev]Default directory for wallpapers

2011-05-02 Thread Romain d'Alverny
On Sat, Apr 30, 2011 at 19:26, Ahmad Samir ahmadsamir3...@gmail.com wrote:
 As you can see it's a jumble, each DE has a
 different idea of where wallpapers should go; and it becomes more
 confusing when the same issue is re-discussed afresh in a whole new
 thread, saying the same things that were said in the old one :)

Is there a bug that states the problem? And can the problem be stated
in a single sentence, like Wallpapers are scattered/duplicated
around, because each DE has a different idea of where they should go?

Romain


Re: [Mageia-dev] [Mageia-Dev]Default directory for wallpapers

2011-04-30 Thread Maarten Vanraes
Op zaterdag 30 april 2011 00:32:02 schreef Donald Stewart:
 Currently, nearly all the artwork is stored in /usr/share/mga/* this
 is fine for everything apart from wallpapers as kde looks in
 /usr/share/wallpapers for its wallpapers.
 
 Either, all the wallpapers are moved from */mga/backgrounds to
 /usr/share/wallpapers, which would surely lead to issues with other
 desktops, kdm possibly gdm and others, kdebase4-workspace is patched
 to look in */mga/backgrounds which seems a little extreme, or symlinks
 are added between */mga/backgrounds -- /usr/share/wallpapers.
 
 What do people think?
 
 Donald schultz Stewart

perhaps adding a symlink in /usr/share/wallpapers/mga that points to 
/usr/share/mga/backgrounds would be sufficient


Re: [Mageia-dev] [Mageia-Dev]Default directory for wallpapers

2011-04-30 Thread Dexter Morgan
On Sat, Apr 30, 2011 at 12:32 AM, Donald Stewart
watersnowr...@gmail.com wrote:
 Currently, nearly all the artwork is stored in /usr/share/mga/* this
 is fine for everything apart from wallpapers as kde looks in
 /usr/share/wallpapers for its wallpapers.

 Either, all the wallpapers are moved from */mga/backgrounds to
 /usr/share/wallpapers, which would surely lead to issues with other
 desktops, kdm possibly gdm and others, kdebase4-workspace is patched
 to look in */mga/backgrounds which seems a little extreme, or symlinks
 are added between */mga/backgrounds -- /usr/share/wallpapers.

 What do people think?

 Donald schultz Stewart

the pb is that all the WM doesn't use the same folder by default :

KDE = /usr/share/wallpaper
GNome =  /usr/share/background

and so on


Re: [Mageia-dev] [Mageia-Dev]Default directory for wallpapers

2011-04-30 Thread Ahmad Samir
On 30 April 2011 00:32, Donald Stewart watersnowr...@gmail.com wrote:
 Currently, nearly all the artwork is stored in /usr/share/mga/* this
 is fine for everything apart from wallpapers as kde looks in
 /usr/share/wallpapers for its wallpapers.

 Either, all the wallpapers are moved from */mga/backgrounds to
 /usr/share/wallpapers, which would surely lead to issues with other
 desktops, kdm possibly gdm and others, kdebase4-workspace is patched
 to look in */mga/backgrounds which seems a little extreme, or symlinks
 are added between */mga/backgrounds -- /usr/share/wallpapers.

 What do people think?

 Donald schultz Stewart


First of all, no point reopening the discussion and abandoning the old
thread (which you posted to previously):
https://www.mageia.org/pipermail/mageia-dev/20110119/002240.html

From KDE's point of view, which is a bit warped, it probably won't
make any difference due to the specific dir layout KDE uses:
$ ls -R /usr/share/wallpapers/Horos/
/usr/share/wallpapers/Horos/:
contents/  metadata.desktop

/usr/share/wallpapers/Horos/contents:
images/  screenshot.png

/usr/share/wallpapers/Horos/contents/images:
1280x1024.png  1600x1200.png  1920x1080.png  1920x1200.png


So without finding a way to make this work for other DE's, symlinking
is moot IMHO.

You said:
kdebase4-workspace is patched to look in */mga/backgrounds

where is that patch? I grep'ed through all the -workspace package
patches and found nothing about this. Besides, why would KDE have look
in /usr/share/mga/backgrounds/ when it's just one file it can use,
/usr/share/mga/backgrounds/default.jpg which is a symlink to the best
resolution-fitting wallpaper depending on the user's monitor
resolution (XFdrake creates the symlink AFAIK); IIRC KDE plasma
default config in Mageia is set to use
/usr/share/mga/backgrounds/default.jpg as the default wallpaper.

-- 
Ahmad Samir


Re: [Mageia-dev] [Mageia-Dev]Default directory for wallpapers

2011-04-30 Thread Donald Stewart
On 30 April 2011 17:09, Ahmad Samir ahmadsamir3...@gmail.com wrote:
 On 30 April 2011 08:57, Dexter Morgan dmorga...@gmail.com wrote:
 On Sat, Apr 30, 2011 at 12:32 AM, Donald Stewart
 watersnowr...@gmail.com wrote:
 Currently, nearly all the artwork is stored in /usr/share/mga/* this
 is fine for everything apart from wallpapers as kde looks in
 /usr/share/wallpapers for its wallpapers.

 Either, all the wallpapers are moved from */mga/backgrounds to
 /usr/share/wallpapers, which would surely lead to issues with other
 desktops, kdm possibly gdm and others, kdebase4-workspace is patched
 to look in */mga/backgrounds which seems a little extreme, or symlinks
 are added between */mga/backgrounds -- /usr/share/wallpapers.

 What do people think?

 Donald schultz Stewart

 the pb is that all the WM doesn't use the same folder by default :

 KDE = /usr/share/wallpaper
 GNome =  /usr/share/background

 No, GNOME uses /usr/share/pixmaps/backgrounds/gnome, that's where the
 GNOME upstream wallpaper is:
 libgnome2:/usr/share/pixmaps/backgrounds/gnome/background-default.jpg

 /usr/share/backgrounds is used by gnome-screensaver (only).


 and so on




 --
 Ahmad Samir


Ahmad, kdebase4 is patched is the solution.
Yes it has a interesting layout of dirs, but as i recall, if you just
drop an image in /usr/share/wallpapers it shows up in the plasma
dialogue.

And even if it is set up to use default.jpg as default, it still
misses all of the other bg's in the folder and all of the extra
backgrounds.


Re: [Mageia-dev] [Mageia-Dev]Default directory for wallpapers

2011-04-30 Thread Ahmad Samir
On 30 April 2011 19:05, Donald Stewart watersnowr...@gmail.com wrote:

 Ahmad, kdebase4 is patched is the solution.

I see; the too many ','  in the sentence, confused me.

 Yes it has a interesting layout of dirs, but as i recall, if you just
 drop an image in /usr/share/wallpapers it shows up in the plasma
 dialogue.

 And even if it is set up to use default.jpg as default, it still
 misses all of the other bg's in the folder and all of the extra
 backgrounds.


Before deciding what should be patched and what shouldn't, a default
wallpapers location should be used (which was the whole goal of the
thread I linked above). As you can see it's a jumble, each DE has a
different idea of where wallpapers should go; and it becomes more
confusing when the same issue is re-discussed afresh in a whole new
thread, saying the same things that were said in the old one :)

-- 
Ahmad Samir