最終更新: yper_calculate 2022年06月22日(水) 00:43:53履歴
参考URL:https://wiki.calculate-linux.org/calculate_decorat...
デスクトップへのログイン時、SDDMでパスワード入力しEnterを押すと一瞬fehが割り込んで別の画像が表示される。
ログインスプラッシュの背景とfehの背景を同じにしないと一瞬別画像に切り替わるため違和感がある。
fehの画像は
/etc/calculate/ini.envを編集することで変更できる。
デスクトップへのログイン時、SDDMでパスワード入力しEnterを押すと一瞬fehが割り込んで別の画像が表示される。
ログインスプラッシュの背景とfehの背景を同じにしないと一瞬別画像に切り替わるため違和感がある。
fehの画像は
/etc/calculate/ini.envを編集することで変更できる。
[theme] # Login screen image. Preferred size 4266x2048 ; dm-splash-background = /usr/share/themes/Calculate/dm-splash.jpg上記を以下のように設定する
[theme] # Login screen image. Preferred size 4266x2048 dm-splash-background = /usr/share/themes/Mytheme/SDDMと同じ画像.jpgコメント;を外すこと
編集したら以下のコマンドを発行する。
#cl-setup-themes
この方法が一番手っ取り早い
SDDMの背景、スプラッシュの背景、デスクトップの背景をKDEの設定から変えるだけで良い
/usr/share/calculate/xdm/login.d/00initの以下の部分をコメントアウトする。
SDDMの背景、スプラッシュの背景、デスクトップの背景をKDEの設定から変えるだけで良い
/usr/share/calculate/xdm/login.d/00initの以下の部分をコメントアウトする。
if [[ -f /usr/share/wallpapers/dm-background.png ]] then feh --no-fehbg --bg-scale /usr/share/wallpapers/dm-background.png else local bg_color="30648b" xsetroot -solid rgb:${bg_color:0:2}/${bg_color:2:2}/${bg_color:4:2} fi
Templatesの使い方に従って/var/calculate/templates/merge/00initを作成し、その内容を以下のようにする
# Calculate mergepkg(sys-apps/calculate-utils)!= path=/usr/share/calculate/xdm/login.d #! /bin/sh # Copyright 2010-2016 Mir Calculate. http://www.calculate-linux.org # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. run_script() { # set background color # if [[ -f /usr/share/wallpapers/dm-background.png ]] # then # feh --no-fehbg --bg-scale /usr/share/wallpapers/dm-background.png # else # local bg_color="30648b" # xsetroot -solid rgb:${bg_color:0:2}/${bg_color:2:2}/${bg_color:4:2} # fi /sbin/modprobe ecryptfs if [[ "`ps axeo command | grep 'xdm/xdm --logout' | grep -v grep | \ sed -n -r 's/.* USER=([^ ]+) .*/\1/p'`" == "$USER" ]]; then xmessage -buttons "" "Please wait to ending previous session" & XMESPID=$! while [[ "`ps axeo command | grep 'xdm/xdm --logout' | grep -v grep | \ sed -n -r 's/.* USER=([^ ]+) .*/\1/p'`" == "$USER" ]] do sleep 1 done kill -9 $XMESPID &>/dev/null fi return 0 }
コメントをかく