Ubuntu

From Fab Lab Wiki - by NMÍ Kvikan
Revision as of 22:00, 25 March 2012 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

To show network folder in any program

  • Go to home folder
  • Show hidden files (ctrl H)
  • Find the folder .gvfs
  • Drag to the sidebar

Links

Unix/Linux Command Reference from Fosswire