maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   Do no need .name.desktop format for loopable wallpaper (https://talk.maemo.org/showthread.php?t=40166)

ViciousXUSMC 2010-01-12 08:33

Do no need .name.desktop format for loopable wallpaper
 
Im testing my wallpaper packs and left my usb cable at home so had to transfer the files over via bluetooth.

when I went to transfer my gundam one the .gundam.desktop file caused the N900 to give me a pop up window that said "files can not start with a "." so I took off the "." and it is now just named gundam.desktop

I applied it as my new wallpaper as it shows up in my selections and it works fine.

So I can pretty confidently say all the tutorials I have seen claiming that you must name it with a "." first are incorrect, and all that matters is that the file has the .desktop extension with the right coding inside.

I'll confirm 100% when I get home by directly placing a file on the N900 via mass storage mode setup the same way.

codeMonkey 2010-01-12 10:17

Re: Do no need .name.desktop format for loopable wallpaper
 
The dot is used to hide the file so it doesn't show up in file manager.
You probably had problems copying it because it's on a vfat filesystem, which prefers the filename.extension format.

ViciousXUSMC 2010-01-12 11:12

Re: Do no need .name.desktop format for loopable wallpaper
 
Quote:

Originally Posted by codeMonkey (Post 465960)
The dot is used to hide the file so it doesn't show up in file manager.
You probably had problems copying it because it's on a vfat filesystem, which prefers the filename.extension format.

Thats exactly what I was thinking was the case and why I wanted to confirm it later via mass storage mode.

But yeah it works without it, and I had no option to transfer it otherwise. I may be able to rename it again with the "." via file manager. I'll try that now...

and... nope it wont let me says file can not start with "." I would ponder you can do it from the x terminal manually or something but I know nothing about linux commands.

qwerty12 2010-01-12 11:19

Re: Do no need .name.desktop format for loopable wallpaper
 
AFAIK, it's just Explorer that is anal-retentive regarding making files/folders with a dot as the first character. mkdir .whatever works fine in Windows' Command Prompt, for example.

codeMonkey 2010-01-12 17:01

Re: Do no need .name.desktop format for loopable wallpaper
 
Quote:

Originally Posted by ViciousXUSMC (Post 466051)
... but I know nothing about linux commands.

You didn't really ask for it, but I'm feeling verbose:

Very basic linux terminal tutorial

Start Terminal:

You'll see something like this:
Code:

~ $
The ~ means you're in your user home directory (/home/user)
To list files you can type
Code:

ls
to get a brief listing or
Code:

ls -al
to get a more detailed listing.
To change directory you can type
Code:

cd nameOfDirectory
If you want to return to ~ you can type
Code:

cd ~
or just
Code:

cd
To rename files you use the move command:
Code:

mv originalName newName
So in order to go and rename that .file in the terminal you just need to
Code:

cd MyDocs/.images
mv nameoffile.desktop .nameoffile.desktop

MyDocs is what you see when you open up file manager.
.images appears as Images in your file manager
similar for .documents, .sounds, .videos etc.

To exit the terminal you can:
* Press the X in the top right corner
* Type exit and press enter
* Press ctrl-D (which simulates an EOF character and basically does the same thing as typing exit)

Always try to be careful when using the terminal - it's powerful.


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

vBulletin® Version 3.8.8