Category Archives: Linux

DLNA 大法好,蓝牙转发大法也好

笔记本上的视频懒得四处复制了再看,于是 DLNA 拯救你,ps3 media server 一开,找个播放器看就是了…最简易的方案,用 VLC 就好,Android,Sailfish (也是 Android 的 App 啦,毕竟能跑的程序相对有限),Linux 都可以。 因为平时还抢了老婆的 iPhone 用…所以 iPhone 上也费劲找了个播放器。而且果然是付费的靠谱…否则解码都成问题… 耳机只能配两个设备,自己手机一个,笔记本一个,想换配对设备还要进配对模式重新搞,怎么办…iPhone 蓝牙转发到笔记本上……于是就这么凑合着连了三个设备。 不过延迟就比较悲剧,凑合用呗。反正都是为了方便床上看……

Posted in Linux | 4 Comments

One bad API in sd-bus

I’m using sd-bus to develop the dbus part for fcitx5, because I’d like to seamlessly support kdbus in the future. (Don’t argue with me about bsd or sth else right now, for now I don’t care about that.) But one … Continue reading

Posted in fcitx development, Linux | Tagged , | Leave a comment

RFC: a new solution to Input Method + Keyboard Layout

This is not related to KDE itself, but I’d like to hear some opinion from keyboard layout users, especially from those who use more than one keyboard layout. Right now I’m designing a new feature for fcitx (for people who … Continue reading

Posted in KDE, Linux | Tagged | 11 Comments

Use Jolla Phone to share Wifi via USB

Recently I got a new Surface Pro 4, and starts to use it as my main laptop. I’m glad that it can work with Linux quite well. But it does have some issue that I can’t live with: wifi will … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

同一台电脑的 Linux/Windows 系统的蓝牙连接同一个设备

http://ubuntuforums.org/showthread.php?t=1479056 方法从这里找到的,不过在这里有少许区别。 情况是这样的,如果你有同一个蓝牙设备,想要同时在 Windows / Linux (或者多个 Linux 系统)使用,你会发现在一个系统下配对之后,在另一个系统连接时会连接失败。因为蓝牙在配对后会生成一个 key,而这个 key 在不同的系统下并没有共享。 那么问题就是怎么修改/读取这个 key 了。 Windows 下,key 保存在注册表中。我没有尝试,但是上面的链接提到即使管理员模式也无权访问?所以改为从 Linux 下读取注册表的方式访问Key 。从 Linux 下面也可以使用方便的工具 chntpw 读取。首先备份一个 Windows\System32\config\SYSTEM 文件,然后使用 chntpw 即可读取。我的 key 在 \ControlSet001\Services\BTHPORT\Parameters\Keys\[Bluetooth adapter MAC address]\[Bluetooth device MAC address] 下。 在执行 … Continue reading

Posted in Linux | Tagged , | 1 Comment