我刚刚更新到 Ubuntu 13.10,非常不喜欢随附的 Nautilus 3.8。在 Ubuntu 13.04 中,我使用了本文恢复 Nautilus 3.4 中的一些功能,但不幸的是,这不再起作用了。我特别怀念用 F3 分割窗口以同时显示两个文件夹。我也觉得新的搜索功能很糟糕。
我检查了 Nemo,但我更愿意降级到 Nautilus 3.4。
答案1
我打算冒险回答这个问题,因为我现在觉得我已经收集了足够的信息。基本上降级到 Nautilus 3.4 似乎目前没有选择;它是为早期版本的 GTK 编写的,因此无法在 Ubuntu 13.10 上编译。唯一可行的方法是安装不同的文件浏览器。
当它发生的时候,尼莫实际上是 Nautilus 3.4 的一个分支,保留了后者的所有功能(添加了一些功能)。我从昨天开始使用它,界面几乎相同,对用户来说是一个无缝过渡。因此,安装 Nemo 与降级到 Nautilus 3.4 相差不大。我还没有这样做,但可以将 Nemo 设置为默认文件浏览器。
我在 Nautilus 3.4 中使用的所有功能似乎在 Nemo 中都能正常运行(例如连接到服务器)。目前唯一的例外是与 RabbitVCS 的集成,有一个可用的包但目前无法使用。由于 RabbitVCS 也无法在 Nautilus 3.8 上运行,因此它不是回归。
更新II:无需安装 Cinnamon,只需安装 Nemo 包:
sudo apt-get install nemo
更新I:Nemo 的外观可以调整为更接近默认 Unity 样式。打开其 css 文件:
sudo gedit /usr/share/themes/Ambiance/gtk-3.0/apps/nemo.css
然后将所有内容替换为以下内容:
.nemo-pathbar-button,
NemoPathbarButton {
background-image: -gtk-gradient(linear, left top, left bottom,
color-stop (0, shade(@dark_bg_color, 1.1)),
color-stop (.3, shade(@dark_bg_color, 1.1)),
color-stop (.7, shade(@dark_bg_color, 0.90)),
color-stop (1, shade(@dark_bg_color, 0.80)));
border-color: shade(@dark_bg_color, 0.7);
-NemoPathbarButton-border-radius: 3px;
}
NemoPathbarButton:active {
background-image: -gtk-gradient(linear, left top, left bottom,
color-stop (0, shade(@dark_bg_color, .8)),
color-stop (.3, shade(@dark_bg_color, .9)),
color-stop (1, shade(@dark_bg_color, 1.0)));
border-color: shade(@dark_bg_color, 0.7);
}
NemoPathbarButton:hover {
background-image: -gtk-gradient(linear, left top, left bottom,
color-stop (0, shade(alpha(@dark_bg_color, 1.4), 1.25)),
color-stop (.3, shade(alpha(@dark_bg_color, 1.4), 1.25)),
color-stop (.7, shade(alpha(@dark_bg_color, 1.4), 0.95)),
color-stop (1, shade(alpha(@dark_bg_color, 1.4), 0.85)));
border-color: shade(@dark_bg_color, 0.7);
}
NemoWindow * {
-GtkPaned-handle-size: 1;
}
NemoDesktopWindow GtkWidget {
background-color: @transparent;
}
.nemo-canvas-item {
border-radius: 4px;
}
/* desktop mode */
.nemo-desktop.nemo-canvas-item {
color: @bg_color;
text-shadow: 1px 1px alpha (#000000, 0.8);
}
.nemo-desktop.nemo-canvas-item:active {
background-image: none;
background-color: alpha (@bg_color, 0.84);
color: @fg_color;
}
.nemo-desktop.nemo-canvas-item:selected {
background-image: none;
background-color: alpha (@selected_bg_color, 0.84);
color: @selected_fg_color;
}
.nemo-desktop.nemo-canvas-item:active,
.nemo-desktop.nemo-canvas-item:prelight,
.nemo-desktop.nemo-canvas-item:selected {
text-shadow: none;
}
/* browser window */
NemoTrashBar.info,
NemoXContentBar.info,
NemoSearchBar.info,
NemoQueryEditor.info {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@cluebar_color, 1.02)),
to (shade (@cluebar_color, 0.98)));
background-color: @cluebar_color;
border-bottom-color: shade (@cluebar_color, 0.92);
border-radius: 0;
border-style: solid;
border-width: 0px 0px 1px 0px;
box-shadow: inset -1px 0px shade (@cluebar_color, 1.02),
inset 1px 0px shade (@cluebar_color, 1.02),
inset 0 1px shade (@cluebar_color, 1.04),
inset 0 -1px shade (@cluebar_color, 1.01);
}
NemoTrashBar.info:backdrop,
NemoXContentBar.info:backdrop,
NemoSearchBar.info:backdrop,
NemoQueryEditor.info:backdrop {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@cluebar_color, 1.01)),
to (shade (@cluebar_color, 0.99)));
background-color: @cluebar_color;
border-bottom-color: shade (@cluebar_color, 0.92);
box-shadow: inset -1px 0px shade (@cluebar_color, 1.01),
inset 1px 0px shade (@cluebar_color, 1.01),
inset 0 1px shade (@cluebar_color, 1.02),
inset 0 -1px shade (@cluebar_color, 1.0);
}
NemoSearchBar .entry {
}
.nemo-cluebar-label {
font: bold;
text-shadow: 0 1px shade (@cluebar_color, 1.06);
}
.nemo-cluebar-label:backdrop {
color: mix (@fg_color, @cluebar_color, 0.2);
text-shadow: 0 1px shade (@cluebar_color, 1.02);
}
#nemo-search-button *:active,
#nemo-search-button *:active:prelight {
color: @dark_fg_color;
}
NemoFloatingBar {
background-color: @info_bg_color;
border-radius: 3px 3px 0 0;
border-style: solid;
border-width: 1px;
border-color: darker (@info_bg_color);
}
NemoFloatingBar .button {
-GtkButton-image-spacing: 0;
-GtkButton-inner-border: 0;
}
/* sidebar */
NemoWindow .sidebar,
NemoWindow .sidebar .view {
background-color: shade (@bg_color, 0.95);
/*background-color: @bg_color;*/
color: @fg_color;
text-shadow: 0 1px shade (shade (@bg_color, 0.95), 1.04);
}
NemoWindow .sidebar .frame {
border-width: 1px 0 0 0;
border-style: solid;
border-color: shade (@bg_color, 0.86);
border-radius: 0;
}
NemoWindow .sidebar:backdrop,
NemoWindow .sidebar .view:backdrop {
color: mix (@fg_color, shade (@bg_color, 0.95), 0.2);
text-shadow: 0 1px shade (shade (@bg_color, 0.95), 1.02);
}
NemoWindow .sidebar row:selected {
color: @selected_fg_color;
text-shadow: 0 1px shade (@selected_bg_color, 0.8);
}
NemoWindow .sidebar row:selected:backdrop {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (shade (@bg_color, 0.95), 0.94)),
to (shade (shade (@bg_color, 0.95), 0.86)));
border-top-color: shade (shade (@bg_color, 0.95), 0.88);
color: @fg_color;
text-shadow: 0 1px shade (shade (@bg_color, 0.95), 0.96);
}
NemoWindow .pane-separator {
background-color: shade (shade (@bg_color, 0.95), 0.94);
border-color: @dark_bg_color;
border-style: solid;
border-width: 0;
box-shadow: none;
}
NemoWindow .pane-separator:backdrop {
background-color: shade (shade (@bg_color, 0.95), 0.96);
}