Difference between revisions of "Ubuntu"

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search
Line 27: Line 27:
 
To run python file
 
To run python file
 
  python hello.step.45.py /dev/ttyUSB0
 
  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

Revision as of 11:18, 29 April 2011


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