我的问题与Make wmctrl ignore other-than-current workspace's windows非常相似。
事实是我使用 XFCE 所以wmctrl实际上看到了更多的桌面。
petr@sova:~$ wmctrl -d
0 * DG: 1600x900 VP: 0,0 WA: 62,21 1538x879 1
1 - DG: 1600x900 VP: N/A WA: 62,21 1538x879 2
2 - DG: 1600x900 VP: N/A WA: 62,21 1538x879 3
3 - DG: 1600x900 VP: N/A WA: 62,21 1538x879 4
4 - DG: 1600x900 VP: N/A WA: 62,21 1538x879 5
5 - DG: 1600x900 VP: N/A WA: 62,21 1538x879 6
6 - DG: 1600x900 …Run Code Online (Sandbox Code Playgroud) 有很多关于如何在 Unity 和 Gnome 中更改默认文本编辑器的教程。Xubuntu/XFCE 没有。
如何将所有鼠标垫的关联更改为 sublime 文本?
我知道我可以安装 Unity Tweak Tool,但这会加载很多依赖项,包括 compiz。我不想要那个。
我知道我可以右键单击一个文件并执行“打开方式”。我愿意更改很多文件类型(ruby、php、html、css、js、coffee 等),所以也不是这样。
update-alternatives 也不是这样:
There are 4 choices for the alternative editor (providing /usr/bin/editor).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/vim.gtk 50 auto mode
1 /bin/ed -100 manual mode
2 /bin/nano 40 manual mode
3 /usr/bin/vim.gtk 50 manual mode
4 /usr/bin/vim.tiny 10 manual mode
Press enter to keep the current choice[*], or type selection number:
Run Code Online (Sandbox Code Playgroud) 重新安装 Ubuntu 12.04 后,我遇到了一个奇怪的问题。每当我插入闪存键、Kindle 等设备时,我都能看到它,但无法写入。设备的所有者说/media/usb0是root。
当我尝试以 root 身份编写时,例如。sudo cp或通过 root 特权文件管理器,它可以工作,但非常慢。
什么会导致这样的事情?
编辑:我的 /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid …Run Code Online (Sandbox Code Playgroud) 我想xfce4-power-manager通过终端更改设置(在 AC 上关闭笔记本电脑盖时要做什么),以便我可以分配一个键盘快捷键来执行此操作。

有没有办法做到这一点?类似于dconf-editor setgnome..
好的,我在~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml. 但是改变它没有任何作用。我如何重新加载xfce4-power-manager?我试过了,xfce4-power-manager --restart但这没有帮助。
我有一个启动驱动器,我不想在 nautilus 中显示它。如何编辑/etc/fstab以使引导驱动器不显示为可安装设备。

当前/etc/fstab:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=595815c2-d882-4ec8-a2cd-cce70471167c / ext4 …Run Code Online (Sandbox Code Playgroud) 是否有命令/快捷方式可以隐藏所有弹出的通知?我的一些脚本会生成不会自动隐藏的通知,您必须单击它们。
我想要一个键盘快捷键,而不必点击每一个。
假设我有以下文件:
foo.coffee
foo.js
bar.js
Run Code Online (Sandbox Code Playgroud)
rm *.js如果有相应的.coffee文件,是否有一种简单的方法?在示例中,这样的命令将删除foo.js离开:
foo.coffee
bar.js
Run Code Online (Sandbox Code Playgroud)
我正在寻找某种rm包装,因为我需要执行递归rm -r.
启用用户主题扩展后,无法启动 Gnome Tweak Tool 。
当我从终端尝试时,输出是:
petr@sova:~$ gnome-tweak-tool
(gnome-tweak-tool:6475): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.extensions.user-theme' is not installed
Trace/breakpoint trap (core dumped)
Run Code Online (Sandbox Code Playgroud)
Gnome Tweak Tool 在没有用户主题的情况下也能正常工作。
Ubuntu 12.04,gnome-shell 3.4.1
相关(封闭)问题:https : //askubuntu.com/questions/91512/gnome-tweak-tool-doesnt-start
xfce ×4
xubuntu ×3
command-line ×2
12.04 ×1
13.04 ×1
bash ×1
devices ×1
filename ×1
filesystem ×1
fstab ×1
gnome ×1
mount ×1
notification ×1
permissions ×1
rm ×1
search ×1
themes ×1
wmctrl ×1
xfwm4 ×1