Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

Monday, February 10, 2020

Restore Google Chrome and Firefox Bookmarks from a backup

I had an issue with my Hackintosh, so that it wouldn't boot anymore. However I was able to mount the disk of the machine to another newly built Hackintosh which helped me to access the files of the troubled Hackintosh.

First I plugged the disk to the new Hackintosh

For Google Chrome,


1. Navigate to below location of the disk,

/Volumes/<volume name> - Data/Users/<username>/Library/Application Support/Google/Chrome/Default

2. There should be two Bookmark files in the directory:'Bookmarks' and 'Bookmarks.bak'

3. Check the latest by executing diff command

4. Copy the latest to below location of your new machine

/Users/<username>/Library/Application Support/Google/Chrome/Default


For Firefox,


1. Navigate to below location of the disk,

/Volumes/<volume name> - Data/Users/<username>/Library/Application Support/Firefox/Profiles/wzghbr3j.default/bookmarkbackups


2. There should be multiple files in the directory.
e.g.:

bookmarks-2020-02-08_744_<some-encoded-values>.jsonlz4
bookmarks-2020-02-09_744_<some-encoded-values>.jsonlz4


3. Pick the latest file and copy it to the desktop


4. Open Firefox, Select Bookmark and then Show All BookMarks


5. Click on Restore and then select choose file


6. Select the file from the Desktop

Sunday, November 4, 2018

Configure Google Chrome to stop opening 5353 port for listening

Today I have noticed that Google Chrome opens a UDP listening port 5353 whenever I open the browser.
After searching about it, I found this solution shuts down the port,

Create a file under /etc/opt/chrome/policies/managed directory

e.g.:  blockport.json

Add this line to the file,
{ "EnableMediaRouter": false }

Finally it will look like this,
[root@localhost ~]# cat /etc/opt/chrome/policies/managed/blockport.json
{ "EnableMediaRouter": false }



Restart the browser. It will not open the port anymore.

Source: https://unix.stackexchange.com/questions/187294/chromium-browser-pepperflashplugin-opening-listening-ports-on-0-0-0-05353


Update,
For latest Google Chrome instances, Above method didn't work and I have found out that disabling "Show notifications when new printers are detected on the network" shutdown port 5353. Please note that I'm using Version 81.0.4044.129 (Official Build) (64-bit) on MacOS

Monday, October 16, 2017

LineageOS on Galaxy Tab 2 7 AKA P3113

A few days a go I wanted to install an application from google play store on my Galaxy Tab 2 7 Tab. The device had an old stock Android version (Jelly Beans) and it refused to install the application as the application required a newer version of Android OS.

Then I remembered Cyanogenmod which was very popular a few years ago. It could install a new Android version on my tab. After searching about the project I learnt that it was shutdown last year. Fortunately it has been reborn as "LineageOS".

I decided to install LineageOS on my tab. I used my Fedora desktop to upload and flash the required software. The process was straightforward and it's well documented in LineageOS wiki pages.

The OS is still delivered as nightly builds, but I haven't experienced any issues with it so far. The build is as stable as a standard stable release.

You can install Google applications (Open GApps) after just installing the OS. Those applications are not bundled with the OS due to licensing restrictions. Applications such as Google Play Store are available with Open GApps.

After installing the OS, I have tried several applications such as Google Chrome and YouTube. The results are amazing. I'm experiencing smooth scrolls, quality video play, etc. LineageOS offers a way better experience than the old Android stock OS on the Galaxy Tab 2 7.

I think this is the best thing happened to my Tab. I should have done this a long time ago.