EFISYS shortcuts on Xfce desktops

Guido Falsi mad at madpilot.net
Sat Aug 8 08:33:21 UTC 2020


On 08/08/20 04:32, Kyle Evans wrote:
> On Fri, Aug 7, 2020 at 8:57 PM Dmitrii Postolov <dpostolov at yandex.ru> wrote:
>>
>> Hi!
>>
>> Recently (I find it difficult to give an exact date), on my computer with FreeBSD there is a situation when there are 2 EFISYS shortcuts on the desktop with Xfce 4.14 (without plugged sticks). In other Unix-like operating systems under Xfce there is no such problem. Is it possible to solve the problem?
>>
>> dmitrii at nuc7:~ % uname -a
>> FreeBSD nuc7 12.1-STABLE FreeBSD 12.1-STABLE r363918 GENERIC  amd64
>>
>> Intel NUC7PJYH MiniPC.
>>
>> Screenshot: https://yadi.sk/i/4fQZyK_o-yhUdQ
>>
> 
> Applications -> Settings- > Desktop -> Icons tab -> Default Icons ->
> Removable Devices, Unselect "Other Devices"

This would also exclude other useful devices.

> 
> i'm not sure if there's a more granular way to do this. Alternatively,
> you could create a /boot/efi or /boot/msdos or similar and mount it at
> boot so that xfce doesn't even try it. EFISYS = EFI System Partition
> ("ESP"). Unsure why it's identified in the "Removable Device"
> category.

The "granular" way is through hal policies. For example I have this in
/usr/local/etc/hal/fdi/preprobe/20thirdparty/10-ignore-EFI.fdi:


<deviceinfo version="0.2">
  <device>
    <match key="block.device" string="/dev/ada0p1">
        <merge key="info.ignore" type="bool">true</merge>
    </match>
  </device>
  <device>
    <match key="block.device" string="/dev/ada0">
        <merge key="info.ignore" type="bool">true</merge>
    </match>
  </device>
</deviceinfo>


Hope this helps.

BTW there's some documentation here:

https://www.freebsd.org/gnome/docs/halfaq.html

-- 
Guido Falsi <mad at madpilot.net>


More information about the freebsd-stable mailing list