5月 25, 2020

Firefox iPadOS User Agent Problem

Have been using Firefox on iPad for a year now.
Did not know since when, websites have begun to discriminate Firefox iOS.

For a while ago, I usually uses WhatsApp for web in desktop mode, it could perfectly send and receive new messages.  But now, it won't work, the website just keep saying my browser is out-dated, please update to other browser.

I do not know what is this happening, until I found the user agent seems to be changed.

So from now on, the desktop mode is basically broken.  Major sites like Google, Zhihu, Quora just won't work fine with it, forcing me to use the mobile version.

fixed now: https://bugzilla.mozilla.org/show_bug.cgi?id=1587388

9月 07, 2019

TP-link WiFi r8188eus turn on AP

 I had quite a hassle to bring my TP-link WiFi with r8188eus chip working on my Ubuntu desktop as an AP, while most tutorials only shows how to do that on raspberry pi.  Here I am going to show you how it is done.


 My PC:
Linux 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID:    Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:    bionic


1. Go to /etc/modprobe.d create blacklist for r8188eu (the one shipped by default)
1.1 rmmod r8188eu
2. Download https://github.com/quickreflex/rtl8188eus/ and follow the steps
3. insmod 8188eu (what you just make install)
4. Now, we can use Networkmanager for wifi-hotspots, on Ubuntu or other desktop os.

12月 15, 2017

Notebook: Manjaro mount iso

https://forum.manjaro.org/t/iso-mounting-unmounting-issue/22293

Below content retrieved from ArchWiki

Unmounting

To unmount the image, use fusermount -u mountpoint, it works fine even with many other unmount tools like pumount or umount. The fusermount -u command can be used to disconnect any other storage devices that were mounted by other mount tools.

Using with GNOME Files

For users of GNOME there is an easy way of using fuseiso from the nautilus-context menu. First you will need the filemanager-actions package, then you need to save the following scripts to a folder of your choice (eg. /usr/local/bin):
filemanager-actions-iso-mount.sh
 #!/bin/bash
 
 FILE=$(basename "$1")
 MOUNTPOINT="$HOME/Desktop/$FILE"
 
 fuseiso -p "$1" "$MOUNTPOINT"
filemanager-actions-iso-umount.sh
 #!/bin/bash
 
 FILE=$(basename "$1")
 MOUNTPOINT="$HOME/Desktop/$FILE"
 
 fusermount -u "$MOUNTPOINT"
and make them executable:
chmod +x /path_to_scripts/filemanager-actions-iso-*
Now, start fma-config-tool (System > Preferences > Nautilus Actions Configuration).
Add a new action with the following settings:
  • Label: Mount ISO
  • Icon: A symbol of your choice (eg: gtk-cdrom)
  • Path: /path_to_scripts/filemanager-actions-iso-mount.sh
  • Parameters: %F
  • Working directory: %d
  • Basenames: *.iso ; *.nrg ; *.bin ; *.img ; *.mdf (for each add a seperated entry)
  • Match case: "must match one of"
  • Mimetypes: */*
With this action you can mount ISO-images to your Desktop. It will create a folder in ~/Desktop with the name of the iso. fuseiso will mount the iso to this folder.
And a second one:
  • Label: Unmount ISO
  • Icon: A symbol of your choice (eg: gtk-cdrom)
  • Path: /path_to_scripts/filemanager-actions-iso-umount.sh
  • Parameters: %F
  • Working directory: %d
  • Basenames: *.iso ; *.nrg ; *.bin ; *.img ; *.mdf (for each add a seperated entry)
  • Match case: "must match one of"
  • Mimetypes: */*
This second action will unmount the mounted iso and remove the folder from the desktop.
Sometimes you have to logout to be able to mount any image of the given types simply by right clicking it in Files and selecting Mount ISO. To unmount it again, just right click the corresponding folder on your desktop and select Unmount ISO.

11月 24, 2017

Notebook: Usual playlist

YouTube Playlist

Adagio
https://www.youtube.com/watch?v=BuIo8dtYyDM&list=PL3B501FED7582681A
Post 80s 
https://www.youtube.com/watch?v=Hm1cQlvBTz0&list=PLrdQYFkJU6391Ew74naqHsSJZ-JRysFrg
ChilledCow
https://www.youtube.com/channel/UCSJ4gkVC6NrvII8umztf0Ow/featured
Chilled Hop
https://www.youtube.com/user/Chillhopdotcom



Photography
chilledcow-banner
https://www.flickr.com/photos/110941763@N07/


8月 26, 2017

Ubuntu zesty retroarch vulkan issue

To test vulkan, I decided to install retroarch and see how much I can get.
However, in ubuntu, there is a missing link preventing retroarch from launching with vulkan.

To solve this, do the following commands.
cd /usr/lib/x86_64-linux-gnu/
ln -s libvulkan.so.1 libvulkan.so

8月 20, 2017

Opensuse Tumbleweedinstall steam with working tray icon.

 Tumbleweed is yet another rolling distribution.  Although comes with a ultra-useful GUI YaST, it takes lots of procedures to tame it and use it like an easier distro like Manjaro which has lots of pre-written scripts on AUR to ease things up.

 Here, I will go through the procedures required to get Steam working properly.
After installing all required proprietary drivers,

1. install libdbusmenu-gtk
zypper in libdbusmenu-gtk4.i586
2. Click Oneclick install
https://software.opensuse.org/ymp/home:opensuseitalia/openSUSE_Tumbleweed/steam.ymp?base=openSUSE%3AFactory&query=steam
3. Install steamtricks and enable it.
#zypper in steamtricks

Finally, enjoy your games.