小编cfi*_*cfi的帖子

How can I show the output of a shell command in a gnome panel or the top menu bar?

The top bar in a classic gnome desktop shows menus (top left), then some freely configurable panel space, and on the top right a somewhat configurable panel space with system status icons, date/time, username and such.

With big monitors today, the top bar is wide enough to show a lot of empty space. Since this bar also is tall enough to host text, I would like to make use of that space to show some more status information.

Particularly I'm …

gnome shell gnome-panel

7
推荐指数
1
解决办法
1072
查看次数

如何在 vi 中将两个不同的操作绑定到 Ctrl-Shift-Key 和 Ctrl-Key

我正在尝试将两个不同的操作映射到 egCtrlShiftaCtrla

map <C-S-a>    :echo "ctrl-shift-a received"<CR>
map <C-a>      :echo "ctrl-a received"<CR>
Run Code Online (Sandbox Code Playgroud)

但是当按下这两个中的任何一个时,我得到的只是状态行中的输出“ctrl-a received”。显然,vi 看不到大写控制字符和小写控制字符之间的区别。

有没有办法改变这种情况?

我在 xterm (X.Org 6.8.99) 中运行 vi (v7.4)。

keyboard-shortcuts vim xterm

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

如何删除拆分器并保留一个 ui 元素

由于 foobar2000 的拆分器 UI 元素是为两个相邻 ui 元素提供空间的容器,因此在移除拆分器时,两个相邻元素也将被移除。但通常,在重新排序布局时,我想保留两者之一。如果可以“移除”分离器,我可以“剪掉”要保留的那个。不幸的是,“剪切”是唯一的删除操作,因此在“剪切”拆分器时会覆盖备份的 ui 元素。

因此,在保留两个相邻 ui 元素之一的同时,没有明显的方法可以删除拆分器,是吗?

foobar2000 layout

4
推荐指数
1
解决办法
1万
查看次数