Skip to content

Instantly share code, notes, and snippets.

@kurtis318
kurtis318 / Installing_Oracle_Java_on_Mint.txt
Created February 23, 2018 15:27
Installing Oracle Java on Mint
REF: https://launchpad.net/~webupd8team/+archive/ubuntu/java
http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html
The above pages are what I used to install Oracle JVM on Mint.
Here are the commands I used. The removal of openjdk is not needed.
sudo apt-get update && apt-get remove openjdk*
sudo add-apt-repository ppa:webupd8team/java
@kurtis318
kurtis318 / Disable_Ditto_App_msgs_on_Win10
Created February 22, 2018 04:18
Disable Ditto App msgs on Win10
REF: https://sourceforge.net/p/ditto-cp/discussion/287511/thread/47974e6c/
I am using Windows 10 more these days. I am getting use the interface and like the Windows Subsystem for Linnux.
I installed the Ditto app from the MS Store. It is open source and has lots of features for a clipboard manager.
I do not like the startup message when Win10 starts and when I copy and paste test/things.
@kurtis318
kurtis318 / Linux_VNC_crashed_immediately_in_Remmina.txt
Created January 19, 2018 22:02
Linux VNC crashed immediately in Remmina
I have been using Remmina on Linux for a number of years. I experienced Linux VNC session starting and then crashing immediately for a number of years. I finally decided to figure it out. A quick Google showd the following issue in Github FreeRDP:
https://github.com/FreeRDP/Remmina/issues/699
Title: VNC window immediately closes after connection attempt
Turns out crashing is happens when I run High color 15bbp (color depth) and a Linux Mint 18.3 KVM on Fedora had Cirrius video with VNC server.
When I set color depth High color (24 bbp) no more crashing.
Wonder if this will fix periodic crashes during other X-Window events which I cannot re-create on demand.
@kurtis318
kurtis318 / Turn_off_Fast_Startup_in_Windows_10.txt
Created December 31, 2017 18:05
Turn off Fast Startup in Windows 10
I have an old dual core AMD Dell Inspiron 519 that does not support the fast startup in Windows 10.
Found the following article that was very helpful:
https://www.tenforums.com/tutorials/4189-turn-off-fast-startup-windows-10-a.html
Summary:
1. Settings-->Power & sleep-->Additional power settings--?Change what the power button does-->
Change settings that are currently not available
@kurtis318
kurtis318 / SearchingGists.txt
Created December 29, 2017 01:37
Searching Gists
Found the following post:
https://stackoverflow.com/questions/21202428/is-there-a-url-query-string-for-searching-own-github-gists
Here is a URL I used:
https://gist.github.com/search?q=user%3Akurtis318+exfat
@kurtis318
kurtis318 / Fixed_F27_broken_bluetooth.txt
Created December 19, 2017 06:24
Fixed F27 broken bluetooth
There appears to be an issue with Intel BT HW and wifi. If you disable wifi, then BT starts to work
Enabling wifi kills bluetool.
Here is a solution that appears to work.
[root@kwrp50 kurtis] # cat /etc/modprobe.d/iwlwifi.conf
# per bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1500407
# Disabled wireless manually, turned off BT and then back on and then
# devices showed up and paired. Turning wifi on broke BT connection.
options iwlwifi bt_coex_active=0
@kurtis318
kurtis318 / disable_git_command_openssh_popup.txt
Last active December 21, 2024 12:47
disable git command openssh popup
I always get a popup window asking for my Git userid and another for the password.
The input fields are about 2 characters. Would rather not do it at all.
Here is a web site that has a solution:
REF:https://stackoverflow.com/questions/34396390/git-windows-disable-password-prompt-ui-but-get-password-prompt-from-shell
git config --global core.askPass ""
or
git -c core.askPass="" clone <https_url>
@kurtis318
kurtis318 / apt_equivalents_for_yum_commands.txt
Last active December 17, 2017 08:03
apt equivalents for yum commands
I always have occasion to map yum commands to apt equivalents. Guess I'm lazy but here is a web site that has a good list.
REF: https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux/RedHatEnterpriseLinuxAndFedora
FILE:
@kurtis318
kurtis318 / 20_newest_oldest_files_in_a_directory.txt
Created December 6, 2017 15:33
20 newest/oldest files in a directory
REF: https://asifrehan.com/finding-oldest-newest-file-folder-linux
find . -type f -name "*.sh" -printf '%T+ %p\n' | sort |head -n 20
find . -type f -name "*.sh" -printf '%T+ %p\n' | sort -r |head -n 20
Replace . with the directory path.
@kurtis318
kurtis318 / Amazon_Music_on_F27_and_Firefox_52.txt
Created November 28, 2017 06:51
Amazon Music on F27 and Firefox 52
A few Firefox releases ago, Amazon Music stopped working on Fedora 25+. I saw a message about requiring Flash plugin which I knew would be a short term fix.
The following Reddit thread gave be an idea to install a Firefox add-on to change the user-agent.
REF: https://www.reddit.com/r/firefox/comments/79b8m7/amazon_music_player_finally_works_without_flash/
I went to the Firefox 52 Menu->Add-ons->"See more add-ons!" botton at bottom of page. Search for "user agent" (without double quotes)
I installed "User-Agent Switcher" by Linder. It gave me an icon in the Firefox icon tray (next to uBlock Origin). Clicking on this I set the following settings only:
Select a desktop browser: Firefox