小编Chr*_*man的帖子

16
推荐指数
2
解决办法
2万
查看次数

为什么xinit会自动启动xterm?

当我运行时:xinit [client application] -- :128 vt01 -novtswitch我注意到除了我的客户端应用程序之外,它还启动了一个 xterm 实例。根据手册页:

   ...

   If no specific client program is given on the command line, xinit  will
   look  for a file in the user's home directory called .xinitrc to run as
   a shell script to start up client programs.  If no  such  file  exists,
   xinit will use the following as a default:

        xterm  -geometry  +1+1  -n  login  -display  :0

   ...
Run Code Online (Sandbox Code Playgroud)

我认为“如果”是这里的关键词。我已经指定了我自己的客户端程序;为什么它仍然运行 xterm?

这是在我刚刚创建的干净的 Mint 12/mate 虚拟机中。

linux xorg x-server

5
推荐指数
0
解决办法
2846
查看次数

tmux 或 screen 的无套接字替代方案

我的大学在他们的 AFS 上为每个学生提供了一个可通过 SSH 访问的目录。有一个(轻量级)CLI 驱动的软件,我想在大学里持续运行。

我以为我可以通过 SSH 通过屏幕运行软件,分离,然后在需要访问 CLI 时从任何其他 SSH 会话重新连接。但是, screen 和 tmux 不起作用,因为它们的功能依赖于套接字,并且不能在 AFS 空间上创建套接字。(见https://bugzilla.redhat.com/show_bug.cgi?id=676663

我的帐户没有特权,但可以访问可用于在本地编译和运行事物的工具链。

有什么好的解决办法吗?

linux gnu-screen afs sockets tmux

5
推荐指数
1
解决办法
496
查看次数

Gnome 3 窗口的菜单加速器

在大多数窗口管理器中,按 alt+space 会调出窗口上下文菜单。通常情况下,上下文菜单项是使用通航home/ endpgup/ pgdn,和菜单加速器(所以,说alt+ spacecalt+ spacepgdn可能会关闭窗口)

在 Gnome 3 中,您仍然可以使用alt+打开窗口菜单space,但导航键没有任何作用,并且似乎没有任何菜单加速器。

您如何重新添加这些菜单加速器?

如果没有,是否还有其他窗口管理器在具有菜单加速器的功能方面具有可比性?

keyboard-shortcuts gnome window-manager window context-menu

5
推荐指数
1
解决办法
824
查看次数