maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   how to hide files? (https://talk.maemo.org/showthread.php?t=64972)

sagaradate 2010-11-03 07:49

how to hide files?
 
Hi all,
I am newbie.I want to hide videos.pls help.

andrewfblack 2010-11-03 07:51

Re: how to hide files?
 
You can't since maemo indexes even hidden folders and files.

sagaradate 2010-11-03 07:53

Re: how to hide files?
 
how to create .cities folder?

ewankosyo 2010-11-03 07:54

Re: how to hide files?
 
save videos to tmp folder..

sagaradate 2010-11-03 08:03

Re: how to hide files?
 
it worked.thanks mate.

jedi 2010-11-03 08:10

Re: how to hide files?
 
Quote:

Originally Posted by sagaradate (Post 861822)
how to create .cities folder?

mkdir is the command to make directories. See http://en.wikipedia.org/wiki/Mkdir

ivyking 2010-11-03 08:31

Re: how to hide files?
 
Quote:

Originally Posted by ewankosyo (Post 861823)
save videos to tmp folder..

/tmp is cleared when the device reboots , be warned .
and will eat up rootfs space .

if you want to stop media player , and image app tracking your files , install tracker-cfg and disable all indexing activity .

kureyon 2010-11-03 08:33

Re: how to hide files?
 
Quote:

Originally Posted by ewankosyo (Post 861823)
save videos to tmp folder..

I don't know about the N900, but many linux systems clear out /tmp when rebooting. You should probably make sure the N900 doesn't do this before you place important files there.

fareed_xtreme 2010-11-03 08:43

Re: how to hide files?
 
Case 1: Hide files from being displayed in media player or photos.
Connect device as mass storage. Create a folder named "Private" (do not use quotes "") Put files in it. Maemo doesnt index folders named Private.

Case 2: Hide files from being displayed in file manager as well in the respective applications.

Open Terminal
Code:

cd MyDocs
mkdir .folder
cd .folder
mkdir Private

Note: Make sure there is a '.' before the start of the name of the first folder and Private as the name for the second folder.

Again, do not use Quotes. Hope it helps.

Spotfist 2010-11-03 08:43

Re: how to hide files?
 
I created a folder called .vids with a full stop in front the folder is then hidden, I used filebox to do this, the folder is not showing in my videos and will not show in file manager. you can then play the videos or music using filebox. ;)

jedi 2010-11-03 08:46

Re: how to hide files?
 
Also, search this forum for "hide porn" ;)

sponka 2010-11-03 09:55

Re: how to hide files?
 
You can also user an app "tracker cfg" to configure which folder(s) is scanned/indexed by tracker.

As for hiding folders from GUI - follow fareed_xtreme's advice.

rash.m2k 2010-11-03 10:02

Re: how to hide files?
 
In Linux ANY folder starting with a . (dot) are hidden folders. So won't be indexed by N900.

HOWEVER in windows you WILL STILL BA ABLE TO SEE THAT FOLDER! So you also need to set the attributes to hidden - otherwise connecting it to a PC will quickly show even hidden folders.

xtjonni 2010-11-03 10:23

Re: how to hide files?
 
Just a hint:
By default the tracker is not indexing hidden folders (with "." at the beginning).
I wrote me a simple toggle-script to make a folder visible/hidden. Makes live easier sometimes and works flawlessly with the tracker. ;)

one1002 2010-11-03 10:39

Re: how to hide files?
 
http://talk.maemo.org/showpost.php?p=460802&postcount=2

Quote:

If you have a windows pc open the command prompt and type
cd\ enter
md .videos enter

You then should have a directory on the c drive called .videos
put your videos in there and then copy over the directory to n900 in mass storage mode.
to play videos you must use the web browser.

file:///media/mmc1 (memory card)
file:///home/user/MyDocs (internal memory)
same steps applies with other files


All times are GMT. The time now is 16:01.

vBulletin® Version 3.8.8