Re: EFISYS shortcuts on Xfce desktops

2020-08-18 Thread O'Connor, Daniel via freebsd-stable



> On 18 Aug 2020, at 18:48, Guido Falsi  wrote:
> On 18/08/20 05:23, O'Connor, Daniel wrote:
>> 
>>> On 18 Aug 2020, at 11:29, O'Connor, Daniel  wrote:
>>> I think it would make sense to patch the port to add another stanza which 
>>> matches EFISYS as well as EFI.
>>> 
>>> What do you think?
>> 
>> I was going to file a bug but bugzilla is having a nap right now.
> 
> I agree with the suggestion. I'm not an expert about hal though. If
> anyone has links to good documentation that would also be great.

I use that link you sent plus some spelunking in lshal :)

> Anyway this requires some coordination with gnome, which maintains the port.

I managed to get Bugzilla loaded - 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248714

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: EFISYS shortcuts on Xfce desktops

2020-08-18 Thread Guido Falsi via freebsd-stable
On 18/08/20 05:23, O'Connor, Daniel wrote:
> 
> 
>> On 18 Aug 2020, at 11:29, O'Connor, Daniel  wrote:
>> I think it would make sense to patch the port to add another stanza which 
>> matches EFISYS as well as EFI.
>>
>> What do you think?
> 
> I was going to file a bug but bugzilla is having a nap right now.

I agree with the suggestion. I'm not an expert about hal though. If
anyone has links to good documentation that would also be great.

Anyway this requires some coordination with gnome, which maintains the port.

-- 
Guido Falsi 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: EFISYS shortcuts on Xfce desktops

2020-08-17 Thread O'Connor, Daniel via freebsd-stable



> On 18 Aug 2020, at 11:29, O'Connor, Daniel  wrote:
> I think it would make sense to patch the port to add another stanza which 
> matches EFISYS as well as EFI.
> 
> What do you think?

I was going to file a bug but bugzilla is having a nap right now.

This patch works for me:
[midget 12:47] /tmp/hal >cat 
files/patch-fdi_policy_10osvendor_20-storage-methods.fdi
--- fdi/policy/10osvendor/20-storage-methods.fdi.orig   2020-08-18 
12:41:54.86981 +0930
+++ fdi/policy/10osvendor/20-storage-methods.fdi2020-08-18 
12:42:14.480922000 +0930
@@ -104,6 +104,9 @@

  true

+   
+ true
+   
   

   

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: EFISYS shortcuts on Xfce desktops

2020-08-17 Thread O'Connor, Daniel via freebsd-stable



> On 18 Aug 2020, at 11:23, O'Connor, Daniel  wrote:
> 
>> On 8 Aug 2020, at 18:03, Guido Falsi via freebsd-stable 
>>  wrote:
>> Hope this helps.
> 
> Thanks for this, I got it working by specifying block.device (twice, once for 
> /dev/msdosfs/EFISYS and once for /dev/gptid/). Is there a way it can 
> key off (say) the volume name or UUID instead?
> 
> I tried a few keys like volume.uuid and volume.label but they don't work. 
> Perhaps that is because they are only filled in after the preprobe, hence the 
> rules don't match until after they could possibly take effect.

Naturally 5 minutes after sending this I worked it out on my own..
[clmet 1:58] ~> cat /usr/local/etc/hal/fdi/policy/20thirdparty/10-ignore-efi.fdi



  

  
true
  

  


I discovered this:
  
  

  true

  

in /usr/local/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi

I think it would make sense to patch the port to add another stanza which 
matches EFISYS as well as EFI.

What do you think?

Thanks.

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: EFISYS shortcuts on Xfce desktops

2020-08-17 Thread O'Connor, Daniel via freebsd-stable
Hi Guido,

> On 8 Aug 2020, at 18:03, Guido Falsi via freebsd-stable 
>  wrote:
>> 
>> 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:
> 
> 
> 
>  
>
>true
>
>  
>  
>
>true
>
>  
> 
> 
> 
> Hope this helps.

Thanks for this, I got it working by specifying block.device (twice, once for 
/dev/msdosfs/EFISYS and once for /dev/gptid/). Is there a way it can 
key off (say) the volume name or UUID instead?

I tried a few keys like volume.uuid and volume.label but they don't work. 
Perhaps that is because they are only filled in after the preprobe, hence the 
rules don't match until after they could possibly take effect.

Thanks.

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: EFISYS shortcuts on Xfce desktops

2020-08-08 Thread Guido Falsi via freebsd-stable
On 08/08/20 04:32, Kyle Evans wrote:
> On Fri, Aug 7, 2020 at 8:57 PM Dmitrii Postolov  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:



  

true

  
  

true

  



Hope this helps.

BTW there's some documentation here:

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

-- 
Guido Falsi 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: EFISYS shortcuts on Xfce desktops

2020-08-07 Thread Kyle Evans
On Fri, Aug 7, 2020 at 8:57 PM Dmitrii Postolov  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"

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.

Thanks,

Kyle Evans
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"