Monday, January 6, 2014

Ubuntu Touch Install script waiting for device fix



  • For Arch Linux users (if any Arch users read here?) wishing to do this, fastboot needs root to run, so if you get stuck at '< waiting for device >' at any point in the script, just change every occurrence of 'fastboot' with 'sudo fastboot' in the script. Everything ran smoothly from there :)
     

      Ubuntu Touch on Nexus 7 fix

      i have had the same issue on my n7 (2012) with release 79 of ubuntu touch in regards to flickering and freezing. just follow these commands. reboot into regular android with debugging enabled and in terminal
      sudo adb shell
      adb root
      rm -f /home/phablet/.display-mir && reboot
      worked for me, its a mir bug.

      Friday, October 18, 2013

      Steps to remove package

      sudo apt-get remove --purge pkgname*
      sudo apt-get clean
      sudo apt-get autoremove

      Monday, May 28, 2012

      latex ภาษาไทย

      apt-get install thailatex txiterm vim prosper

      txiterm  -  Thai terminal emulator
      vim - work well with Thai

      - Read prosper document at /usr/share/doc/prosper
      - Add option thai into \documentclass [... thai... ]  {prosper}
      - \usepackage{babel}

      - Force Thai Font ex.


      \FontTitle{%
      \usefont{LTH}{norasi}{b}{n}\fontsize{20.74pt}{20pt}\selectfont\colC}{%
      \usefont{LTH}{norasi}{b}{n}\fontsize{20.74pt}{20pt}\selectfont\colC}
      \FontText{%
      \usefont{LTH}{norasi}{m}{n}\fontsize{14.4pt}{13pt}\selectfont\colD}{%
      \usefont{LTH}{norasi}{m}{n}\fontsize{14.4pt}{13pt}\selectfont\colD}

      Sunday, May 20, 2012

      Power Management Tool (Jupiter)

      Installing Jupiter, the light-weight power and hardware control applet, will give you improved battery life.


      Code:
      sudo add-apt-repository ppa:webupd8team/jupiter
      sudo apt-get update
      sudo apt-get install jupiter
      Open Jupiter and it will appear in the top panel.

      Thursday, May 17, 2012

      Remove package in Debian

      Remove with "purge" option to remove data associated with the package (log, configuration files, etc.)

      apt-get remove --purge <package name>
      aptitude purge <package name>
      dpkg -P <package name>