
처음부터 리눅스 SVN-20111010
Linux를 넘어서 처음부터 버전 2011-11-16
Xfce4 4.8.0
Thunar에서는 글꼴과 기본 이미지 외에는 어떤 썸네일도 얻을 수 없습니다.
이 문제로 어려움을 겪은 후 나는 돌아가서 중요한 부분인 것처럼 보이는 부분을 다시 컴파일했습니다. 이 순서대로...
텀블러-0.1.22:
$> ./configure --prefix=/usr
<snip>
* GdkPixbuf thumbnailer plugin: yes
* FreeType font thumbnailer plugin: yes
* JPEG thumbnailer plugin with EXIF support: yes
* Video thumbnailer plugin using ffmpegthumbnailer: yes
* Video thumbnailer plugin using GStreamer: yes
* PDF/PS thumbnailer plugin using poppler: yes
* Freedesktop.org cache plugin: yes
$> make && make install
투나르볼만-0.6.0:
$> ./configure --prefix=/usr
<snip>
* Mount notifications: yes
* Debug Support: minimum
$> make && make install
thunar-vfs-1.2.0:
$> ./configure --prefix=/usr
<snip>
* Operating system support: generic
* D-BUS support: yes
* File System Monitor: none (???)
* GNOME Thumbnailers: yes
* Startup Notification: yes
* Volume Manager: none (???)
* Debug Support: minimum
$> make && make install
thunar-thumbnailers-0.4.1:
$> ./configure --prefix=/usr
<snip>
config.status: creating eps-thumbnailer/Makefile
config.status: creating tex-thumbnailer/Makefile
config.status: creating ps-thumbnailer/Makefile
config.status: creating raw-thumbnailer/Makefile
config.status: creating fig-thumbnailer/Makefile
config.status: creating agr-thumbnailer/Makefile
config.status: creating ffmpeg-thumbnailer/Makefile
config.status: creating ogg-thumbnailer/Makefile
config.status: creating svgz-thumbnailer/Makefile
config.status: creating pdf-thumbnailer/Makefile
config.status: creating dvi-thumbnailer/Makefile
config.status: creating odf-thumbnailer/Makefile
config.status: creating xcf-thumbnailer/Makefile
config.status: creating psd-thumbnailer/Makefile
config.status: creating mime/Makefile
$> make && make install
Thunar-1.3.0.tar.bz2:
$> ./configure --prefix=/usr
<snip>
Build Configuration:
* D-BUS support: yes
* GIO UNIX features: yes
* Startup Notification: yes
* GUDev (required for thunar-volman): yes
* Mount notification support: yes
* Debug Support: minimum
* Documentation: yes (in tarball)
Additional Plugins:
* Advanced Properties: yes
* Simple Builtin Renamers: yes
* Trash Panel Applet: yes
* User Customizable Actions: yes
* Wallpaper support: yes
$> make && make install
재시작!
그럼 난...
$> rm ~/.cache/Thunar/thumbnailers.cache
$> rm -r ~/.thumbnails
$> Thunar -q
$> /usr/lib/thunar-vfs-1/thunar-vfs-update-thumbnailers-cache-1
썸네일러 캐시를 재구축했지만 글꼴과 기본 이미지를 제외한 썸네일은 여전히 없습니다.
김프 .xcf 파일을 살펴보겠습니다.
$> cat /usr/share/thumbnailers/xcf-thumbnailer.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=XCF Thumbnailer
MimeType=image/x-xcf;
X-Thumbnailer-Exec=/usr/libexec/xcf-thumbnailer %i %o %s
$> strings .cache/Thunar/thumbnailers.cache | grep xcf
image/x-xcf
/usr/libexec/xcf-thumbnailer %i %o %s
xcf 썸네일 데스크탑 파일을 삭제하고 캐시를 다시 작성하면 썸네일 캐시 파일에서 xcf 항목이 사라져 /usr/share/thumbnailers
.
터미널에서 X-Thumbnailers-Exec 라인을 호출하면 됩니다...
$> /usr/libexec/xcf-thumbnailer test.xcf test.png 100
...convert를 호출하고 100px 썸네일을 현재 디렉토리에 출력합니다.
모든 부분이 제자리에 있는 것처럼 보이지만 Thunar는 기본 이미지와 글꼴에 대한 기본 지원 외에 설치된 축소판을 사용하는 데 관심이 없는 것 같습니다. 내가 무엇을 놓치고 있나요?
2011년 11월 23일 15:15에 업데이트되었습니다. 나는 약간의 진전을 이루었습니다. 이것은 확실히 LFS 구성 문제입니다.
첫째, XDG 디렉토리가 역할을 하는 것 같습니다. XDG 사용자 디렉토리가 구성되어 있고 올바르게 작동하는지 확인하십시오.
두 번째 DBUS 세션을 실행 SESSION_MANAGER
하고 환경으로 DBUS_SESSION_BUS_ADDRESS
내보내야 합니다.DBUS_SESSION_BUS_PID
셋째, 이것은 내 설치에만 해당될 수 있습니다 --disable-gstreamer-thumbnailer
. 적어도 내 경우에는 텀블러가 ffmpegthumbnailer를 사용하도록 합니다. 내 gstreamer가 불안정하고 추가 주의가 필요하다는 것을 알고 있기 때문에 이것이 텀블러의 문제라고 말하고 싶지 않습니다.
제가 있는 곳은 바로 이곳입니다... 텀블러 작업을 하고 있는 곳입니다. 저는 ffmpegthumbnailer와 poppler를 사용하여 비디오와 PDF의 글꼴과 기본 이미지, 썸네일을 각각 가져오고 있다고 생각합니다. 이제 thunar-thumbnailers의 썸네일을 인식하기 위해 텀블러를 구하거나 XCF 및 PSD 파일에 대한 지원을 텀블러에 추가하는 방법을 알아내야 합니다. 그것이 제가 원래 찾고 있던 것이기 때문입니다.