3ximus / aerial-sddm-theme

SDDM theme with Apple TV Aerial videos
GNU General Public License v3.0
495 stars 58 forks source link

Always show background image defined in theme.conf.The theme.conf.user configure does not work. #41

Closed lidaling closed 1 year ago

lidaling commented 2 years ago

Here are the theme dir content. In test mode ,it show background image first ,then show mov audio.But in real boot login mode,It show background image defined in theme.conf . Any idea for this scene?

[darinlee@darinlee-thinkpad aerial-sddm-theme]$ ll
总计 474M
drwxr-xr-x 5 darinlee darinlee 4.0K  5月29日 17:20 .
drwxr-xr-x 8 root     root     4.0K  4月 7日 15:09 ..
-rw-r--r-- 1 darinlee darinlee 554K  1月28日 04:33 background.jpg
-rw-r--r-- 1 root     root     474M  4月16日 14:44 comp_CH_C007_C004_PSNK_v02_SDR_PS_FINAL_20180709_SDR_4K_HEVC.mov
drwxr-xr-x 3 darinlee darinlee 4.0K  1月28日 04:33 components
-rw-r--r-- 1 darinlee darinlee   53  1月28日 04:33 .gitignore
-rw-r--r-- 1 darinlee darinlee  35K  1月28日 04:33 LICENSE
-rw-r--r-- 1 darinlee darinlee  17K  1月28日 04:33 Main.qml
-rw-r--r-- 1 darinlee darinlee  367  1月28日 04:33 metadata.desktop
-rw-r--r-- 1 darinlee darinlee  404  5月29日 17:16 offline.m3u
drwxr-xr-x 2 darinlee darinlee 4.0K  4月16日 09:49 playlists
-rw-r--r-- 1 darinlee darinlee 3.4K  1月28日 04:33 README.md
drwxr-xr-x 2 darinlee darinlee 4.0K  1月28日 04:33 screens
-rw-r--r-- 1 darinlee darinlee  347  5月29日 17:14 theme.conf
-rw-r--r-- 1 darinlee darinlee  182  5月29日 17:19 theme.conf.user
-rw-r--r-- 1 darinlee darinlee  247  5月29日 17:16 theme.conf.user.bak
[darinlee@darinlee-thinkpad aerial-sddm-theme]$ cat offline.m3u
/home/darinlee/app/aerial-sddm-videos/videos/DB_D008_C010_4K_SDR_HEVC.mov
/home/darinlee/app/aerial-sddm-videos/videos/comp_CH_C002_C005_PSNK_v05_SDR_PS_FINAL_20180709_SDR_4K_HEVC.mov
/home/darinlee/app/aerial-sddm-videos/videos/comp_CH_C007_C004_PSNK_v02_SDR_PS_FINAL_20180709_SDR_4K_HEVC.mov
/home/darinlee/app/aerial-sddm-videos/videos/comp_CH_C007_C011_PSNK_v02_SDR_PS_FINAL_20180709_SDR_4K_HEVC.mov
[darinlee@darinlee-thinkpad aerial-sddm-theme]$ cat theme.conf.user
[General]
background_vid_day=offline.m3u
background_vid_night=offline.m3u
displayFont="Misc Fixed"
showLoginButton=false
passwordLeftMargin=15
usernameLeftMargin=15
showTopBar=false
[darinlee@darinlee-thinkpad aerial-sddm-theme]$
3ximus commented 2 years ago

Hi there. Is the the theme you are trying to preview the same being used by the system? Is it in the correct place?

lidaling commented 2 years ago

When do preview ,it works well .But when system reboot .It show the static picture.

3ximus commented 2 years ago

Hi there, maybe don't put the videos on this location: /home/darinlee/app/aerial-sddm-videos/videos/comp_CH_C007_C011_PSNK_v02_SDR_PS_FINAL_20180709_SDR_4K_HEVC.mov

Put them where the theme is installed. Something like : /usr/share/sddm/themes/aerial-sddm-theme/videos/

I'm not sure it will work but give it a try. Cheers

3ximus commented 2 years ago

Hi there. I'm not sure. Maybe put the videos inside the theme folder instead

On Sun., May 29, 2022, 05:27 lidl, @.***> wrote:

Here are the theme dir content. In test mode ,it show background image first ,then show mov audio.But in real boot login mode,It show background image defined in theme.conf . Any idea for this scene?

@.*** aerial-sddm-theme]$ ll

总计 474M

drwxr-xr-x 5 darinlee darinlee 4.0K 5月29日 17:20 .

drwxr-xr-x 8 root root 4.0K 4月 7日 15:09 ..

-rw-r--r-- 1 darinlee darinlee 554K 1月28日 04:33 background.jpg

-rw-r--r-- 1 root root 474M 4月16日 14:44 comp_CH_C007_C004_PSNK_v02_SDR_PS_FINAL_20180709_SDR_4K_HEVC.mov

drwxr-xr-x 3 darinlee darinlee 4.0K 1月28日 04:33 components

-rw-r--r-- 1 darinlee darinlee 53 1月28日 04:33 .gitignore

-rw-r--r-- 1 darinlee darinlee 35K 1月28日 04:33 LICENSE

-rw-r--r-- 1 darinlee darinlee 17K 1月28日 04:33 Main.qml

-rw-r--r-- 1 darinlee darinlee 367 1月28日 04:33 metadata.desktop

-rw-r--r-- 1 darinlee darinlee 404 5月29日 17:16 offline.m3u

drwxr-xr-x 2 darinlee darinlee 4.0K 4月16日 09:49 playlists

-rw-r--r-- 1 darinlee darinlee 3.4K 1月28日 04:33 README.md

drwxr-xr-x 2 darinlee darinlee 4.0K 1月28日 04:33 screens

-rw-r--r-- 1 darinlee darinlee 347 5月29日 17:14 theme.conf

-rw-r--r-- 1 darinlee darinlee 182 5月29日 17:19 theme.conf.user

-rw-r--r-- 1 darinlee darinlee 247 5月29日 17:16 theme.conf.user.bak

@.*** aerial-sddm-theme]$ cat offline.m3u

/home/darinlee/app/aerial-sddm-videos/videos/DB_D008_C010_4K_SDR_HEVC.mov

/home/darinlee/app/aerial-sddm-videos/videos/comp_CH_C002_C005_PSNK_v05_SDR_PS_FINAL_20180709_SDR_4K_HEVC.mov

/home/darinlee/app/aerial-sddm-videos/videos/comp_CH_C007_C004_PSNK_v02_SDR_PS_FINAL_20180709_SDR_4K_HEVC.mov

/home/darinlee/app/aerial-sddm-videos/videos/comp_CH_C007_C011_PSNK_v02_SDR_PS_FINAL_20180709_SDR_4K_HEVC.mov

@.*** aerial-sddm-theme]$ cat theme.conf.user

[General]

background_vid_day=offline.m3u

background_vid_night=offline.m3u

displayFont="Misc Fixed"

showLoginButton=false

passwordLeftMargin=15

usernameLeftMargin=15

showTopBar=false

@.*** aerial-sddm-theme]$

— Reply to this email directly, view it on GitHub https://github.com/3ximus/aerial-sddm-theme/issues/41, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFJRBEQCJWEOSHMHUJMU6LVMM2A3ANCNFSM5XH4PZQA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

3ximus commented 1 year ago

Did it end up working ? I have no more reports of this issue so I'll close it