[archlinux][plasma][screensaver] plasma5配置屏保程序,没成功(-_-#)

 

plamsa用了好久,一直没有屏保。我想要玄酷的屏保!

用xscreensaver, 之前用FVWM2的时候,就用过了,很玄酷。

一,安装

  pacman -S xscreensaver

二,配置

  xscreensaver-demo 是图形的,可以配置。会自动写入~/.conf/xscreensaver

三,配置自启动

  ln -s /usr/share/applications/xscreensaver-properties.desktop ~/.config/autostart/xscreensaver-properties.desktop

四,与KDE联动, man xscreensaver 里边是这么说的:

USING KDE
       Like GNOME, KDE also decided to invent their own screen saver framework from scratch instead of simply using xscreensaver.  To replace the KDE screen saver
       with xscreensaver, do the following:

           1: Turn off KDE's screen saver.
              Open the "Control Center" and select the "Appearance & Themes / Screensaver" page.  Un-check "Start Automatically".

           2: Find your Autostart directory.
              Open the "System Administration / Paths" page, and see what your "Autostart path" is set to: it will probably be ~/.kde/Autostart/ or something sim‐
              ilar.

           3: Make xscreensaver be an Autostart program.
              Create a .desktop file in your autostart directory called xscreensaver.desktop that contains the following five lines:

              [Desktop Entry]
              Exec=xscreensaver
              Name=XScreenSaver
              Type=Application
              X-KDE-StartupNotify=false

           4: Make the various "lock session" buttons call xscreensaver.
              The file you want to replace next has moved around over the years. It might be called /usr/libexec/kde4/kscreenlocker, or it might be called "kdesk‐
              top_lock"  or  "krunner_lock"  or  "kscreenlocker_greet",  and  it  might be in /usr/lib/kde4/libexec/ or in /usr/kde/3.5/bin/ or even in /usr/bin/,
              depending on the distro and phase of the moon.  Replace the contents of that file with these two lines:

              #!/bin/sh
              xscreensaver-command -lock

              Make sure the file is executable (chmod a+x).

       Now use xscreensaver normally, controlling it via the usual xscreensaver-demo(1) and xscreensaver-command(1) mechanisms.

  然而找不到第四步里的进程,没有办法替换。。。 放弃了。。。。

 

转载于:https://www.cnblogs.com/hugetong/p/6692857.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值