February 28, 2018

Fix Brave Browser Sandbox in Debian/Ubuntu


icon
Brave is a super-quick privacy-focused ad-blocking modern web-browser.

Problem: Cannot run Brave web-browser
$ brave
[7970:7970:0228/075800.525306:FATAL:zygote_host_impl_linux.cc(126)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
Aborted

Solution:
sudo su
echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/00-local-userns.conf
service procps restart
exit

Source: https://community.brave.com/t/how-to-solve-no-sandbox-error-on-debian-based-linux-distros/3363

Please consider my Brave affiliate links to support my Youtube publications:
Excuse Me While I Nerd
Thibodaux Area Aerials


~~
As always, Good Luck!

Please consider crypto tipping:
  

February 24, 2018

Lost or Stolen Mobile Device Location Services (Find My Device)

Lost or Stolen Mobile Device Location
(Modern Devices 2014 2015 2016 2017 2018)


In the event of lost or stolen devices, it is best to have your device prepared ahead of time.

Below are the "native" ways to do, but I will also present two other free services afterward.  Generally your device has to be powered on and have connectivity.  Some services offer a last seen location.

Android

To prepare your Android device, install "Device Manager" from the Google Play Store. Login with your Google account and approve location sharing if necessary. You may need to turn on Settings->Location Access+GPS+WiFi. If you have multiple Android devices, this app will also help locate your other devices.

In the event of a lost or stolen device, visit https://www.google.com/android/devicemanager and login with your Google account that was used to setup the device. Device Manager allows you to locate, ring, lock or erase your device. (You may have to "Setup Lock & Erase" First.)

iOS

To prepare your iPhone or iPad, go to Settings->iCloud. Login if necessary (use your Apple account) and pan down to "Find my iPhone" (or iPad) and turn it on. Also turn on "Send Last Location". You may need to turn on Settings->Privacy->Location Services also.

In the event of a lost or stolen device, visit https://www.icloud.com/#find to locate your device.

3rd Party

Now although the above certainly work, I personally don't want to be limited to only this.

I also recommend both Prey (https://preyproject.com/) and Lookout (https://www.lookout.com/).

Prey is a free location/anti-theft app for up to three devices including laptop computers. If lost or stolen, visit https://panel.preyproject.com/app where you can locate, lock, erase, send an alert, or sound an alarm. Prey may also be able to access the front facing camera.

Lookout is a free antivirus, backup, and device-location app with additional paid backup features. Once installed and configured, visit https://www.lookout.com/d/missingDevice to locate, lock, erase, or sound an alarm.

Plan B (https://faq.lookout.com/categories/20504137-plan-b) offered by Lookout.com may also help you locate your Android device if you have not configured any previous location services.

Good luck!

Please consider crypto tipping:
  

February 22, 2018

Custom Mime File Type Icon in XFCE Thunar


I wanted to associate a custom icon for my old .PSP files in XFCE, but had no clue how.  Thanks to https://unix.stackexchange.com/questions/23776/how-to-change-a-file-type-icon-in-xfce-thunar, I was able to do it easily.



Firstly create a custom icon, then save it into ~/.local/share/icons/.  (Alternatively, with sudo/root access try /usr/share/icons/. For example, mine was ~/.local/share/icons/pspimage.png.

Then create a new mime xml in your user’s ~/.local/share/mime/packages/. For example, mine was ~/.local/share/mime/packages/pspimage.xml. (Alternatively, for system-wide, try /usr/share/mime/packages/.)

Which contained:
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
  <mime-type type="application/octet-stream">
    <comment>PaintShop Pro Image</comment>
    <glob pattern="*.psp"/>
    <glob pattern="*.pspimage"/>
    <generic-icon name="pspimage"/>
    <icon name="pspimage"/>
  </mime-type>
</mime-info>

Then simply update your system: (Alternatively, as sudo/root, perform same as below in /usr/share/mime/packages/.)
cd ~/.local/share/mime && update-mime-database $PWD

Refresh your Thunar view and viola.



~~
As always, good luck!

Please consider crypto tipping: