Debian 带树莓皮锁的幻灯片放映

Debian 带树莓皮锁的幻灯片放映,debian,raspberry-pi,pam,Debian,Raspberry Pi,Pam,G'day 我正在使用PAMUSB锁定我的RPi,它工作正常。拔出U盘时,我使用xscreensaver命令-lock锁定机器。 棘手的部分来了,我还不太明白。xscreensaver附带了几个幻灯片,但几乎所有的幻灯片都很糟糕,因为它们坚持使用无用的过渡效果。此外,我不能使用任何GLX模块(如GLSlideshow),这将完全符合我的需要 我试图在pi上编译xv,但运气不佳。我现在可以使用pqiv,但我正在努力使它与xscreensaver配合 我最后做的是在~/.xscreensaver中的

G'day

我正在使用
PAMUSB
锁定我的RPi,它工作正常。拔出U盘时,我使用
xscreensaver命令-lock
锁定机器。 棘手的部分来了,我还不太明白。xscreensaver附带了几个幻灯片,但几乎所有的幻灯片都很糟糕,因为它们坚持使用无用的过渡效果。此外,我不能使用任何GLX模块(如GLSlideshow),这将完全符合我的需要

我试图在pi上编译
xv
,但运气不佳。我现在可以使用
pqiv
,但我正在努力使它与
xscreensaver
配合

我最后做的是在~/.xscreensaver中的
程序下做一个条目:
类似于
的“PQIV幻灯片放映”PQIV-ifst-d 5/media/03A1-13EE/\n\
,但它不会开始幻灯片放映。从命令行启动时,该命令工作正常

任何帮助都会很棒!我也喜欢不同的方法,但它必须锁定PI!(我正在使用多点触摸显示器)


干杯

终于获得了胜利:

获取来源:www.trilon.com/xv/downloads.html

tar -xzf xv-3.10a.tar.gz
cd xv-3.10a
sudo nano tiff/RANLIB.csh
注释掉除一行之外的每一行,如下所示:

#!/bin/csh -f
#
# tests to see if the program 'ranlib' exists.  If it does, runs ranlib on
# the first argument (a library name).  Otherwise, does nothing, and returns
#
# written by John Bradley for the XV 3.00 release
# thanks to John Hagan for shell-script hackery
#

#echo "executing 'ranlib $1'..."

# Is there a ranlib?  Let's try and then suffer the consequences...
ranlib $1 >& /dev/null
#
#if ( $status ) then 
#   echo "There doesn't seem to be a ranlib on this system..."
#   echo "Don't worry about it."
#endif

#echo ""
#echo ""

sudo nano xv.h
default-n:          xv -root -rmode 5 -random -viewonly       \
                  -wloop -wait 5 /some/folder/*.JPG     \n\
更改:

extern char *sys_errlist[];     /* this too... */

仍然会抛出一些警告,但在
PAM
XSCREENSAVER

程序:
下的
~/.xscreensaver
中的条目如下所示:

#!/bin/csh -f
#
# tests to see if the program 'ranlib' exists.  If it does, runs ranlib on
# the first argument (a library name).  Otherwise, does nothing, and returns
#
# written by John Bradley for the XV 3.00 release
# thanks to John Hagan for shell-script hackery
#

#echo "executing 'ranlib $1'..."

# Is there a ranlib?  Let's try and then suffer the consequences...
ranlib $1 >& /dev/null
#
#if ( $status ) then 
#   echo "There doesn't seem to be a ranlib on this system..."
#   echo "Don't worry about it."
#endif

#echo ""
#echo ""

sudo nano xv.h
default-n:          xv -root -rmode 5 -random -viewonly       \
                  -wloop -wait 5 /some/folder/*.JPG     \n\
希望这对任何人都有帮助

干杯