Ubuntu

From Fab Lab Wiki - by NMÍ Kvikan
Revision as of 09:12, 7 April 2011 by Frosti (Talk | contribs)

Jump to: navigation, search


Settings for the machines in Ubuntu

  • window size: 450
  • editor width: 45
  • editor height: 45
  • camm: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
  • rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
  • epi: 'lpr -Pepilog "file"; sleep 15; lprm -Pepilog -'
  • ps: 'lpr "file"'


  • demsg
  • lsusb

How do I install .deb file?

To install package called package.deb type the following command: Go to directory where package.deb is kept. For example if it is in /tmp directory:

$ cd /tmp

Type the following command:

$ sudo dpkg -i package.deb

To run python file

python hello.step.45.py /dev/ttyUSB0