AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-364698

Philippe Fanaro's questions

Martin Hope
psygo
Asked: 2024-10-10 06:06:55 +0800 CST

Wine 转换应用程序 (Fox Weiqi) 不显示中文 (或 CJK) 字符

  • 6
此悬赏已结束。回答此问题的人员有资格获得+50声誉悬赏。悬赏宽限期将在6 小时后结束。psygo 希望引起更多人对此问题的关注:
如果您能帮我修复混乱的布局,同时保留当前的中文字体,那就太好了。

我能够用 Wine 完美运行福克斯围棋客户端(国外版)。

没有 CJK 字符

而且我可以在应用程序上正常输入和查看 CJK 字符(我使用 FCITX)。

Wine 默认不能访问这些字符吗?

我的 Mac (Sequoia) 也出现了同样的情况。

我刚刚尝试了另一个答案,但是在安装结束时出现了一些错误:

$ ./winetricks corefonts gdiplus riched20 riched30 wenquanyi     

...


10/10 12:20:17 [ERROR] CUID#7 - Download aborted. URI=https://web.archive.org/web/20160710055851if_/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe
Exception: [AbstractCommand.cc:340] errorCode=2 Timeout.

10/10 12:20:17 [NOTICE] Download GID#e8dd5e0f2cd2c309 not complete: /home/phili/.cache/winetricks/msls31/InstMsiW.exe

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
e8dd5e|ERR |       0B/s|/home/phili/.cache/winetricks/msls31/InstMsiW.exe

Status Legend:
(ERR):error occurred.

aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
Executing cd /home/phili/.cache/winetricks/msls31
Downloading https://web.archive.org/web/2000/https://web.archive.org/web/20160710055851if_/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe to /home/phili/.cache/winetricks/msls31

10/10 12:20:18 [NOTICE] Downloading 1 item(s)
[#fd45bf 0B/0B CN:1 DL:0B]                                                                            
10/10 12:21:03 [ERROR] CUID#7 - Download aborted. URI=https://web.archive.org/web/2000/https://web.archive.org/web/20160710055851if_/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe
Exception: [AbstractCommand.cc:340] errorCode=2 Timeout.

10/10 12:21:03 [NOTICE] Download GID#fd45bfa35a4b4a14 not complete: /home/phili/.cache/winetricks/msls31/InstMsiW.exe

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
fd45bf|ERR |       0B/s|/home/phili/.cache/winetricks/msls31/InstMsiW.exe

Status Legend:
(ERR):error occurred.

aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
------------------------------------------------------
warning: Downloading https://web.archive.org/web/2000/https://web.archive.org/web/20160710055851if_/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe failed
------------------------------------------------------

后来的编辑警告我有关32位和64位的东西:

./winetricks regedit                                                                             ─╯
Executing cd .
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20240105-next - sha256sum: 65d5aaffa155adcb1883aa71fb7e14a90a899dcac11e66e6ff368de40f3f0a79 with wine-9.19 and WINEARCH=win64
ERROR: ld.so: object '/usr/${LIB}/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/${LIB}/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/${LIB}/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

而且,重新安装之后,程序的布局变得非常混乱:

福克斯搞砸了

现在我甚至不确定如何正确地恢复它。

当我尝试从终端使用 Wine 运行安装程序时,在完成安装并进入奇怪的布局之前,我得到了以下结果:

遇到错误

╭─    ~/Other Software/Fox Weiqi ────────────────────────────────────────────── ✔  16:33:08  ─╮
╰─ wine64 fox_install.exe                                                                           ─╯
ERROR: ld.so: object '/usr/${LIB}/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open 
shared object file): ignored.
0120:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0120:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0120:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
ERROR: ld.so: object '/usr/${LIB}/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

╭─    ~/Other Software/Fox Weiqi ─────────────────────────────────────── ✔  7s   16:33:46  ─╮
╰─ 0130:fixme:nls:RtlGetThreadPreferredUILanguages 00000034, 0259F6B8, 0259F728 0259F6C0            ─╯
0130:fixme:nls:get_dummy_preferred_ui_language (0x34 0x409 0259F6B8 0259F728 0259F6C0) returning a dummy value (current locale)
0130:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0130:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0130:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0130:fixme:shcore:SetCurrentProcessExplicitAppUserModelID L"Client.AppID.NoVersion": stub
0130:fixme:msvcrt:_set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
0130:fixme:nls:RtlGetThreadPreferredUILanguages 00000034, 0259F9E4, 0259FA54 0259F9EC
0130:fixme:nls:get_dummy_preferred_ui_language (0x34 0x409 0259F9E4 0259FA54 0259F9EC) returning a dummy value (current locale)
0130:fixme:shell:InitNetworkAddressControl stub
0130:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0130:fixme:win:RegisterTouchWindow hwnd 000200E4, flags 0 stub!
0174:fixme:ver:GetCurrentPackageId (1B0FFF10 00000000): stub
0130:fixme:win:RegisterTouchWindow hwnd 00010144, flags 0 stub!
0194:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0194:fixme:toolhelp:Heap32ListFirst : stub
0130:fixme:uxtheme:BufferedPaintInit Stub ()
01bc:fixme:ver:GetCurrentPackageId (29D7FF10 00000000): stub
0130:fixme:uxtheme:BufferedPaintUnInit Stub ()
0130:fixme:msvcrt:__clean_type_info_names_internal (78BEA300) stub
0130:fixme:msvcrt:__clean_type_info_names_internal (78886BE4) stub
0130:fixme:msvcrt:__clean_type_info_names_internal (7A510E54) stub
arch-linux
  • 1 个回答
  • 58 Views
Martin Hope
psygo
Asked: 2024-10-10 01:16:14 +0800 CST

向 Rofi 添加 Wine `.lnk` 程序

  • 5

我可以将一个程序(KaTrain) — — 和我一起安装pipx— — 添加到 Rofi 中,遵循这个很好的答案:

[Desktop Entry]
Exec=/home/phili/.local/bin/katrain
Type=Application
Categories=Go
Name=KaTrain

但是现在,我正在尝试添加另一个程序(Fox Weiqi),我只能通过 Wine 来安装它。

[Desktop Entry]
Exec="wine /home/phili/Other\ Software/Fox\ Weiqi/Fox\ Go\ Server.lnk"
Type=Application
Categories=Go
Name=Fox Weiqi

如果我在终端上使用 Wine 命令,它确实有效。(我正在使用 Archcraft。)

wine
  • 1 个回答
  • 18 Views
Martin Hope
psygo
Asked: 2024-02-22 04:44:37 +0800 CST

在 Arch Linux 上重新安装 PostgreSQL 后仍无法启动

  • 5

自从我上次在 Arch Linux 桌面上使用 PostgreSQL 以来已经有几个月了,显然,在进行一些更新之后,肯定有什么东西坏了。如果我询问服务的状态,我会得到 ( systemctl status postgresql):

× postgresql.service - PostgreSQL database server
     Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Wed 2024-02-21 16:00:22 -03; 1h 28min ago
        CPU: 54ms

fev 21 16:00:22 phili systemd[1]: Starting PostgreSQL database server...
fev 21 16:00:22 phili postgres[11667]: An old version of the database format was found.
fev 21 16:00:22 phili postgres[11667]: See https://wiki.archlinux.org/index.php/PostgreSQL#>
fev 21 16:00:22 phili systemd[1]: postgresql.service: Control process exited, code=exited, >
fev 21 16:00:22 phili systemd[1]: postgresql.service: Failed with result 'exit-code'.
fev 21 16:00:22 phili systemd[1]: Failed to start PostgreSQL database server.

我已经尝试过以各种方式重新安装。但主要是这样的:

pacman -Rsn postgresql
rm -rf /var/lib/postgres
pacman -Syu postgresql  

我正在安装的版本是最新的 16,但我已经在 14 上尝试过所有这些。是的,我已经多次尝试重新启动我的电脑。

arch-linux
  • 2 个回答
  • 31 Views
Martin Hope
Philippe Fanaro
Asked: 2024-01-09 04:42:50 +0800 CST

`setxkbmap kr` 没有做任何事情?

  • 6

我正在尝试向 ArchLinux 桌面上的多语言设置添加配置,但韩语似乎没有执行任何操作,尽管它列在setxkbmap.

如何像其他语言一样进行设置?

到目前为止,我所做的基本上是这样的:

# For US International:
setxkbmap -layout us -variant intl

# Or for just US:
setxkbmap us

为什么这不起作用:

setxkbmap kr

我是否缺少 (Pacman/AUR) 包?

linux
  • 1 个回答
  • 22 Views
Martin Hope
Philippe Fanaro
Asked: 2023-02-21 23:53:06 +0800 CST

pgAdmin4 无法在 Linux (Arch) 上启动

  • 6

安装 pgAdmin4 后sudo pacman -Sy pgadmin,当我尝试运行它时,它卡在了开始屏幕上:

pgAdmin 的启动屏幕

它甚至没有在视觉上关闭 ( xorg),我需要用 来完成killall pgAdmin4。从终端启动时,我得到的错误日志是这样的:

QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
Semaphore name: "pgadmin4-philippe-a59283b86ae8ae85d20fdf770d799dd7-sema"
Shared memory segment name: "pgadmin4-philippe-a59283b86ae8ae85d20fdf770d799dd7-shmem"
Python path:  "/usr/lib/python3.10:/usr/lib/python3.10/lib-dynload:/usr/lib/python3.10/site-packages"
Python Home:  "/usr/lib/python3.10"
Webapp path:  "/usr/lib/pgadmin4/web/pgAdmin4.py"
^C"An error occurred initialising the pgAdmin 4 server:\n\nFailed to launch the application server, server thread exiting."

在此处输入图像描述

我也试过通过安装pip,但都是一样的。现在,我正在使用 pgAdmin4 的容器化图像。

linux
  • 1 个回答
  • 40 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve