This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| q 199964 4.8 0.5 11:10 00:16 /tmp/.mount_wechatFMECkn/opt/wechat/RadiumWMPF/runtime/WeChatAppEx\ --type=renderer\ --client_version=4067688715\ --enable-crash-reporter\ --wmpf_root_dir=/home/q/.xwechat/radium\ --crashpad-handler-pid=199375\ --is-subscription-disorder\ --wmpf-render-type=0\ --product-id=1002\ --disable-notifications\ --log-level=2\ --lang=zh-CN\ --num-raster-threads=4\ --enable-main-frame-before-activation\ --renderer-client-id=5\ --time-ticks-at-unix-epoch=-1772562558866178\ --disable-mojo-broker\ --launch-time-ticks=117647074162\ --shared-files=v8_context_snapshot_data:100\ --field-trial-handle=0,i,1534470393378672144,13793225663268623452,262144\ --enable-features=NetworkServiceMemoryCache,OverlayScrollbar,XWorker\ --disable-features=AudioServiceOutOfProcess,AutoupgradeMixedContent,BackForwardCache,DigitalGoodsApi,HardwareMediaKeyHandling,NotificationTriggers,PeriodicBackgroundSync,TFLiteLanguageDetectionEnabled,Vulkan,WebOTP\ --variations-seed-version | |
| q 199282 2.3 1.1 11:06 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| signal time=1767593707.988728 sender=org.freedesktop.DBus -> destination=:1.169 serial=4294967295 | |
| path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost | |
| string ":1.169" | |
| method call time=1767593719.033085 sender=:1.167 -> destination=:1.159 serial=1833 path=/org/freed | |
| esktop/portal/inputcontext/1; interface=org.fcitx.Fcitx.InputContext1; member=FocusIn | |
| signal time=1767593719.033174 sender=:1.159 -> destination=:1.167 serial=2174 path=/org/freedeskto | |
| p/portal/inputcontext/1; interface=org.fcitx.Fcitx.InputContext1; member=CurrentIM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [00:14:29]exwm-input--on-buffer-list-update: current-buffer=#<buffer *D-Bus explorer:session*> selected-window=#<window 21 on *D-Bus explorer:session*> | |
| [00:14:29]exwm-input--on-buffer-list-update: current-buffer=#<buffer *D-Bus explorer:session*> selected-window=#<window 21 on *D-Bus explorer:session*> | |
| [00:14:29]exwm-layout--refresh: frame=#<frame *D-Bus explorer:session* 0x57a2d61c2b50> | |
| [00:14:29]exwm-layout--refresh-workspace: Refresh workspace #<frame *D-Bus explorer:session* 0x57a2d61c2b50> | |
| [00:14:29]exwm-layout--show: Show #x2000003 in #<window 41 on firefox::how to solve emacs "exwm" mode key confict with override-global-map - Google Search — Mozilla Firefox> | |
| [00:14:29]exwm--set-geometry: Setting #x2000003 to 700x1032+700+0 | |
| [00:14:29]exwm-layout--set-state: id=#x2000003 | |
| [00:14:29]exwm-layout--set-client-list-stacking: | |
| [00:14:29]exwm-layout--refresh: frame=#<frame *D-Bus explorer:session* 0x57a2d61c2b50> | |
| [00:14:29]exwm-layout--refresh-workspace: Refresh workspace #<frame *D-Bus explorer:session* 0x57a2d6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [00:09:41]exwm-input--on-KeyPress: major-mode=exwm-mode buffer=firefox::how to solve emacs "exwm" mode key confict with override-global-map - Google Search — Mozilla Firefox | |
| [00:09:41]exwm-input--on-KeyPress-line-mode: (65507 . 0) | |
| [00:09:41]exwm-input--on-KeyPress: major-mode=exwm-mode buffer=firefox::how to solve emacs "exwm" mode key confict with override-global-map - Google Search — Mozilla Firefox | |
| [00:09:41]exwm-input--on-KeyPress-line-mode: (108 . 3) | |
| [00:09:41]exwm-input--mimic-read-event: | |
| [00:09:41]exwm-input--cache-event: 12 | |
| [00:09:41]exwm--on-PropertyNotify: atom=_NET_WM_USER_TIME(409) | |
| [00:09:41]exwm-input--on-PropertyNotify: | |
| [00:09:46]exwm--on-PropertyNotify: atom=_NET_WM_STATE(386) | |
| [00:09:46]exwm-input--on-PropertyNotify: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import dbus | |
| import dbus.mainloop.glib | |
| from gi.repository import GLib | |
| # Define the signal handler function | |
| def update_client_side_ui_handler(flags): | |
| """Handler for the UpdateClientSideUI signal.""" | |
| print(f"Received UpdateClientSideUI signal with flags: {flags}") | |
| # Add your custom logic here to update the client-side UI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # System Info: | |
| 1. `uname -a`: | |
| Linux mypc 6.6.59-1-lts #1 SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 06:29:43 +0000 x86_64 GNU/Linux | |
| 2. `lsb_release -a`: | |
| LSB Version: n/a | |
| Distributor ID: Arch | |
| Description: Arch Linux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (require 'dbus) | |
| (defvar fcitx-ic-path nil) | |
| (defvar fcitx-preedit-string "") | |
| (defvar fcitx-commit-string "") | |
| (defvar fcitx-candidates nil) | |
| ;; 1. Create Context | |
| (setq fcitx-ic-path | |
| (car (dbus-call-method :session |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| q@mypc:~$ dbus-monitor "interface='org.fcitx.Fcitx.InputContext1'" | |
| signal time=1767015961.017875 sender=:1.5 -> destination=:1.671 serial=5783 path=/org/freedesktop/portal/inputcontext/2; interface=org.fcitx.Fcitx.InputContext1; member=CurrentIM | |
| string "Pinyin" | |
| string "pinyin" | |
| string "zh_CN" | |
| method call time=1767015962.993409 sender=:1.671 -> destination=:1.5 serial=603 path=/org/freedesktop/portal/inputcontext/2; interface=org.fcitx.Fcitx.InputContext1; member=Reset | |
| method call time=1767015964.231803 sender=:1.671 -> destination=:1.5 serial=604 path=/org/freedesktop/portal/inputcontext/2; interface=org.fcitx.Fcitx.InputContext1; member=ProcessKeyEvent | |
| uint32 110 | |
| uint32 57 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HTTP/2 200 | |
| content-location: index.en.html | |
| vary: negotiate,accept-language,Accept-Encoding,cookie | |
| tcn: choice | |
| x-content-type-options: nosniff | |
| x-frame-options: sameorigin | |
| referrer-policy: no-referrer | |
| x-xss-protection: 1 | |
| permissions-policy: interest-cohort=() | |
| strict-transport-security: max-age=15552000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # symlinking.py need to be run under the root dir of the script | |
| import os | |
| from os import path, system | |
| def symlink(symlink_dir, symlink_name, relative_target_path): | |
| print("make symlink {} to {}".format(symlink_name, relative_target_path)) | |
| symlink = path.join(symlink_dir, symlink_name) |
NewerOlder