maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Changing the default background folder (https://talk.maemo.org/showthread.php?t=40292)

jellotherat 2010-01-13 06:29

Changing the default background folder
 
Rather than leaving all of my background images and associated .desktop files in the Images folder, I would like to create a subfolder called Backgrounds and move them all there. But when I do, they no longer show up when I try to change the backgrounds. Sure, I know I can browse to the new folder and manually change each one, but they no longer show up as "Image sets". How can I tell it to check for .desktop files in the new folder?

codeMonkey 2010-01-13 08:08

Re: Changing the default background folder
 
I'm not sure, but searching the .images folder might be hardcoded.
If it is a workaround could be to leave the .desktop files there and modify the links in them to point somewhere else.
The current .desktop files have paths like so:
Code:

X-File1=/home/user/MyDocs/.images/digital_nature1_01.jpg
X-File2=/home/user/MyDocs/.images/digital_nature1_02.jpg
X-File3=/home/user/MyDocs/.images/digital_nature1_03.jpg
X-File4=/home/user/MyDocs/.images/digital_nature1_04.jpg


jellotherat 2010-01-13 18:55

Re: Changing the default background folder
 
Quote:

Originally Posted by codeMonkey (Post 467820)
I'm not sure, but searching the .images folder might be hardcoded.
If it is a workaround could be to leave the .desktop files there and modify the links in them to point somewhere else.

Great idea. It does help clean up when browsing with the file manager since the .desktop files are hidden, but they still show up when connected to my computer. I'll probably use that for now, but I'd still like to be able to move everything if someone knows how.

ThomasAH 2010-01-25 14:50

Re: Changing the default background folder
 
Thanks codeMonkey! I was looking for the same customization as jellotherat, but this is atleast a start. Still, it's far from ideal as you still need to edit every individual .desktop file.

So, seconding jellotherat's question, is there any known way of altering the default background folder? Will of course search for possible answers myself and post them here if found.

qwerty12 2010-01-25 15:18

Re: Changing the default background folder
 
Quote:

Originally Posted by ThomasAH (Post 493693)
So, seconding jellotherat's question, is there any known way of altering the default background folder? Will of course search for possible answers myself and post them here if found.

AFAIK, with PR 1.1's hildon-home, you can also put desktop files in /usr/share/backgrounds and, because /usr/share/backgrounds is not shared over USB, they won't show up when you connect the N900 to a computer.

pelago 2010-01-25 15:26

Re: Changing the default background folder
 
Looking in http://maemo.gitorious.org/fremantle...round.c#line58 and http://maemo.gitorious.org/fremantle...ound.c#line245 it looks like the two folders it looks in are indeed /usr/share/backgrounds and /home/user/MyDocs/.images and it would need someone to change the source and recompile to change that. I'm not sure if you'll be able to persuade Nokia to do that, but there's at least one community-compiled Hildon Desktop out there that might be more amenable to this kind of change.

jellotherat 2010-01-28 08:04

Re: Changing the default background folder
 
Quote:

Originally Posted by qwerty12 (Post 493737)
AFAIK, with PR 1.1's hildon-home, you can also put desktop files in /usr/share/backgrounds and, because /usr/share/backgrounds is not shared over USB, they won't show up when you connect the N900 to a computer.

That's exactly what I've been looking for. Now my images folder is nice and clean and I can't accidentally delete the images or .desktop files when connected to my computer. Thanks querty12.


All times are GMT. The time now is 03:47.

vBulletin® Version 3.8.8