linux 上的 4.7 版能不能加一个旧式程序包?

现在基于 flatpak 的安装文件在 ubuntu 16.04 上一直不能用,打开界面一片空白。迟迟不能升级。而且安装 flatpak 需要很长时间。

旧式的包虽然大,运行还是很方便的。

提示:

Feb 13 18:25:46.828 DEBUG gephgui_wry: Logging configured!
entering wry loop
enter autoupdate loop
Feb 13 18:25:46.875 DEBUG agent_thread{id=0}: isahc::agent: agent took 441.259µs to start up
Gtk-Message: 18:25:47.776: Failed to load module "unity-gtk-module"
Gtk-Message: 18:25:48.392: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:25:48.437: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:25:52.078: Failed to load module "unity-gtk-module"
Feb 13 18:25:52.258 INFO gephgui_wry: Wry has started!
Gtk-Message: 18:25:52.365: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:25:52.366: Failed to load module "canberra-gtk-module"

(gephgui-wry:2): GLib-GIO-CRITICAL **: 18:25:53.112: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(WebKitWebProcess:32): Gdk-WARNING **: 18:25:56.960: The program 'WebKitWebProcess' received an X Window System error.
This probably reflects a bug in the program.
The error was '178'.
(Details: serial 192 error_code 178 request_code 154 (unknown) minor_code 21)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

1 个赞

实在不行你要不要考虑一下直接使用geph4-client?Linux下有没有界面都一样能用。

2 个赞

其实比起flatpak的安装支持包而言,原来的软件包真的不大,flatpak才是臃肿。整个系统,就为了geph装一个flatpak真心感觉很不爽,并且安装过程也麻烦,速度也慢得很。

会用linux的都会用命令行,shell才是精髓

都用LINUX了,直接用GEPH4-CLIENT写一个服务开机自启动不就好了么。反正UI也没有什么好看的。

我下载了 geph4-client 包,然后用什么命令运行?ubuntu 系统。
连个 readme 都没有。。

geph4-client本身就是程序包;
(以下在terminal中操作)
chmod +x geph4-client
./geph4-client connect -h
然后按说明加参数运行,如果看不懂,请使用翻译软件。

1 个赞

参考这两个教程
如果你熟悉Linux,可以写出相应的shell

1 个赞

我下的是源码包,运行:
~/Download/geph4-client-master$ cargo install geph4-client --locked
Updating crates.io index
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer; class=Net (12)
warning: spurious network error (1 tries remaining): [56] Failure when receiving data from the peer; class=Net (12)
error: failed to fetch https://github.com/rust-lang/crates.io-index

Caused by:
network failure seems to have happened
if a proxy or similar is necessary net.git-fetch-with-cli may help here
Configuration - The Cargo Book

Caused by:
[56] Failure when receiving data from the peer; class=Net (12)

应该怎样把 net.git-fetch-with-cli 加在命令行上?

~/Download/geph4-client-master$ cargo build --release --locked
error: failed to parse manifest at /home/Download/geph4-client-master/Cargo.toml

Caused by:
invalid type: unit variant, expected string only for key profile.release.strip

我是从 github 下的源码包,和你这个似乎不一样。

你说的这个是从哪里下的?

源码包需要编译的,不然只是一堆RUST源代码而不是可执行程序。

可执行程序从哪里下载?

client 也需要依赖 appimage和sh最好