Active Topics

 


Reply
Thread Tools
Posts: 2 | Thanked: 0 times | Joined on Dec 2009
#51
I noticed that if I download .desktop files on my N900 using its web browser, the corresponding image sets are not going to be listed in the change background menu.

But if I download them on my laptop and then send them over USB or BT, everything works.

The only difference between the files that I can find is that the N900's web browser encodes the .desktop files using UTF-8 (unicode text), while the firefox on my laptop uses ASCII text. (btw, the web server sends the files over as text/html)

On linux, you can check it using the 'file' command ('file blahblah.desktop'). Also, diff between the files will show an extra character at the beginning of the N900 file.

I think we may have two bugs here: one in the N900's web browser (encoding of the downloaded files) and the other in the change background utility (will not read utf-8 encoded files - it should be able to read them, right?)
 
Posts: 376 | Thanked: 78 times | Joined on Sep 2009
#52
When I download the 4 images and the desktop file to my N900 (from the N900 web browser and save all 5 files to the Images folder. Should that be it, will the N900 list the image set when I click "Change Background".

For some reason, when I have the above mentioned desktop file in the images folder along with all the correct images, I can click "Change Background" but then the list that should appear doesn't! Nothing happens at all!!

If I think go into the File Manager and delete the .desktop file, it works again, but obviously doesn't list the image set, I have to set each desktop manually, which is a pain!

Am I missing something or what?
Thanks for any help in advance.
 
Posts: 12 | Thanked: 4 times | Joined on Aug 2009 @ Finland
#53
Originally Posted by Dexter1759 View Post
For some reason, when I have the above mentioned desktop file in the images folder along with all the correct images, I can click "Change Background" but then the list that should appear doesn't! Nothing happens at all!!.
That is a known bug. See https://bugs.maemo.org/show_bug.cgi?id=6494

The following comments in the bug report from Jan Arne Petersen might help:

- The image files in the .desktop file need to be absolute paths currently (without the upcoming fix).

- And they should not contain trailing spaces.
 
Posts: 376 | Thanked: 78 times | Joined on Sep 2009
#54
Originally Posted by TheDagger View Post
That is a known bug. See https://bugs.maemo.org/show_bug.cgi?id=6494

The following comments in the bug report from Jan Arne Petersen might help:

- The image files in the .desktop file need to be absolute paths currently (without the upcoming fix).

- And they should not contain trailing spaces.
Ah thanks, I did try to edit the text to use absolute path ("/home/user/MyDocs/.images/filename.jpg") but it didn't seem to work. I'll have another play around later on. For the moment I am very happy with my new "toy"
 
Posts: 24 | Thanked: 2 times | Joined on Nov 2009 @ Cali
#55
Thx for having such a cool site.

I have loaded up a few wallpapers they are all loopable.

Just do a member search for Hooryder

thx again for the cool site.
 
Posts: 376 | Thanked: 78 times | Joined on Sep 2009
#56
Hi all

I've tried many ways to get these desktop files working but they don't. They don't! tried creating one from scratch, using absolute paths as mentioned above, put all files in the images folder but it wont work. Any help would be great, I can't be changing each desktop separately it'll do my nut in!

thanks
Dex

PS. my first post from my N900!
 
Posts: 376 | Thanked: 78 times | Joined on Sep 2009
#57
FYI, I finally got this working but ONLY by connecting to a PC and manually renaming the file on the PC. Basically, the problem I was having was I'd have the following file name in the right place with absolute paths, etc but it wouldn't work.

"filename.desktop"

It seems that it should be ".filename.desktop" (notice the period at the start of the file name). Annoyingly, when I tried to rename the download from N900Wallpapers, the device wouldn't let me, saying that I couldn't name a file beginning with ".", I also received this message when trying to rename the file in File Manager.

Presumably, the file could be renamed with root access in X-Term, but I wouldn't have the first clue how to do that! So had to do it on my PC!

Hope this helps someone else.
 
Posts: 233 | Thanked: 170 times | Joined on Nov 2009 @ Finland
#58
Originally Posted by Dexter1759 View Post
Presumably, the file could be renamed with root access in X-Term, but I wouldn't have the first clue how to do that! So had to do it on my PC!
Hope this helps someone else.
On your N900:
1. Ctrl-shift-x to open terminal
2. cd MyDocs
3. cd .images
4. mv filename.desktop .filename.desktop

cd means "change directory". You find yourself in the directory /home/user when you start the terminal, so you need to enter MyDocs/.images.

mv means "move". You don't rename files in unix, your move them to a new name in the same directory.
__________________
Read about my N900 experiences from my blog.
 

The Following 5 Users Say Thank You to jaysire For This Useful Post:
mason's Avatar
Posts: 93 | Thanked: 36 times | Joined on Nov 2009 @ Germany / Mainz
#59
@Dexter1759 since these files are located in the usr home you don't need root access for that!
 
Posts: 376 | Thanked: 78 times | Joined on Sep 2009
#60
Originally Posted by mason View Post
@Dexter1759 since these files are located in the usr home you don't need root access for that!
The guide I looked at on youtube said that all images & desktop file went in the images folder.

Not sure about root access, but when connected to my pc I could simply navigate & change the file name.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:21.