小编Men*_*hak的帖子

如何在 Ubuntu 14.04 中设置 LightDM 壁纸?

在以前版本的 Ubuntu 中,选择默认壁纸之一意味着您也会在登录屏幕上看到它。

我现在正在全新安装 Ubuntu 14.04,LightDM 壁纸似乎设置为/usr/share/backgrounds/warty-final-ubuntu.png. 它忽略了其他任何事情。

我尝试通过右键单击桌面并选择默认设置之一(例如对应于 的设置/usr/share/backgrounds/Forever_by_Shady_S.jpg)来设置墙纸。然后我重新启动,但 LightDM 壁纸仍然是默认的紫色壁纸。

我查看了以下位置的日志文件/var/log/lightdm/x-0-greeter.log

[+0.10s] DEBUG: background.vala:483: Regenerating backgrounds
[+0.10s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/warty-final-ubuntu.png at 1920x1200,1440x900
Run Code Online (Sandbox Code Playgroud)

wiki页面似乎是过时了,因为它正指向14.04不再存在的配置文件的位置。

我确实设法找到了一些潜在的配置文件,/usr/share/lightdm/lightdm.conf.d/但那里的文件不包含任何特定的路径位置,所以我不确定如何继续。

我知道 LightDM 的挑剔 - 所以这是关于 Ubuntu 附带的默认壁纸,所有壁纸都具有全局读取权限,并且没有加密或在单独的驱动器上。

终端中的配置文件,截图

wallpaper lightdm unity-greeter 14.04

10
推荐指数
2
解决办法
5万
查看次数

如何将自定义项添加到 nautilus 上下文菜单中,但不在子菜单中?

我有兴趣向 Nautilus 上下文菜单添加自定义脚本。我知道解决方案,例如 Scripts 文件夹和 Nautilus Actions 应用程序。

我在 Nautilus Actions 中创建了一个测试操作,但它只出现在“Nautilus-Actions 操作”子菜单下。

我希望能够将一个项目添加到上下文菜单本身的根级别(与剪切、复制、保管箱、压缩...处于同一级别)而不是在子菜单中。

Nautilus Actions 可以做到这一点吗?

如果不是,还有其他办法吗?(如果它涉及编码或奇怪的配置更改,那也没关系)

nautilus 12.04 nautilus-actions

9
推荐指数
1
解决办法
3857
查看次数

如何通过命令行将 gnome-terminal 配色方案设置为“Solarized Dark”?

在 Ubuntu 17.04 中,gnome-terminal 使用“来自系统主题的颜色”

在此处输入图片说明

我正在寻找一种 bash/脚本方式来修改它,我想让 gnome-terminal 使用 Solarized 主题。这意味着,取消选中“使用系统中的颜色”并从内置方案中选择 Solarized Dark。

在此处输入图片说明

我能够列出可以获取/设置的可能键:

UUID=$(gsettings get org.gnome.Terminal.ProfilesList default | tr -d \')
gsettings list-keys org.gnome.Terminal.Legacy.Profile:/$UUID/
Run Code Online (Sandbox Code Playgroud)

这是我得到的列表,但我不知道要设置其中的哪一个来获得 Solarized Dark。

audible-bell
cursor-shape
scroll-on-keystroke
cursor-colors-set
cjk-utf8-ambiguous-width
default-size-rows
encoding
use-theme-colors
custom-command
visible-name
login-shell
exit-action
use-system-font
rewrap-on-resize
backspace-binding
foreground-color
bold-color-same-as-fg
background-transparency-percent
cursor-blink-mode
default-show-menubar
default-size-columns
background-color
palette
cursor-foreground-color
allow-bold
use-theme-transparency
highlight-foreground-color
font
delete-binding
scrollback-unlimited
use-transparent-background
cursor-background-color
highlight-background-color
scroll-on-output
scrollbar-policy
use-custom-command
bold-color
highlight-colors-set
scrollback-lines
word-char-exceptions
Run Code Online (Sandbox Code Playgroud)

我尝试将其设置为 true/false,但没有任何区别

gsettings set org.gnome.Terminal.Legacy.Profile:/$UUID/ use-theme-colors false
Run Code Online (Sandbox Code Playgroud)

command-line gnome-terminal 17.04

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