Jump to...
redirecting...

Log for Ubuntu 台灣社群

我也有沒插電分析了三四年灰塵的
昨晚發現我的 vscode 吃不到輸入法@@
看來還是得找時間換 fcitx 看看有沒有相容
請問你是用 snap 的嗎
印象中不是,但晚點回家確認
一样美式😄
Ubuntu 24.04改动好大啊。在22.04可以用来修改gnome text editor 支持中文编码的方法到了24.04就不适用了,谁知道在Ubuntu 24.04里如何让gnome text editor 支持中文编码啊?现在打开在windows编辑的txt 文件就是乱码。
我直接一鍵轉碼utf8,杜絕中文亂碼
或者更換文字編輯器,kate可以直接識別gbk18030編碼,不會出現亂碼
我是,剛剛也才發現吃不到,fcitx 跟 ibus 都不行 🥲
已知 snap 版技術問題,請改用原生 Debian 軟體包安裝
fcitx 可以在 snap 上打字嗎
snapd 本身有實作支援,但是否能用要看打包者與應用軟體的實現是否有相容
AKA 不能用請跟 snap 發佈者回報問題
你們知道如何編譯gcc使用pgo嗎?
因為我這邊嘗試會出這個問題
configure: error: cannot perform the PGO bootstrap when building a compiler
config.log 看一下有沒有具體的錯誤
差點看成 console.log
JavaScript 寫太多 😂
configure:5250: g++ -V >&5
g++: error: unrecognized command-line option '-V'
g++: fatal error: no input files
compilation terminated.

`g++` 實作或版本不對
會不會是gcc自己的問題
(因為我沒有修改過代碼)
似乎那個是clang的指令
leonpano@leonpano-ProLiant-ML350-Gen9:~$ gcc -V
gcc: error: unrecognized command-line option ‘-V’
gcc: fatal error: no input files
compilation terminated.
leonpano@leonpano-ProLiant-ML350-Gen9:~$ clang -V
clang: error: argument to '-V' is missing (expected 1 value)
但我是不懂為什麼gcc會預設用clang的東西
至少從gcc-9到gcc-14 根本就沒有-V
clang 有做 gcc 相容性,所以會模擬一個假的 g++ 命令
請把 clang 移除或是修改 alternatives 系統配置把 g++ 指向真正的 g++
leonpano@leonpano-ProLiant-ML350-Gen9:~$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.2.0-23ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4)
說道打字問題,steamdeck 裡的 proton 裡跑的遊戲有人能按出輸入法嗎?(具體來說是 warframe)
好吧那應該是別的問題
我是在懷疑是gcc的問題了
https://ftp.gnu.org/gnu/gcc/gcc-14.2.0/
因為我是在嘗試compile gcc 14.2.0
可以試著拿新版 Autoconf 軟體重新建構 configure 程式看看還能不能重現問題
那應該就是上游問題了
畢竟configure並不是我產生的
但問題是太少人去用pgo了
Steamdeck的虛擬鍵盤輸入法是可以的