gpt4 book ai didi

linux - LXDE : Change text in logout session

转载 作者:太空宇宙 更新时间:2023-11-04 10:20:29 24 4
gpt4 key购买 nike


我已经在我的 Ubuntu PC(不是 Lubuntu)上安装了 LXDE。我想更改注销 session 中的文本。默认文本是“注销 LXDE session ?”。但我想个性化它。我已经更改了注销 session 的图片。你能帮助我吗?非常感谢。
弓星

最佳答案

我还不知道如何彻底永久地解决这个问题,但是你可以创建一个新的注销对话框:

  1. 创建一个文件夹,然后在其中用鼠标右键单击以创建一个名为“temp-lubuntu-logout”的新空文件(一个简单的 txt 文件)(您可以在之后更改文件名工作总结。

  2. 粘贴此文本,更改项目以适合您的选项:

!/bin/sh

lxsession-logout --prompt "您的自定义消息"--banner "您的 Logo "\ --side "left | top | right | bottom (logo的位置)"

  1. 使用终端打开您的 temp-lubuntu-logout 文件所在的文件夹,并使用以下命令使其可执行:

sudo chmod +x temp-lubuntu-logout

就是这样!您刚刚创建了一个脚本文件!

  1. 要验证它是否正常工作,请在终端中写入:

./temp-lubuntu-注销

(不要忘记/之前的点)

现在我帮不了他们了。您需要将此脚本链接到应用程序的命令。或者您可以使用新脚本文件更改 lubuntu-logout 脚本(例如,您可以将原始脚本重命名为“former-lubuntu-logout”,将文件重命名为“lubuntu-logout”。可能是“lubuntu-logout"文件是/usr/bin)。

https://crisnepita.wordpress.com/2012/08/12/cambiar-un-poco-la-ventana-de-cerrar-sesion-en-lubuntu/

https://unix.stackexchange.com/questions/170029/command-to-log-out-of-lxde-directly/171880

http://tunealxde.blogspot.pt/2015/02/tunea-el-dialogo-de-cierre-de-sesion-de.html

关于linux - LXDE : Change text in logout session,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44083159/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com