Oracle Secure Global Desktop

I had this error “Error – SGD Client” Failed to install the SGD Client; I’m using Ubuntu
I didn’t have that problem before; I already had 32 bit dependencies installed

Solution:
sudo apt-get install libstdc++6:i386 libxpm4:i386 libxinerama1:i386 libxcursor1:i386 libxkbfile1:i386 libxt6:i386 libxm4:i386 libxrandr2:i386

It should work now 🙂

Skype – no sound in Linux

I usually use it on my iPhone since it’s easier
but anyway, it doesn’t hurt to have one on the laptop

Installing on Ubuntu is pretty straightforward
I had problems not hearing both sides communication

https://support.skype.com/en/faq/FA10964/how-do-i-adjust-the-sound-settings-on-my-computer-and-in-skype-for-linux

Install PulseAudio Volume Control from Ubuntu Software Centre
Restart your computer before proceeding (well, I had to)
Open PulseAudio Volume Control; adjust the input and output accordingly

On Skype, Options > Sound Device, it should detect PulseAudio

I’m not sure what I clicked earlier; I changed the setting somewhere from Digital to Analogue (not sure what anymore lol)

Install from tar.gz file

http://askubuntu.com/questions/25961/how-do-i-install-a-tar-gz-or-tar-bz2-file

How you compile a program from a source

open a console
use the command cd to navigate to the correct folder. If there is a README file with installation instructions, use that instead.
extract the files with one of the commands

If it’s tar.gz use tar xvzf PACKAGENAME.tar.gz
if it’s a tar.bz2 use tar xvjf PACKAGENAME.tar.bz2

./configure

make

sudo make install

to run it, usually call it by it’s name

Github repo on 2 computers

Github repo on 2 computers
http://stackoverflow.com/questions/6012073/how-do-i-code-against-one-github-repo-on-2-computers

adila@adila-VPCZ13V9E:~$ cd Desktop/adila/
adila@adila-VPCZ13V9E:~/Desktop/adila$ git clone https://github.com/myName/myFolder
Cloning into 'multichannel-RPL'...
remote: Counting objects: 5278, done.
remote: Total 5278 (delta 0), reused 0 (delta 0), pack-reused 5277
Receiving objects: 100% (5278/5278), 19.14 MiB | 300.00 KiB/s, done.
Resolving deltas: 100% (2753/2753), done.
Checking connectivity... done.
adila@adila-VPCZ13V9E:~/Desktop/adila$ git init
Initialised empty Git repository in /home/adila/Desktop/adila/.git/
adila@adila-VPCZ13V9E:~/Desktop/adila$ git push
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using

git remote add

and then push using the remote name

git push

adila@adila-VPCZ13V9E:~/Desktop/adila$ git status
On branch master

Initial commit

Untracked files:
(use "git add ..." to include in what will be committed)

multichannel-RPL/

nothing added to commit but untracked files present (use "git add" to track)
adila@adila-VPCZ13V9E:~/Desktop/adila$ cd multichannel-RPL/
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git init
Reinitialised existing Git repository in /home/adila/Desktop/adila/multichannel-RPL/.git/
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ ls
contiki-2.7 Readme.txt senseapp_2015 setCh xSetCh
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working directory clean
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)

modified: senseapp_2015/senseapp_2015.aux
modified: senseapp_2015/senseapp_2015.log
modified: senseapp_2015/senseapp_2015.pdf
modified: senseapp_2015/senseapp_2015.synctex.gz

no changes added to commit (use "git add" and/or "git commit -a")
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git commit -a

*** Please tell me who you are.

Run

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'adila@adila-VPCZ13V9E.(none)')
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git config --global user.email "adilaEmail@gmail.com"
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git config --global user.name "myName"
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git statusOn branch master
Your branch is up-to-date with 'origin/master'.

Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)

modified: senseapp_2015/senseapp_2015.aux
modified: senseapp_2015/senseapp_2015.log
modified: senseapp_2015/senseapp_2015.pdf
modified: senseapp_2015/senseapp_2015.synctex.gz

no changes added to commit (use "git add" and/or "git commit -a")
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git commit -a
[master 3aceb6b] updated paper
4 files changed, 22 insertions(+), 20 deletions(-)
rewrite senseapp_2015/senseapp_2015.synctex.gz (97%)
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git push origin master
Username for 'https://github.com': myName
Password for 'https://myName@github.com':
Counting objects: 14, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 73.31 KiB | 0 bytes/s, done.
Total 7 (delta 5), reused 0 (delta 0)
To https://github.com/myName/multichannel-RPL
7520e8c..3aceb6b master -> master
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git push origin master
Username for 'https://github.com': myName
Password for 'https://myName@github.com':
Counting objects: 16, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 69.12 KiB | 0 bytes/s, done.
Total 8 (delta 6), reused 0 (delta 0)
To https://github.com/myName/myFolder
3aceb6b..a689d97 master -> master
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$

Ubuntu – Program won’t start from launcher

So I had that problem after I did some clean up on my desktop (too many files!)
usually I just add the program to the launcher by right click>lock to Launcher
but someone the program that I’ve already have does not load when I click, and unlock then locking it back does not seem to work

the program was Cooja but it should be the same for any program

so a work around is by opening the terminal (ctrl + t)
adila@adila:cd ~/.local$ cd share/applications/
adila@adila:~/.local/share/applications$ ls
mimeapps.list se-sics-cooja-gui.desktop
adila@adila:~/.local/share/applications$ gedit se-sics-cooja-gui.desktop

that will open the file
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Cooja: The Contiki Network Simulator
Icon=se-sics-cooja-gui.png
Path=/home/adila/Desktop/contiki-2.7/tools/cooja/build
Exec=/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -Xmx512m -Duser.language=en -classpath /home/adila/Desktop/contiki-2.7/tools/cooja/build:/home/adila/Desktop/contiki-2.7/tools/cooja/lib/jdom.jar:/home/adila/Desktop/contiki-2.7/tools/cooja/lib/log4j.jar:/home/adila/Desktop/contiki-2.7/tools/cooja/lib/jsyntaxpane.jar se.sics.cooja.GUI
StartupNotify=false
StartupWMClass=se-sics-cooja-GUI
OnlyShowIn=Unity;
X-UnityGenerated=true

the important part is where the file is at
I accidentally misplaced the file

so you can either change the classpath or delete the whole thing and start over by unlock, then locking it back on the launcher (run it as usual from the terminal or how ever you do it)

a good explanation of the local and global directory is at http://askubuntu.com/questions/418295/chrome-wont-start-from-the-launcher