Skip to content

Latest commit

 

History

History
143 lines (101 loc) · 4.07 KB

Ubuntu_Touch.md

File metadata and controls

143 lines (101 loc) · 4.07 KB

UBports Ubuntu Touch

devices

general references

setup: possible first steps after installation

  • Turn on Rotation Lock.
  • Set brightness to full.
  • keyboard and buttons
    • Turn off spell-checking.
    • Turn off autocorrect.
    • Turn off word suggestions.
    • Turn off autocapitalization.
    • Turn off autopunctuation.
    • Turn off keyboard vibration.
  • Turn off button vibrations.
    • System Settings
    • Sound
    • Other vibrations
  • Set up hotspot.

screenshots

volume up + volume down

launch Anbox Application Manager

/usr/bin/anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

staged and windowed modes (accessible now via UT Tweak Tool)

gsettings set com.canonical.Unity8 usage-mode Windowed
gsettings set com.canonical.Unity8 usage-mode Staged

apt-get setup

sudo mount -o remount,rw /

fix Apt, dpkg when there is a lack of hard drive space

Whenever installing a package, Apt downloads the package to the system and caches it in case it needs to be installed again. There can be substantial space used by this:

sudo du -sh /var/cache/apt/archives

The formal way to removed cached packages is as follows:

sudo apt-get clean

fix Apt not able to open lock file

If the file /var/cache/apt/archives/lock does not exist, it can be created:

sudo touch /var/cache/apt/archives/lock

Libertine and X applications

setup: Libertine, Firefox, Gdmap, Geany, x11-apps

Connect to the internet. Create a Libertine container, for example called "applications" (this can take a few minutes).

libertine-container-manager create -i applications

Install applications.

libertine-container-manager install-package -i applications -p firefox
libertine-container-manager install-package -i applications -p gdmap
libertine-container-manager install-package -i applications -p geany

experimental:

libertine-container-manager exec -c /usr/bin/geany
DISPLAY= libertine-launch -i applications /usr/bin/geany
libertine-launch --id applications xeyes
libertine-container-manager exec --command "geany" --id applications
DISPLAY= libertine-container-manager exec -c /usr/bin/geany
DISPLAY= libertine-launch --id applications geany

XMir

launchers

Launcher .desktop files should be at directory /home/phablet/.local/share/applications. A restart is needed before a new launcher appears in scopes.

[Desktop Entry]
Name=xeyes
Type=Application
Terminal=false
Icon=/usr/include/X11/bitmaps/xlogo64
X-Ubuntu-Touch=true
X-Ubuntu-XMir-Enable=true
Exec=xeyes