Difference between revisions of "Ubuntu"

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search
 
(6 intermediate revisions by 3 users not shown)
Line 16: Line 16:
 
**sudo bash shellscriptfilename.sh
 
**sudo bash shellscriptfilename.sh
  
 +
*lsusb
 +
**list up devices connected with usb
 
<br>  
 
<br>  
  
Line 22: Line 24:
 
*demsg  
 
*demsg  
 
*lsusb
 
*lsusb
 +
  
 
=== How do I install .deb file?  ===
 
=== How do I install .deb file?  ===
Line 44: Line 47:
 
*Drag to the sidebar
 
*Drag to the sidebar
  
[https://help.ubuntu.com/community/SwitchingToUbuntu/FromWindows Switching from Windows to Ubuntu]
+
==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
 +
 
 +
*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
 +
 
 +
 
 +
 
 +
==Links==
 +
*[https://help.ubuntu.com/community/SwitchingToUbuntu/FromWindows Switching from Windows to Ubuntu]
 +
[http://files.fosswire.com/2007/08/fwunixref.pdf Unix/Linux Command Reference from Fosswire]
 +
 
  
  
[[Category:Software]]
+
[[Category:Tutorials]] [[Category:Software]]

Latest revision as of 15:04, 25 August 2015


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"'


  • lsusb
    • list up devices connected with usb



  • 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

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

  • 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


Links

Unix/Linux Command Reference from Fosswire