Add exFat Support to Ubuntu

Works for Ubuntu 18.04.2 on 05/27/2019
Refer: https://itsfoss.com/mount-exfat/

$ sudo add-apt-repository universe
$ sudo apt update
$ sudo apt install exfat-fuse exfat-utils

Newer notes:

Refer: http://www.howtogeek.com/235655/how-to-mount-and-use-an-exfat-drive-on-linux/

$ sudo apt-get install exfat-fuse exfat-utils

Older notes that worked on Ubuntu 14.04 but reported errors

Refer: https://www.maketecheasier.com/access-exfat-file-system-in-ubuntu/

$ sudo add-apt-repository ppa:relan/exfat
$ sudo apt-get update
$ sudo apt-get install fuse fuse-exfat exfat-utils

In the event that your system doesn’t automount the external drive, here is what you can do to mount it manually:

$ sudo mkdir /media/exfat
$ sudo mount -t exfat /dev/sdb1 /media/exfat

Fixing Audio in Ubuntu Netbook 14.04

Fixing Audio
Refer: http://askubuntu.com/questions/508221/sound-input-device-microphone-not-working

I had a similar problem on 14.04, sound input source was blank in the 'Sound Settings'. I did the following, what did the trick is installing 'Audacity', for more info check the following link

sudo apt-get remove --purge alsa-base pulseaudio
sudo apt-get install alsa-base pulseaudio
sudo apt-get install audacity

Ubuntu Tweaks for Hardware Installation

https://sites.google.com/site/easylinuxtipsproject/first
$ sudo nano /etc/sysctl.conf

Scroll to the bottom of the text file and add your swappiness value
# Decrease swap usage to a more reasonable level
vm.swappiness=10

$ sudo apt-get install gnome-session-flashback
Log out. In the login window, click on the Ubuntu logo next to your user name (see the screenshot below):

Then click on GNOME Flashback (Metacity). Note: don't select GNOME Flashback (Compiz), because that also has 3D effects, and you want to get rid of those.

Disable advertisements in the Dash and normalize the appearance. Ubuntu shows advertisements in the Dash, whenever you type a query in the Dash.

Click on the grey Ubuntu logo (Dash home). Query: privacy
Click on Privacy - tab Search

Put the slider at OFF.

Click on the grey Ubuntu logo (Dash home). Query: appearance
Click on Appearance - click on the tab Behavior

Check:
Add show desktop icon to the launcher

Fixing VirtualBox Clipboard Issue

Finally I was able to solve my clipboard cut/copy problem in Ubuntu VM.

Here are the steps I followed to solve my clipboard issues.

// Find out the process id used by clipboard. You will two dependent ID created at the time of boot up.
#> ps -ef | grep -i clip

// Kill the process that is running the clipboard
#> kill –9 $ProcessId // Process ID from the process listed from above command

// Execute the clipboard manually.
#> /usr/bin/VBoxClient —clipboard

//Check the id using pstree

// Check the process id again to see if it is running properly.
#> ps -ef | grep -i clip

// Use pstree to check the linking of the processing.
#> pstree -sp $Provide your process id retrieved from above command.

Add existing user to a group

You can modify the group directly on our WINT servers by adding user to group:

$ vi /etc/group

You will need to logoff and logon again, here's an example adding user xxx to tomcat group

$ sudo usermod -a -G tomcat xxx
$ sudo usermod -a -G groupName userName

Two finger trackpad control

Refer: http://askubuntu.com/questions/186895/how-to-enable-two-finger-scrolling-on-lenovo-thinkpad-t400-w540

It can be enabled also using commands, and they can go in your .bashrc after testing

xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 4
xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 8
xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 1 0

Create clickable icon in Ubuntu like SQL Developer – Desktop

Refer: http://askubuntu.com/questions/142159/desktop-shortcut-to-create-a-new-desktop-shortcut-doesnt-do-anything

Use the following to create an icon to launch program, put it with your progam and you can then drag it onto the taskbar, but remember it's a link to the launcher

To create Desktop shortcuts in Ubuntu,gnome-panel package is required first.

Open Terminal. To open terminal click the Dash home from Unity launcher. And type terminal in the search field. And click Terminal.

Type the below code in terminal and hit enter.

$ sudo apt-get install --no-install-recommends gnome-panel

Then type below code in terminal and hit enter, but put yourself in the the folder of the application, this allows the icon image to always appear properly

The magic is making sure your BASH script has proper permissions and is executable.

Make a Bash Script Executable, use chmod to do the trick as follows:
$ chmod u+x script-name.sh

Use this:
$ gnome-desktop-item-edit . --create-new

Instead of this
$ gnome-desktop-item-edit ~/Desktop/ --create-new

Updated: https://superuser.com/questions/552959/quickly-create-an-entry-in-the-side-bar-launcher
$ gnome-desktop-item-edit --create-new ~/.local/share/applications

Make sure you delete old items from here for cleanup:
/home/mruckman/.local/share/applications

The create launcher window will pop-up,Type application name in the name field and type application name or path or browse in the command field. And click OK button.

Now check your desktop for the shortcut.

desktop shortcut

If you want your shortcut to appear in the Unity launcher panel (the pop-out one on the left), you can drag it there from the desktop.