nautilus --no-desktop
Location of Application Shortcuts AKA Menu Items
/usr/share/applications
~/.local/share/applications
Updating Bash profile on Amazon AWS Ubuntu Instance
It looks like we do not have customized .bashrc files on the AWS instance of Ubuntu. Instead, you can create a customized script to setup your defaults.
Refer: https://serverfault.com/questions/491585/is-there-a-global-bash-profile-for-all-users-on-a-system
Refer: https://bash.cyberciti.biz/guide//etc/profile.d
sudo su -
nano /etc/profile.d/mlr.sh
Sample Content
PS1="\n# ${USER}@${HOSTNAME}\n# \${PWD}\n$ "
alias ll='ls -l' 2>/dev/null
alias l.='ls -d .*' 2>/dev/null
Photoshop CS2 – Remove Registration Nag
Make sure to launch the software as Administrator and choose do not register. Also, remove all the choices to never check and never update.
Updating Sublime / Installing Ubuntu 18.10
Running Sublime from the command line with:
$ subl
In Ubuntu 18.10 out of the box, it was necessary to install the following package because sublime would NOT start.
Refer: https://forum.sublimetext.com/t/solved-ubuntu-18-10-failure-to-launch/39926/3
$ sudo apt-get install libgtk2.0-0
It was throwing the following errors when trying to run the program:
$ /opt/sublime_text/sublime_text
Unable to load libgdk-x11-2.0.so
Unable to load gdk_cairo_create from libgdk-x11-2.0.so
Older Notes of Installation
Sublime was updated via the repository and then downloaded from the site itself.
Just download the file, become root and delete the existing files and copy over them here:
/opt/sublime_text
Getting Ubuntu 18.04 to work with Parallels
This has not been tried yet, but it looks promising:
Refer: https://gist.github.com/rudolfratusinski/a4d9e3caff11a4d9d81d2e84abc9afbf
Getting Shares to Work
sudo chmod +x /usr/bin/prlfsmountd
Tar the files
tar --exclude prl_mod.tar.gz -zcvf prl_mod.tar.gz .
Lenovo 330 Trackpad with Ubuntu 18.04
Trackpad is too new and is currently NOT supported, you would have to get a newer kernel, it should eventually become available.
Refer: https://askubuntu.com/questions/1049787/lenovo-ideapad-330-touchpad-not-working/
Replace PAC with simple menu system
Store your SSH settings in one file
Refer: https://askubuntu.com/questions/727903/how-to-save-ssh-options-and-connections-in-ubuntu
Refer: https://askubuntu.com/questions/87956/can-you-set-passwords-in-ssh-config-to-allow-automatic-login/89126
If you precede with a space it won't show in history
$ sshpass -p password-here ssh server-name-here
You can remove your passphrase
ssh-keygen -p
And then follow the prompts, and keep it blank
protectmyhalaccount4menowandthatsallshewrote
You can use a per-user ssh-config file located in
~/.ssh/config
or a system-global one in
/etc/ssh/ssh_config
Host x_label_to_call_here
User user-name-here
HostName host-name-here-or-ip-address
Port 22
Fix disk errors in Ubuntu 16.04
Refer: https://askubuntu.com/questions/953728/how-to-check-a-filesystem-in-ubuntu-16-04/953750
To check the file system on your Ubuntu partition...
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type sudo fsck -f /
- repeat the fsck command if there were errors
- type reboot
If for some reason you can't do the above...
- boot to a Ubuntu Live DVD/USB
- start gparted and determine which /dev/sdaX is your Ubuntu EXT4 partition
- quit gparted
- open a terminal window
- type sudo fsck -f /dev/sdaX # replacing X with the number you found earlier
- repeat the fsck command if there were errors
- type reboot
SSH returns: no matching host key type found. Their offer: ssh-dss (GoDaddy)
Ubuntu 16.04 has disabled ssh-dss, patch applied to ~/.ssh/config, to use
Call from command line
sshpass -p yourpassword ssh -oHostKeyAlgorithms=+ssh-dss username@yourdomain.com
Or Modify config file
-oHostKeyAlgorithms=+ssh-dss
config
Host your-godaddy-domain.com
User your-user-name
HostKeyAlgorithms=+ssh-dss
Port 22
Refer: https://askubuntu.com/questions/836048/ssh-returns-no-matching-host-key-type-found-their-offer-ssh-dss
Refer: http://www.openssh.com/legacy.html
