Ubuntu: Difference between revisions

From Fab Lab Wiki - by NMÍ Kvikan
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
*[[Change boot order]]
*[[Change boot order]]


=== <br> Settings for the machines in Ubuntu  ===


Settings for the machines in Ubuntu
*window size: 450  
* window size: 450
*editor width: 45  
* editor width: 45
*editor height: 45  
* editor height: 45
*camm: 'stty 9600 raw -echo crtscts &lt;/dev/ttyS0; cat "file" &gt; /dev/ttyS0'  
* camm: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
*rml: 'stty 9600 raw -echo crtscts &lt;/dev/ttyS0; cat "file" &gt; /dev/ttyS0'  
* rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
*epi: 'lpr -Pepilog "file"; sleep 15; lprm -Pepilog -'  
* epi: 'lpr -Pepilog "file"; sleep 15; lprm -Pepilog -'
*ps: 'lpr "file"'
* ps: 'lpr "file"'


<br>


*[http://wiki.infosyncratic.nl/FabLab Great info on how to install Fab stuff on Ubuntu]
*[http://wiki.infosyncratic.nl/FabLab Great info on how to install Fab stuff on Ubuntu] -Installation shell script<br>
**sudo bash shellscriptfilename.sh


*demsg
<br>
 
<br>
 
*demsg  
*lsusb
*lsusb


How do I install .deb file?
=== 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:


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
  $ cd /tmp
Type the following command:
 
Type the following command:  
 
  $ sudo dpkg -i package.deb
  $ sudo dpkg -i package.deb


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
To show network folder in any program  
*Go to home folder
 
*Show hidden files (ctrl H)
*Go to home folder  
*Find the folder .gvfs
*Show hidden files (ctrl H)  
*Find the folder .gvfs  
*Drag to the sidebar
*Drag to the sidebar


[[Category:Software]]
[[Category:Software]]

Revision as of 12:08, 21 September 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