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"'
- Great info on how to install Fab stuff on Ubuntu -Installation shell script
- sudo bash shellscriptfilename.sh
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
Wireless problem in Ubuntu
The wireless worked fine in 10.04 then after the upgrade it kept asking for the wep key every 30 seconds. But the network would work in that 30 seconds. Frustrating. I found this answer and found a bit of a faster way to get things going.
First, open up the drawer, type in Network Tools. Then open Network Tools, switch it to the WLAN and click Configure. Finally in the Wireless tab, find the "auto" connection, highlight it and click Edit. then go to Security, and enter the key there. Click Save and it's done.
Run the terminal and write "sudo apt-get install linux-firmware-nonfree" After that the wifi is connected
How to make a file executable in Ubuntu
- Open Terminal: Ctrl+Shift+T or Applications -> Accessories -> Terminal
- Make file excutable
sudo chmod +x filename.bin
- Replace your file’s name into “filename”
- Enter your password. The file is now executable.
How to install Google Chrome in Ubuntu
Open terminal and run this command:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
When that is added run this:
sudo gedit /etc/apt/sources.list.d/google.list
After that an Text Editor opens and in there you should write:
deb http://dl.google.com/linux/chrome/deb/ stable main
Then press save.
After saving open the Terminal again and run this command:
sudo apt-get update
Next install Chrome stable version for your computer by writing:
sudo apt-get install google-chrome-stable
If you want to get the latest version you can run:
sudo apt-get install google-chrome-beta