Kali Rolling更换登录界面的背景

教程介绍如何为Kali Rolling操作系统更新登录界面的背景。需要创建exact.sh脚本,编辑gnome-shell-theme.gresource.xml和gnome-shell.css文件,并将修改后的文件复制到/usr/share/gnome-shell替换原有文件。
摘要由CSDN通过智能技术生成

网上都是2.0的,显然是不能再用了。在外网找到了一份。

新建一个exact.sh

#!/bin/sh

workdir=${HOME}/shell-theme/
if [ ! -d ${workdir}/theme ]; then
	mkdir -p ${workdir}/theme
fi
gst=/usr/share/gnome-shell/gnome-shell-theme.gresource

for r in `gresource list $gst`; do
	gresource extract $gst $r >$workdir${r#\/org\/gnome\/shell/}
done

gnome-shell-theme.gresource.xml
实际文件应该参考个人实际情况

<?xml version="1.0" encoding="UTF-8"?>
<gresources>
	<gresource prefix="/org/gnome/shell/theme">
		<file>calendar-arrow-left.svg</file>
		<file>calendar-arrow-right.svg</file>
		<file>calendar-today.svg</file>
		<file>checkbox-focused.svg</file>
		<file>checkbox-off-focused.svg</file>
		<file>checkbox-off.svg</file>
		<file>checkbox.svg</file>
		<fil
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值