![]() |
2010-12-07
, 15:34
|
Posts: 165 |
Thanked: 78 times |
Joined on Jun 2010
|
#12
|
/usr/bin/truecrypt --protect-hidden=no -k= /media/mmc1/cryptedfile.tc /media/mycrypt ossofilemanager /usr/bin/truecrypt --dismount /media/mycrypt
[Desktop Entry] Encoding=UTF-8 Version=1.0 Name=Tcrypt GenericName=Tcrypt access Comment=Access tcrypt Exec=osso-xterm "/usr/bin/tcrypt" Icon=tcrypt X-Osso-Type=application/x-executable X-HildonDesk-ShowInToolbar=true Terminal=true Type=Application StartupNotify=true Categories=ConsoleOnly;System;
The Following User Says Thank You to sacal For This Useful Post: | ||
![]() |
2010-12-07
, 15:36
|
|
Posts: 238 |
Thanked: 291 times |
Joined on Mar 2010
@ London, UK
|
#13
|
Well without the actual code, I'm just guessing..
as root you can use the find command to search for your scripts maybe you left something back there. eg:
Other common mistake is the:Code:find / -name *partOfTheScriptName*
case $selection in
0) exit ;;
notice the double semicolon
![]() |
2010-12-07
, 15:41
|
|
Posts: 238 |
Thanked: 291 times |
Joined on Mar 2010
@ London, UK
|
#14
|
This is what i did in my device to manage mounting and unmounting a "cryptedfile.tc" located in my SD card:
1 - Create the "cryptedfile.tc" and move it to your SD card (it may also be MyDocs or other folder)
2 - Install Truecrypt Disk Encryption (command line) from the repos
3 - Create the empty folder /media/mycrypt
4 - Create the following script in /usr/bin:
(replace /media/mmc1/cryptedfile.tc if the location off the crypted file is different)Code:/usr/bin/truecrypt --protect-hidden=no -k= /media/mmc1/cryptedfile.tc /media/mycrypt ossofilemanager /usr/bin/truecrypt --dismount /media/mycrypt
5 - Create the file tcrypt.desktop in /usr/share/applications/hildon with the following contents:
6 - Create a 48x48 png icon named tcrypt.png and move it to /home/usr/share/icons/hicolor/scalable/hildon.Code:[Desktop Entry] Encoding=UTF-8 Version=1.0 Name=Tcrypt GenericName=Tcrypt access Comment=Access tcrypt Exec=osso-xterm "/usr/bin/tcrypt" Icon=tcrypt X-Osso-Type=application/x-executable X-HildonDesk-ShowInToolbar=true Terminal=true Type=Application StartupNotify=true Categories=ConsoleOnly;System;
I used the easycrypt icon
Whenever i need to use the crypt file i go to the applications menu and i select the truecrytp icon.
When x-terminal opens i input the crypt password and then filemanager opens with mycrypt mounted and ready for use.
As long as i keep filemanager running mycrypt remains mounted.
As soon as i close filemanger mycrypt folder is automatically unmounted.
![]() |
2010-12-07
, 16:01
|
Posts: 165 |
Thanked: 78 times |
Joined on Jun 2010
|
#15
|
![]() |
2010-12-07
, 16:10
|
|
Posts: 238 |
Thanked: 291 times |
Joined on Mar 2010
@ London, UK
|
#16
|
Yes. It is a 2gb container.
I have the same file in all my windows and linux machines with all the confidential docs and info i may need.
Before N900 i used to carry a pen with the crypted container and a portable app to access it.
I needed to find a pc for that but now, with a computer that makes calls in my pocket, i can do it anywhere.
![]() |
2010-12-08
, 12:38
|
|
Posts: 238 |
Thanked: 291 times |
Joined on Mar 2010
@ London, UK
|
#17
|
as root you can use the find command to search for your scripts maybe you left something back there. eg:
case $selection in
0) exit ;;
notice the double semicolon
Packages: elGR Locale, SMSCON Editor, Swappolube, CSSU Features Configuration, Snuggle, YAMAS, Cleven
Garage: SMSCON, Swappolube, CSSU Features Configuration, Snuggle
Wiki: SMSCON, SMSCON Editor, Swappolube, CSSU Features Configuration, Cleven