Last active
March 16, 2023 13:37
-
-
Save VenkataRaju/8caef025089cd2b72e58cc82c75c6d9f to your computer and use it in GitHub Desktop.
After Ubuntu Installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Install QuiteRSS (Instructions https://quiterss.org/quiterss-for-other-os) | |
sudo add-apt-repository ppa:quiterss/quiterss | |
sudo apt-get update | |
sudo apt-get install quiterss | |
Note: While copypasting above commands from the website, first copy them to notepad (some characters seem to be causing problem, installation stalls) | |
2) Disable guest session (Ubuntu 16.04) | |
sudo sh -c 'printf "[Seat:*]\nallow-guest=false\n" >/etc/lightdm/lightdm.conf.d/50-no-guest.conf' | |
To undo (restore Guest option), remove the file created: | |
sudo rm /etc/lightdm/lightdm.conf.d/50-no-guest.conf | |
More info: https://askubuntu.com/questions/62564/how-do-i-disable-the-guest-session | |
3) Firefox: | |
a) Before upgrading take backup of Firefox bookmarks, username passwords, grease monkey scripts. | |
Notedown Addon names and settings if necesssay | |
b) Disable webnotifications | |
about:config -> dom.webnotifications.enabled false | |
More info: https://www.howtogeek.com/288946/how-to-stop-websites-from-asking-to-show-notifications/ | |
c) Enable copy paste | |
about:config -> change 'dom.event.clipboardevents.enabled' value to false. | |
More info: https://digiwonk.gadgethacks.com/how-to/re-enable-copy-paste-annoying-sites-block-0155910/ | |
d) about:config -> browser.sessionstore.interval 15000 -> 600000 (10 mins) | |
f) about:config signon.autofillForms false | |
g) Addons | |
1) Grease monkey | |
2) uBlock Origin | |
3) Print Edit WE | |
4) h264ify | |
5) Disconnect | |
6) Night Mode Pro | |
h) Before doing 'Help' -> 'Trouble Shooting Information' -> 'Refresh Firefox' also start from (a) | |
1. Edit -> Preferences -> General -> Startup -> Restore previous session | |
2. Change theme | |
3. Customize appearance. Bread crumb -> Customize | |
i) After 'Help' -> 'Trouble Shooting Information' -> 'Refresh Firefox' | |
. Uncheck 'Ctrl + Tab' cycles through tabs in recently used order | |
. Files and Applications -> Downloads -> Check 'Always ask you where to save files' | |
. Search Bar -> Check 'Add search bar in tooolbar' | |
. Default search engine -> Change to 'Duck Duck Go' | |
. Uncheck 'Provide search suggestions' | |
. Uncheck Snippets | |
. Top sites -> 2 rows | |
. Highlights | |
. Uncheck Most Recent Download | |
. Pages Saved to Pocket | |
. Move Back, Forward, Home and Refresh buttons to right side of location bar | |
Observe these things | |
. Browsing | |
. Uncheck Recommend etensions as you browse | |
. Recommend features as you browse | |
4) Install 'Unity Tweak Tool'. May uninstall after changes are done. | |
5) Install Java 16 (Source: https://stackoverflow.com/questions/49507160/how-to-install-jdk-10-under-ubuntu) | |
$ tar xzvf openjdk-16_linux-x64_bin.tar.gz | |
$ sudo mkdir /usr/lib/jvm | |
$ sudo mv jdk-16 /usr/lib/jvm/java-16-openjdk-amd64/ | |
$ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-16-openjdk-amd64/bin/java 1 | |
$ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-16-openjdk-amd64/bin/javac 1 | |
$ sudo update-alternatives --config java | |
$ sudo update-alternatives --config javac | |
$ java -version | |
$ javac -version | |
Remove older versions installed | |
sudo update-alternatives --display java | |
sudo update-alternatives --remove java /usr/lib/jvm/java-15-openjdk-amd64/bin/java | |
sudo update-alternatives --display javac | |
sudo update-alternatives --remove javac /usr/lib/jvm/java-15-openjdk-amd64/bin/javac | |
Then remove the directories | |
sudo rm -rf /usr/lib/jvm/java-15-openjdk-amd64/ | |
Set JAVA_HOME (Linux) | |
Open ~/.bashrc in any text editor and add: | |
export JAVA_HOME=/path/to/java_installation (e.g. /usr/lib/jvm/java-16-openjdk-amd64/) | |
Run the source command to load the variable: | |
source ~/.bashrc | |
Check | |
echo $JAVA_HOME | |
Java download: http://jdk.java.net/<Version>/ e.g. http://jdk.java.net/16/ -> Linux / x64 | |
Javadoc download: https://www.oracle.com/technetwork/java/javase/downloads/index.html | |
JavaFX download: https://openjfx.io/ | |
JavaFX Javadoc download: http://mvnrepository.com/artifact/org.openjfx | |
-> Module (e.g. JavaFX Controls) | |
-> Click on version (e.g. 11) | |
-> Files -> View All | |
-> Click on javafx-<module>-<version>-javadoc.jar (e.g. javafx-controls-11-javadoc.jar) | |
6) Download Eclipse from here: https://www.eclipse.org/downloads/packages/ | |
-> Eclipse IDE for Java Developers | |
a) Web deveopment addons | |
1) Eclipse -> Install New Software -> Work with '-All Available Sites-' | |
2) Under Web, XML, JavaEE and OSGi Enterprise Development | |
Select Eclipse Web Developer Tools | |
(Description: Eclipse Web Developer Tools, including HTML, JavaScript, CSS, XHTML, and more.) | |
b) JSHint: http://marketplace.eclipse.org/content/jshint-eclipse#group-details | |
c) Install Spot Bugs | |
1) http://spotbugs.readthedocs.io/en/latest/eclipse.html | |
OR | |
Add this repository https://spotbugs.github.io/eclipse/ | |
7) Dropbox | |
a) Take backup of Dropbox folder (it might save bandwidth) | |
Keep this 'Dropbox' folder in new system /home directory. | |
Don't keep the folder in drive other than the /home, dropbox complaining that Dropbox folder is not found. | |
Perhaps Dropbox is starting before OS mounting another drive. | |
b) Install 64 bit .deb drop box installer from https://www.dropbox.com/install?os=linux | |
For older version (may not be required for new version): | |
Note: This was not installed properly and after reboot Ubuntu 16.04 showed 'package broken' error | |
and asked to execute 'sudo apt-get install -f' command, this has fixed the problem. | |
or follow instructions at: https://www.linuxbabe.com/cloud-storage/install-dropbox-ubuntu-16-04 | |
c) Below issue seem to be fixed in new version | |
Issue: As of v37.4.29 Dropbox is starting automatically even though 'Start Dropbox on system startup' is unchecked. | |
Workaround: ~/.config/autostart -> right click on 'dropbox.desktop' -> Properties -> Change 'command' to 'dropbox stop' | |
In the Permissions tab change Access to read-only (so that this won't be overwritten) | |
d) Note: While moving Dropbox folder to another locaion 'F1', Dropbox always adds '/Dropbox' to the path. | |
So the final path will be 'F1/Dropbox'. | |
8) Artha (ditctionary) won't start automatically. | |
To start: clicl on Super key -> type 'Startup Applications' -> Add -> Name: Artha, Command: /usr/bin/artha | |
9) Add Onboard to startup. (similar to Arhta) | |
10) Vera Crypt mount may not work in Ubuntu 16.04 | |
sudo apt-get install dmsetup | |
More info: https://askubuntu.com/questions/886785/error-trying-to-open-veracrypt-container-veracryptprocessexecute108 | |
11) Install telugu font from here: http://fonts.siliconandhra.org/ | |
12) Install SM Player | |
VLC from https://www.videolan.org/vlc/download-ubuntu.html -> Click on 'Get it from Snap store' | |
13) Install 'SafeEyes' | |
sudo add-apt-repository ppa:slgobinath/safeeyes | |
sudo apt update | |
sudo apt install safeeyes | |
13) If ffmpeg is not latest, download latest static build from https://johnvansickle.com/ffmpeg/ | |
And create a symbolic link | |
sudo ln -s /media/../Softwares/ffmpeg/ffmpeg-4.0.1-64bit-static/ffmpeg /usr/bin/ffmpeg4 | |
14) Update .bashrc file (hidden file in '/home/<username>' folder): | |
To run 'some-jar-file.jar' from anywhere on the command line add this line | |
alias some-jar-file.jar='java -jar /<folder-path>/some-jar-file.jar' | |
export JAVA_HOME=/usr/lib/jvm/java-<version>-openjdk-amd64/ | |
export JFX_LIB=/<path>/JavaFX/javafx-sdk-11/lib/ | |
To run standalone executable (e.g. latest standalone 'ffmpeg' or 'youtube-dl') from anywhere on the command line | |
1. Create 'somebin' any where in the file system | |
2. Add 'somebin' to path | |
3. Create shorcuts to execubles in the 'somebin' directory | |
export PATH=$PATH:$JAVA_HOME/bin:/<folder-path>/somebin | |
15) Install 'Subtitle Editor (GNome)' | |
Configuration | |
1. Make sure video (View -> Video Player), Wave editor (View -> Waveform) and subtitles (View -> Timing (This defined what fields should b e visible. Can be configured using View -> View Editor -> Select Timing and check required fields) are visible | |
2. After opening the video, generate Waveform (Waveform -> Generate Waveform From Video) and save it for later use. | |
3. Options -> Preferences -> Timing -> Check 'Automatically hilight timing errors'. Also check and configure other preferences. | |
4. Options -> Configure Keyboard Shortcuts -> Add a shortcut to 'Play Selection' (click on the right end, it won't take space as shortcut) | |
Use up and down arrows to select a dialog and use above configured shortcut to play selection | |
16) Install Okular pdf viewer (faster than the default) | |
Pros: a. Pre load pages | |
Cons: a. No invert colors b. No autoscroll | |
17) Download shotcut AppImage https://github.com/mltframework/shotcut/releases | |
Also install cputool (or another tool cpulimit) to reduce cpu usage while exporting | |
While exporting video from shotcut, find high cpu usage process. i.e. qmelt | |
To limit a process CPU to 20% and the processor has 4 cores use value 80 for -c (4 * 20) | |
cputool -p <qmelt pid> -c 80 | |
e.g. cputool -p 19210 -c 80 | |
18) Reduce/change the time for OS selection menu in GRUB to 4 seconds | |
sudo gedit /etc/default/grub | |
Change GRUB_TIMEOUT=4 | |
Comment line with #. #GRUB_HIDDEN_TIMEOUT=0 | |
sudo update-grub | |
source: https://askubuntu.com/a/163877 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment