Date: Sat, 8 Aug 2020 10:33:10 +0200 From: Guido Falsi <mad@madpilot.net> To: Kyle Evans <kevans@freebsd.org>, Dmitrii Postolov <dpostolov@yandex.ru> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: EFISYS shortcuts on Xfce desktops Message-ID: <ae54a42c-48c5-f1c8-bd04-76a33a1028a5@madpilot.net> In-Reply-To: <CACNAnaE7H0YmnR4zkTNn3PaomZT-GfNdH8HSrsmaHvDdeRu0oA@mail.gmail.com> References: <613031596851658@mail.yandex.ru> <CACNAnaE7H0YmnR4zkTNn3PaomZT-GfNdH8HSrsmaHvDdeRu0oA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/08/20 04:32, Kyle Evans wrote: > On Fri, Aug 7, 2020 at 8:57 PM Dmitrii Postolov <dpostolov@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@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@madpilot.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ae54a42c-48c5-f1c8-bd04-76a33a1028a5>