LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1788|回复: 11

[已解决]弱弱的问下xfce要怎么才能隐藏桌面上的回收站图标

[复制链接]
发表于 2007-4-25 21:36:25 | 显示全部楼层 |阅读模式
rt ,我希望能看到桌面上其他文件的图标仅仅只是想隐藏回收站,要如何才能实现呢
发表于 2007-4-25 21:53:45 | 显示全部楼层
这是XFCE的thunar-dev邮件列表上的一次讨论中的某一个回复,不过此方法只使用于XFCE-4.4及以上版本

  1. On 3/12/07, Linos <info@linos.es> wrote:
  2. > Hello, i have been searching the list and i have found two messages in
  3. > xfce mailing list about that but they are from September 2006 so i am
  4. > trying now, do i have any way to hide/remove trash,home and filesystem
  5. > from desktop icons with icons enabled? i need this feature because i am
  6. > going to use xfce in a point of sale system with about 100 desktops, i
  7. > am trying to harden the system and i dont like they can open a file
  8. > manager too easily, i am found a possible workaround changing thunar
  9. > with nautilus but i think it is a horrible solution (i love thunar and
  10. > hates nautilus). Anyone can help me please?


  11. > From the xfdesktop readme file (referred to by the FAQ):
  12. http://svn.xfce.org/svn/xfce/xfdesktop/branches/xfce_4_4/README
  13. ---------------------------------------------------------------------------
  14. The file icon view by default shows 'special' icons for the root of your
  15. filesystem, your home directory, and the trash.  Removable volumes (such as
  16. USB flash drives) are also shown when they are plugged in.  If you'd like to
  17. configure which of these are shown, edit (or create) the file
  18. ~/.config/xfce4/desktop/xfdesktoprc to look something like this:

  19. [file-icons]
  20. show-filesystem=true
  21. show-home=true
  22. show-trash=true
  23. show-removable=true

  24. The defaults are all 'true', but you can set ones you want hidden to 'false'.
  25. If an entry is omitted, it defaults to 'true'.  You will need to restart
  26. xfdesktop to make the settings take effect.
  27. ---------------------------------------------------------------------------

  28. Regards,

  29. Stephan
  30. >  
  31. > _______________________________________________
  32. > Thunar-dev mailing list
  33. > Thunar-dev@xfce.org
  34. > http://foo-projects.org/mailman/listinfo/thunar-dev
  35. >  
  36. _______________________________________________
  37. Thunar-dev mailing list
  38. Thunar-dev@xfce.org
  39. http://foo-projects.org/mailman/listinfo/thunar-dev
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-25 22:02:02 | 显示全部楼层
这个方法我看过了,但是我这么做还是没成功。
我检查了下我的xfce版本
version 4.3.99.2 (Xfce 4.4 RC2)
回复 支持 反对

使用道具 举报

发表于 2007-4-25 22:08:00 | 显示全部楼层
那就没有办法了,只能说,等升级吧
回复 支持 反对

使用道具 举报

发表于 2007-4-25 22:58:37 | 显示全部楼层
DoDo 的方法在version 4.4.1 (Xfce 4.4)下可行,谢谢。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-25 23:35:24 | 显示全部楼层
搞定了,刚才是在debian里,xfce的版低了,现在进了arch.正好是4.4.1的版,终于实现隐藏回收站图标了。但是又发现一个问题。就是当我cp filename ~/Desktop/  的时候我在桌面上并看不见刚复制过来的那个文件,非要setting --> Desktop settings-->Destop icons 选成none 再选File/launcher icons   那个文件才会在桌面上显示出来。同样 在桌面上删除一个文件 那文件的图标也不会消失  还是要到desktop setting 里再设一次它才会消失。。我试过重新安装xfdesktop 但是没用。
回复 支持 反对

使用道具 举报

发表于 2007-4-26 10:57:12 | 显示全部楼层
Post by 冰封尘
当我cp filename ~/Desktop/  的时候我在桌面上并看不见刚复制过来的那个文件,非要setting --> Desktop settings-->Destop icons 选成none 再选File/launcher icons   那个文件才会在桌面上显示出来。同样 在桌面上删除一个文件 那文件的图标也不会消失  还是要到desktop setting 里再设一次它才会消失。。我试过重新安装xfdesktop 但是没用。

我这里不存在这个问题,xfce-4.4.1,debian sid

不了解 arch 的情况,不过楼主也许可以到 arch 的主页上去看看 bug list(假如有类似这样的东西),看看是普遍情况还是个人的问题
回复 支持 反对

使用道具 举报

发表于 2007-4-26 12:11:08 | 显示全部楼层
Post by 冰封尘
搞定了,刚才是在debian里,xfce的版低了,现在进了arch.正好是4.4.1的版,终于实现隐藏回收站图标了。但是又发现一个问题。就是当我cp filename ~/Desktop/  的时候我在桌面上并看不见刚复制过来的那个文件,非要setting --> Desktop settings-->Destop icons 选成none 再选File/launcher icons   那个文件才会在桌面上显示出来。同样 在桌面上删除一个文件 那文件的图标也不会消失  还是要到desktop setting 里再设一次它才会消失。。我试过重新安装xfdesktop 但是没用。

[yongyi@yongyi ~]$ pacman -Qi fam
Name           : fam
Version        : 2.7.0-9
Groups         : None
Packager       : Arch Linux (http://www.archlinux.org)
URL            : http://oss.sgi.com/projects/fam/
License        : None
Architecture   : i686
Size           : 232458
Build Date     : Sat Mar 25 18:11:13 2006 UTC
Install Date   : Mon Apr  2 16:21:47 2007 UTC
Install Script : No
Reason:        : installed as a dependency for another package
Provides       : None
Depends On     : gcc portmap
Required By    : thunar
Conflicts With : None
Description    : File Alteration Monitor - used by KDE, GNOME and others
我安装了hal和fam,并加入/etc/rc.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-26 13:43:15 | 显示全部楼层
谢谢楼上的兄弟。我检查了一下 实际上我的hal和fam也是装了的 只不过我没把他们加到/etc/rc.conf   
感激不尽
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-22 20:19:32 | 显示全部楼层
帮帮忙,这次重装了系统不能隐藏桌面上的图标了,看了下没有~/.config/xfce4/desktop/xfdesktoprc这个文件,自己写了个不行,是不是少装了什么东西。xfce版本是4.4.1
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表