Category: Linux

  • Citrix Receiver UK Keyboard Layout Issue on Linux and Chrome OS

    I have this weird issue where my employer’s remote virtual desktop is configured in English (UK), and it works well in Windows with UK keyboard…

    Continue Reading →

  • Home Assistant Core Setup on Banana Pi M5

    There is no support for BananaPi M5 from Home Assistant OS, which leaves me either the container or the core version. Originally I was going…

    Continue Reading →

  • Chrome OS Flex on Samsung Galaxy Book Pro 360 Dual Boot

    Happy Chinese New Year (Year of Dragon/Loong) to you all! A New Year’s surprise from Google. The latest version of Chrome OS Flex finally supports…

    Continue Reading →

  • Flatpak Wine 微信安装手记

    这两天花了一点点时间来优化我的KDE Plasma 5桌面,顺便想起来Wine这个软件而且发现居然已经上架Flathub了!微信很长一段时间都能用Wine在Linux上跑起来,结合网上的一些优化教程,这里总结写一个2024版本的手记。 任何非Ubuntu发行版估计都已经自带支持flatpak而且配置好了flathub源了,flatpak简单来说就是Linux桌面软件的一种分发形式,相较于AppImage的最大区别就是有沙盒(sandbox)一定程度上保护宿主系统。 如果你只是对微信感兴趣,是否通过flatpak安装wine并不重要,我只是喜欢sandboxed wine, wine这个软件每次安装都是东一块西一块弄得文件系统很乱。废话不多说,首先安装好Wine: 如果不通过flatpak那就用你发行版的apt、dnf、pacman、zypper之类的安装好wine, 我安装的是flathub上23.08这个版本。flatpak发行的wine有一个麻烦的点就是,之后运行wine都要通过flatpak run org.winehq.Wine这个命令。而且文件系统结果和常规安装的wine会很不一样!所有和wine相关的东西基本都在$HOME/.var/app/org.winehq.Wine这个目录下。 Wine的中文字体显示问题,我直接从Windows那边把微软雅黑的三个字体文件拷贝过来然后点击打开KDE自带的字体管理程序安装到Linux系统了。然后运行winecfg 在Desktop Integration那里把所有的字体都替换成了微软雅黑。 好了, 现在可以下载微信Windows版的安装包一路Next安装好。启动运行先检查是不是字体显示正常没有方块。 最近的微信版本有一个WeChatAppEx.exe这个程序,在Linux下通过wine运行会占用大量CPU甚至导致桌面卡死……按照网上的建议,在winecfg里Libraries选项卡手动打入wechatappex.exe 然后Edit选择Disabled禁用掉。 然后一直以来一个很烦人的点就是微信Windows版实现的窗口阴影在Linux下会导致一个置顶的模糊窗口,不仅看起来很烦而且会导致GUI交互问题。这里有一个KDE桌面环境专属福利,安装并启用这个KWin Script就可以了! Flatpak安装的Wine不能创建桌面启动项,这里我们可以自己捏一个wechat.desktop文件放在~/.local/share/applications下,供参考这是我的文件内容: 最后祝大家2024新年快乐! 2024-02-26更新: 找到个更好用的flatpak:WineZGUI, 各位不妨试试

    Continue Reading →

  • FydeOS上手体验

    距离上次写与Chrome OS/Chromium OS相关的帖子又有一段时间了。之前提到了怎么用Brunch项目来运行原味的Chrome OS,奈何Brunch的内核和我的新笔电(Samsung Galaxy Book Pro 360)一直不是很兼容,主要两个痛点: 网上有人提到了FydeOS,于是这个周末抽了点时间来试试。剧透一下,感觉真不错!

    Continue Reading →

  • Banana Pi M5 Pro Quick Review

    My old ODROID-U3 has been giving me quite some headaches. Its old USB 2.0 ports and 100Mbps Ethernet port are also very limiting in 2023.…

    Continue Reading →

  • Chrome OS, Linux Containers and Application Launchers

    So I installed the great brunch framework on my laptop after a hiatus of a couple of months. I still dislike the fact that the…

    Continue Reading →

  • A New Termux Mirror

    TL; DR. https://termux.librehat.com is a new Termux packages mirror! Maintained by me, synchronised every six hours, located in the United Kingdom, hosted by Oracle Cloud.…

    Continue Reading →

  • Building Qt for Termux Android

    This is by all means, not the first blog post about Termux. It serves as a journal for myself, as well for anyone who’s interested…

    Continue Reading →

  • Fedora Linux with MATE Desktop on Android

    I know some of you geeks have already done something like that, running a GNU/Linux distribution on top of an Android device. It’s an interesting…

    Continue Reading →