没有采用caja那么复杂的方法,直接在右键菜单里进行判断,如果选中的文件有以x-nautilus-desktop开头,就不显示压缩选项。
会以x-nautilus-desktop开头的文件满足两个规则: 1,在桌面上。 2,主文件夹、回收站、网络设置、各种移动U盘在桌面上的显示盘符文件,本地磁盘挂载后在桌面上显示的盘符文件,等。 ps:桌面上的其他普通文件会以file:开头,所以能够正常显示压缩选项。 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to file-roller in Ubuntu. https://bugs.launchpad.net/bugs/1403377 Title: The compress function works abnormal for trash, disk and so on Status in Ubuntu Kylin: New Status in file-roller package in Ubuntu: New Bug description: The compress function works abnormal for trash, disk and so on. 右键点击回收站、磁盘等,选择压缩,点击确认提示压缩成功,实际上未生成压缩文件 Steps: 1. Login system 2. Right click for trash or disk 3. Chose compress 4. Click "OK" button 5. After compress successfully, check the gz file -->Failed. There is no gz file found. Configuration: OS: Vivid x32 Daily Build 20141214 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntukylin/+bug/1403377/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

