Removing WiFi or Bluetooth from Airplain Mode Android

Execute the following command in the command prompt or terminal:

adb shell

Then run the following command to prevent Airplane Mode from turning off WiFi:

settings put global airplane_mode_radios cell,bluetooth,nfc,wimax

Alternatively, you could do this command to prevent Airplane Mode from turning off WiFi and Bluetooth:

settings put global airplane_mode_radios cell,nfc,wimax

Each item we remove from the list tells Android to leave that radio on when Airplane Mode is toggled on. If you ever want to return things back to how they were, you can execute the following command in an ADB shell prompt:

settings delete global airplane_mode_radios

Explanation

Normally, Airplane Mode will shut off cellular, WiFi, NFC, Bluetooth and WiMAX (if it exists) radios, but removing one or more of these from the list with the ADB command shown in makes it so that it’s ignored. In the example, both WiFi and Bluetooth stay on when I enable Airplane Mode.

This is why the command only includes cellular, NFC, and WiMAX options. Since we’re leaving those two radios out of the ADB command (WiFi and Bluetooth in this case), Android will leave those radios alone when you toggle Airplane Mode on. You can use any combination here by leaving out any of these options, and even make it so that cellular radios stay on when you turn Airplane Mode on.

So you may want to know that there’s also a way to stop a device from turning on one of these radios when Airplane Mode has been enabled. The preference is controlled by changing the values in the global preference “airplane_mode_toggleable_radios”. For example, you can make it so that you are unable to turn WiFi back on if you choose by entering this command:

settings put global airplane_mode_toggleable_radios bluetooth,nfc

By default, the options given to this command are WiFi, Bluetooth, and NFC. But if you leave one of them out when executing the command above then you stop the device from turning that radio back on. This can be a good idea for a child’s smartphone or tablet, or even used as a fail safe to make sure the radio isn’t turned back on when Airplane Mode is on. This feature will likely be less useful than the one detailed in the big guide above, but it’s something that you may want to be aware of.

Sauce: XDA

Touchpad fix on dell xps 13 9360

Dell XPS 13 and 15 laptops with Ubuntu 16.04 installed, you may experience an issue with the touchpad where the cursor behaves erratically and jumps around on the screen.
This is caused by multiple drivers loading in the Ubuntu 16.04 environment. This issue can be resolved by blacklisting, or disabling, one of the drivers through a terminal

Fix

sudo nano /etc/modprobe.d/xps13-9360.conf

Dell removed the super button

How to enable the Ubuntu super key on Dell OEM Ubuntu installations
The guide below provides one method to enable the menu button and map its function to open the dash.

Open Terminal

sudo apt-get remove dell-super-key –y

Install compiz-configuration

sudo apt-get install compizconfig-settings-manager -y

Remove the input rule that blocks the super key from being mapped

sudo rm –rf /usr/share/gconf/defaults/40_oem-superkey-workaround

Reboot the computer and log in.

sudo reboot

Open ccsm

In CCSM, also known as Compiz Config Settings Manager, find the Ubuntu Unity Plugin.
Click on the Launcher tab.
Click on the button to the right of the first option labeled key to show the dash.
On the Edit Key dialogue box, un-check the Enabled setting.
Click OK.

dell xps 13 ubuntu 16.04

Dells XPS 13 with ubuntu have a problem out of the box there is a problem with upgrading ubuntu, due to “appstream” and you only get a bunch of errrors

E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'
E: Sub-process returned an error code
E: Sub-process returned an error code

Easy fix is a removal of libappstream3

sudo apt-get remove libappstream3

Google GPG Error Ubuntu

Problem

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: dl.google.com/linux/chrome/d… stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E

W: Failed to fetch dl.google.com/linux/chrome/d… The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E

W: Some index files failed to download. They have been ignored, or old ones used instead.

Fix

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

OpenSSL in Debian Unstable drops TLS 1.0/1.1 support (debian.org)

Kurt just uploaded a version of OpenSSL to unstable that disables
the TLS 1.0 and 1.1 protocol. This currently leaves TLS 1.2 as the
only supported SSL/TLS protocol version.

This will likely break certain things that for whatever reason
still don’t support TLS 1.2. I strongly suggest that if it’s not
supported that you add support for it, or get the other side to
add support for it.

OpenSSL made a release 5 years ago that supported TLS 1.2. The
current support of the server side seems to be around 90%. I hope
that by the time Buster releases the support for TLS 1.2 will be
high enough that I don’t need to enable them again.

https://lists.debian.org/debian-devel-announce/2017/08/msg00004.html

These rocks are rocking


Creation of graphic artist Rense de Boer, a technical art director at Battlefield developer DICE for several years, de Boer wanted to explore the boundaries of real-time rendering. He struck out on his own to focus on “pushing our limitations, or at least take another approach at how we create content for games to see how far we can take it,”

Sauce: https://motherboard.vice.com/en_us/article/wj8myy/god-damn-these-are-some-good-looking-computer-rocks