MobileMate desktop environment

Well, as you known, MobileMate infact is a tiny Linux OS with special use. So let's be familiar with it's basic use environment. MobieMate V0.1 is customized on TinyCore Linux 3.7.1, you can refer to TinyCore Linux's screen shots and use videos, and, refer to its Wiki for more detail.

Here, we only introduce some environment use related to use MobileMate to convert video/audio file. You can click on the any place of white space of desktop to call the popup menu.

Setup screen resolution

The default screen resolution is 1024×768, if you need change this, click the fifth bottom toolbar icon “Panel” or “popup menu”→“SystemTools”→“ControlPanel”, call the ControlPanel. Click “Xvesa” of the “Setup” column, enter the number before the resolution, press Enter, enter the number of Mouse type(usually select 1), press Enter.

Then, click the toolbar first icon “Exit” or click “popup menu”→“Logout”, select “Exit to Prompt” radio button, click 'Ok“, then we enter the Prompt of text console, input “startx” to start the desktop environment again, it will display the new screen resolution now.

Mount and unmount disk

The default is MobileMate will mount all mountable disks automatically, and can also mount the newly added the USB drive or CD/DVD drive automatically. But, if you want umount the partition or drive, e.g., before you unplug the USB stick, you must umount it first; Or, you need mount the drive manually, then, you need use the “Mount Tool” here.

Click the eighth icon “Mount” or “popup menu”→“SystemTools”→“MountTool”, start “Mount tool”. The green item indicate the drive is mounted and versus the red item indicate the drive isn't mounted. Click the item to toggle the mount state. Click “Refresh” to get the latest mount state of all drives, e.g., when you newly plug in the USB stick.

File manager

Click the tenth icon “PCManFM-ModFileManager” in bottom toolbar or “popup menu”→“Applications”→“PCManFM-ModFileManager” to start file manager. The left window default show the home directory, tce directory and all the disks and partitions, click it show its content in the right window. Please note, you can't mount and umount a disk or partition here, you need “Mount Tool” above to do this.

Sometimes, you need operate file or directory with root authority, click menu item “Tool”→“Open Current Folder as Root”.

You can play most of video or audio file in file manager, just double click the file in it. If it can not work, right click the file, “popup menu”→“Open with…”→“Open with another program”, type “mplayer.me” in text area after “Command Line:”, click “OK”.

You can edit the text file in file manager by double click it. If it can not work, use the way above, but open the file use “editor” instead of “mplayer.me” above.

You can open the current folder in “urxvt” terminal. Just right click the any white space of right window of file manager, “popup menu”→“Open in Terminal”.

Run Program

You can run a program with “Application launcher”. Click the seventh icon “Run” in bottom toolbar or click “popup menu”→“SystemTools”→“RunProgram” to call it. Type the command in the text area in it, then click “OK” to launch a program.

Terminal

There are two terminals in MobileMate, one is “Aterm”, you can call it by click the second icon “Aterm” or click “popup menu”→“SystemTools”→“Terminal”. The another terminal is “Urxvt”, it can support unicode font(e.g., unicode Chinese font), you can call it in file manager described in “File manager” section above, or use “Run Program” to run “urxvt” in it described in “Run Program” section above.

Text editor

The default text editor in MobileMate calls “editor”. Start it by click the fourth icon “Editor” in bottom toolbar or click “popup menu”→“SystemTools”→“Editor”. Sometimes, you need root authority to edit the file, e.g., /opt/bootlocal.sh, you can use “sudo editor” command in terminal or “Run Program” tool described above.

Play video and audio file

You can play video and audio file in MobileMate. You can play it in file manager described in “File manager” section above, or use “Run Program” tool described in “Run Program” section above, type “mplayer.me /YOURPATH/FILENAME” to play it.

Adjust audio volume

When play video or audio file, you can use “sgmixer” to adjust audio volume. Click the last icon “sgmixer” in bottom toolbar or click “popup menu”→“Applications”→“sgmixer” to call it.

Exit MobileMate options

Exit MobileMate, click the first icon “Exit” in bottom toolbar or click “popup menu”→“Logout”. There are three radio buttons you can select are: Shutdown, Reboot and “Exit to Prompt”. When you modify the the screen resolution with “Xvesa” tool in “ControlPanel”, you can select “Exit to Prompt”, then type “startx” command after prompt to start desktop and make your modification to take effect.

When you have set a “backup device”(there is text such as “sda1/tce” under the Bakcup Options drop-down menu, if you use the installation method described in our wiki to install MobileMate into USB or virtual machine, the “backup device” will be set ok), you can click one of the drop-down menu item of “Backup Options”: None, Backup and Safe.

The default option is “Backup”, if you have changed the content of files listed in ”/opt/.filetool.lst“ and not in ”/opt/.xfiletool.lst“, you need this option to make your changes persistent. But, before this, you also need save the file content after you changed the content of file. For example, if you use “sudo editor /opt/bootlocal.sh” command to edit this file, you must save file when you close editor and choice “Backup” option when you exit MobileMate, otherwise, the file ”/opt/bootlocal.sh“ will lost its change when restart MobileMate. Of course, you can also use “filetool.sh -b” command after you save the edited file to make this file persistent.

The bakcup file is located in “YOUR TCE DIRECTORY(e.g., /mnt/sda1/tce)/mydata.tgz”.

If you choice “Safe” option, it will backup your old “mydata.tgz” file into “mydatabk.tgz”, then backup your current files need backup into new “mydata.tgz”.

In most case, if you don't need backup any files in ”/opt/.filetool.lst“, choice “None” in “Backup Options” drop-down menu, this will skip backup process and speedup the MobileMate to shutdown or reboot. You can also use command “sudo poweroff” to shutdown MobileMate without backup and “sudo reboot” to reboot it without backup, you can perform these commands in terminal or in “Run Program” tool, for the detail of this way see: Shutdown and Restart of TinyCore Linux Wiki.

Tips

Some tips of using MobileMate listed here, include use MobileMate virtual machine.

Shared folders Auto-mount of MobileMate VirtualBox virtual machine

You can customize VirtualBox virtual machine shared folder auto-mount behavior. The way is modify the line(without double quotation marks: ”“, the same below)

"/opt/custom/bin/amountvboxshare.sh >/dev/null 2>&1 &"

in file ”/opt/bootlocal.sh“. For example, you need poll the shared folders in host, mount the shared folder(in spite of selection of “Auto-mount”) added newly whenever, excute the command

"sudo editor /opt/bootlocal.sh"

in the console or “Run Program” tool, replace the line with

"/opt/custom/bin/amountvboxshare.sh allalways >/dev/null 2>&1 &"

in the ”/opt/bootlocal.sh“. Save the file and excute the command “filetool.sh -b” for “opt/bootlocal.sh” persistence. Of course, you can also excute in the console or “Run Program” tool, e.g.,

"sudo /opt/custom/bin/amountvboxshare.sh allonce"

.

The full options of auto-mount VirtualBox shared folders to read file ”/opt/custom/bin/amountvboxshare.sh“, or below:

# amountvboxshare.sh(2013.08.23 added) -  A simple script for mounting virtualbox 
# shared folder automatically.
#
# Arguments:
#   mountmode: 
#     autoonce - mount the auto mount folders set in VirtualBox when MobileMate boot,
#       if lack argument, this is the default option;
#     allonce -  mount the all mount folders set in VirtualBox when MobileMate boot;
#     autoalways -  always mount the auto mount folders set in VirtualBox, include newly
#       added temporary auto mount folders, polls every 2 seconds, you can't umount
#       an auto mounted folder;
#     allalways -  always mount the all mount folders set in VirtualBox, include newly
#       added temporary mount folders, polls every 2 seconds, you can't umount an
#       mounted folder.
#
# Usage: copy it as "/usr/local/bin/amountvboxshare.sh", and 
# "chmod +x /usr/local/bin/amountvboxshare.sh", add it into "/opt/bootlocal.sh" 
# or some where else, for example: "/usr/local/bin/amountvboxshare.sh &"
# I have tested it on mobilemate-0.1a42.1 ok.

Switch between MobileMate virtual machine host and guest

Because MobileMate VMWare/VirtualBox virtual machine only fully integrate the folder sharing part of guest additions. So, you need switch between the host and guest manually.

When you click on the guest, the guest will capture the mouse and keyboard. If you want return into host, press “Ctrl+Alt” in VMWare and press right “Ctrl” in VirtualBox.

Please note, the mouse integration(switch between host and guest automatically) works partly in MobileMate VirtualBox virtual machine. But, it behaves abnormally sometimes. So, the best way is “Disable Mouse Integration” in menu “Machine”, then switch between host and guest manually.

desk.txt · Last modified: 2013/09/27 10:48 by littlebat
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0

蜀ICP备2021012931号-1 川公网安备51092202000377号