Xubuntu, fastboot, ADB and Redmi Note 7 adventures

Install adb and fastboot:

sudo su
apt-get update
apt-get install android-tools-adb android-tools-fastboot -y

Supposed your phone device bootloader is unblocked:

– Settings –> About Phone –> MIUI version and MIUI Version 7 Times
– Settings –> Additional Settings –> Developer Options and check “OEM unlocking” [should be already checked] and “USB debugging.”… Read the rest

How to change firefox default tab size and fix wonky tab behavior

Under your profile folder create a chrome/ folder

cd /home/`whoami`/.mozilla/firefox/*default*
mkdir chrome
cd chrome

Create userChrome.css file

touch userChrome.css

Update userChrome.css with the following lines:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
.tabbrowser-tab:not([pinned]) {
max-width: 80px !important;
}
.tabbrowser-tab:not([pinned]):not([fadein]) {
max-width: 0.1px !important;
}

 

Restart firefox and enjoy

Source:
https://www.askvg.com/how-to-customize-and-change-width-or-length-of-tabs-in-mozilla-firefox/Read the rest

How to downgrade to Firefox 56.0

Backup your current settings if needed

cp -rp .mozilla/ .mozilla_bk

Purge current firefox

sudo apt-get purge firefox -y

Download 56 version

wget https://ftp.mozilla.org/pub/firefox/releases/56.0/linux-x86_64/en-US/firefox-56.0.tar.bz2

sudo su

tar -xvf firefox-56.0.tar.bz2

cp -rp firefox /opt/

cd /usr/bin

ln -s /opt/firefox/firefox firefox

Finally, you have to avoid upgrading to the newer version.… Read the rest

Xubuntu fixing Skype video upside down

To check how its going close your Skype session and run the following from the inside your command line:

bash -c 'LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype'

Its working…

Go ahead and update your Skype luncher on you panel with this line to start fixed Skype

You may create executable file to run Skype session

#!/bin/bashRead the rest

How to upgrade your WordPress to the latest version via command line

It may fix various problems with your WordPress

First of all backup your files and database

Enter your www/ folder

cd /home/USER/public_html

Download/extract and replace files using latest WordPress version from an original source

wget https://wordpress.org/latest.zip

unzip latest.zip

rsync -avz wordpress/* ./
Read the rest

Upgrade guake on Xubuntu 14.04, 18.04.1 LTS

I’ve upgraded my guake from 0.4.0 to 0.5.0 as it was glitched after release upgrade

Download the latest version from https://github.com/Guake/guake/

Install dependience:

sudo apt-get build-dep guake

Use the following source list in case you got “Unable to find a source package for guake” error

Don’t forget backup your current list /etc/apt/sources.listRead the rest