我经常与 Pidgin 一起使用几个聊天室。每次我想加入他们时,我都需要弹出“加入聊天”对话框,选择正确的帐户,然后输入聊天室名称。有时,某些服务器信息不存在,因此我也需要输入。
我希望有一种方法可以简单地将聊天室保存在联系人列表中,这样我只需单击它即可重新加入聊天。在那儿?
有没有办法在 Slack Desktop 应用程序中使用深色主题?特别是背景为深色(黑色、深灰色)且文本为浅色的地方。Slack 中有一些内置主题,但它们都是浅色的。
我想从命令行打开一个 URL,并在已经运行和响应的 Firefox 实例中将其作为新选项卡或窗口打开。我正在使用 Debian 的 Sid 分支。如果我执行以下操作:
第 1 学期:
$ firefox
Run Code Online (Sandbox Code Playgroud)
在第 2 学期:
$ firefox 'http://www.google.com'
Run Code Online (Sandbox Code Playgroud)
更新:我也试过 -new-tab 和 -new-window,但我得到了相同的结果。
$ firefox -new-tab 'http://www.google.com'
Run Code Online (Sandbox Code Playgroud)
我收到消息:
Firefox is already running, but is not responding. To open a new window,
you must first close the existing Firefox process, or restart your system.
Run Code Online (Sandbox Code Playgroud)
这在之前已经讨论过(例如这里和这里),但是,我不想杀死现有的 Firefox 实例(它做得很好)并且我不想使用不同的配置文件。这与 Google Chrome 无缝协作。
我对如何启动 tmux 有点困惑。当我启动我的终端(当前的 gnome-terminal)时,我想让 tmux 启动并运行。
我目前通过在我的 .zshenv(有点像 bash 中的 .bashrc)中调用“tmux”来做到这一点。这确实启动了 tmux,但有一些恼人的副作用。首先,按 Ctrl-D 退出 shell,只会杀死 tmux,并使 tmux-less gnome-terminal 仍在运行。额外的 Ctrl-D 也会杀死它。其次,当使用此设置 ssh 进入一个框时,我得到了 tmux 的第二个嵌套实例。我不想在 ssh 时再次启动 tmux。
这是正确的方法,通常应该如何启动 tmux?
一段时间以来,我一直将 xmonad 与 Gnome 结合使用作为我的 Windows 管理器。我想用compiz就好了。有没有办法使用 Ubuntu 将两者结合起来?
我当前正在设置 tmux,通过执行以下操作将窗口标题更新为当前运行命令的名称:
set-option -g set-titles on
set-option -g set-titles-string '#S:#I.#P #W' # window number,program name,active (or not)
set-window-option -g automatic-rename on # auto name
Run Code Online (Sandbox Code Playgroud)
但是,当没有执行命令时,它只显示“N:zsh”(其中N是窗口号)。
有没有办法在没有执行命令时在窗口标题中显示路径的当前最后一个元素?因此,如果当前路径是/usr/src/linux,则窗口标题应为“N:linux”。
谢谢
我已经下载了tmux并尝试在 Ubuntu 10.04 上安装它。
$ ./configure
Configured for Linux
$ make
cc -DBUILD="\"1.3\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o attributes.o attributes.c
In file included from attributes.c:23:
tmux.h:30:19: error: event.h: No such file or directory
In file included from attributes.c:23:
tmux.h:831: error: field ‘name_timer’ has incomplete type
tmux.h:1025: error: field ‘key_timer’ has incomplete type
tmux.h:1086: error: field ‘event’ has incomplete type
tmux.h:1102: error: field ‘repeat_timer’ has incomplete type
tmux.h:1122: error: field ‘identify_timer’ has incomplete type
tmux.h:1125: error: field ‘message_timer’ …Run Code Online (Sandbox Code Playgroud)