小编Gle*_*son的帖子

如何在 17.10 和 18.04 中启用/添加窗口边框?

我打开了多个带有黑色背景的终端窗口,当它们重叠时,黑色背景上的黑色阴影完全丢失。对于任何具有黑色背景的窗口来说,这都是一个问题。我曾经修改过 unity.css 来添加窗口边框,但是 17.10 是 Gnome 并且不再起作用了!我也没有在设置 UI 中看到任何 Gnome 主题控件。

适用于 Ubuntu 17.04,但不适用于 17.10

编辑/usr/share/themes/Ambiance/gtk-3.20/apps/unity.css和更改

-UnityDecoration-extents: 28px 0 0 0;
Run Code Online (Sandbox Code Playgroud)

-UnityDecoration-extents: 28px 2 2 2;
Run Code Online (Sandbox Code Playgroud)

不起作用:gnome-terminal.css

编辑 /usr/share/themes/Ambiance/gtk-3.20/apps/gnome-terminal.css

@define-color terminal_border #ff0000;

vte-terminal.terminal-screen {
    -TerminalScreen-background-darkness: 0.95;
    background-color: @terminal_bg;
    color: #fff;
    border-width: 1px 1px 0px 1px;
    border-color: @terminal_border;
}
Run Code Online (Sandbox Code Playgroud)

不起作用:gnome-applications.css

编辑/usr/share/themes/Ambiance/gtk-3.20/apps/gnome-applications.css

TerminalScreen {
    background-color: @theme_base_color;
    color: @theme_fg_color;
    -TerminalScreen-background-darkness: 0.95;
    border-bottom-width: 2px;
    border-right-width: 2px;
    border-left-width: 2px;
}

TerminalWindow GtkNotebook.notebook {
    border-bottom-width: 2px;
    border-right-width: 2px;
    border-left-width: …
Run Code Online (Sandbox Code Playgroud)

gnome-terminal window borders gnome-shell 18.04

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

在 Ubuntu 17.10 上挂起后无法登录

几天前在我的 Lenovo Thinkpad Edge 上全新安装了 Ubuntu 17.10(使用不同分区上的现有主目录)。

当我关闭盖子并将其置于睡眠状态时,唤醒它时我无法再登录。有时它会花费很长时间检查密码,然后说密码错误。有时我什至无法在密码框中输入任何内容。为了解决这个问题,我必须关闭并重新启动。重新启动时登录总是可以正常工作。

有什么帮助吗?

login-screen suspend 17.10

8
推荐指数
1
解决办法
6241
查看次数