picasa(linux)打开当前图片功能

Posted 2 years, 5 months ago at 11:31 am. 0 comments

ad 468x60

picasa 在 windows 下当然好办,直接用 explore.exe 打开当前路径,可linux有 gnome,kde,xfce 等不同的桌面环境,文件管理器当然也不一样。所以需要写些脚本。比如 Locate on Disk 功能。

进入 picasa 目录,拷贝模板 .sh文件到 picasa 的 bin 目录

cd /opt/picasa/desktop
sudo cp picasa-hook-filemanager.sh.template ../bin/picasa-hook-filemanager.sh

编辑

cd ../bin
gksudo gedit picasa-hook-filemanager.sh

修改

exit 1

/usr/bin/nautilus “${1%%$(basename “$1″)}”

编辑

cd ../bin
gksudo gedit picasa-hook-filemanager.sh

修改

exit 1

/usr/bin/nautilus “${1%%$(basename “$1″)}”

BTW:ubuntu 安装 picasa方法,再说一遍

sudo gedit /etc/apt/sources.list

加入

deb http://dl.google.com/linux/deb/ stable non-free

sudo apt-get update
sudo apt-get install picasa

看这个 http://www.google.com/linuxrepositories/ubuntu704.html

ad 468x60

相关日志:

  • 加速Ubuntu开机过程
  • 升级 edgy 失败
  • 用 NX 连接 ubuntu 桌面
  • gnome 的 mac 菜单
  • 从头开始对ubuntu进行优化 (ZT)
  • No Replies

    Feel free to leave a reply using the form below!


    Leave a Reply