Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startup-notification USEflag?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Thu Apr 04, 2024 12:08 am    Post subject: startup-notification USEflag? Reply with quote

What does this flag actually do? I see it on a few packages I use. Is there much point having it enabled these days?
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 325
Location: Naarm/Melbourne, Australia

PostPosted: Thu Apr 04, 2024 2:11 am    Post subject: Reply with quote

The two packages on my system that have that flag, x11-libs/libwnck and x11-terms/rxvt-unicode (both found via `equery h startup-notifications`), use the flag to require the x11-libs/startup-notification library, which in turn implements the freedesktop.org "startup-notification" spec, for providing feedback to users during application startup (e.g. about what subsystems/files are being loaded, etc.).
Back to top
View user's profile Send private message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Thu Apr 04, 2024 6:48 am    Post subject: Reply with quote

flexibeast wrote:
The two packages on my system that have that flag, x11-libs/libwnck and x11-terms/rxvt-unicode (both found via `equery h startup-notifications`), use the flag to require the x11-libs/startup-notification library, which in turn implements the freedesktop.org "startup-notification" spec, for providing feedback to users during application startup (e.g. about what subsystems/files are being loaded, etc.).

Thanks for the information. I'm still curious as to what the practical purpose of these "startup notifications" is, though, on a modern system. Debug purposes? I think I saw someone say they're used to tell your mouse cursor to enter/leave "busy" mode.
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 325
Location: Naarm/Melbourne, Australia

PostPosted: Thu Apr 04, 2024 7:46 am    Post subject: Reply with quote

i have no idea about the mouse cursor stuff, so i'll leave it to someone else to comment on that, but i would say that at least one "practical purpose" is the thing i mentioned in my previous comment:

Quote:
providing feedback to users during application startup (e.g. about what subsystems/files are being loaded, etc.).

If a user starts an application from the desktop by clicking on a menu entry, and that application's startup process is not instant (as in the case of, say, GIMP), but the user doesn't receive any feedback that the application is actually in the process of starting up, the user might assume that their click "hasn't worked", and thus click on it again - which might then result in a second instance of the application being started. If the startup process is sufficiently long, and the user sufficiently impatient, they might even try a third time. So startup notifications allow the system to provide clear feedback that says to the user: "Request accepted, working on it."
Back to top
View user's profile Send private message
pizza-rat
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2022
Posts: 81

PostPosted: Thu Apr 04, 2024 7:54 am    Post subject: Reply with quote

flexibeast wrote:
i have no idea about the mouse cursor stuff, so i'll leave it to someone else to comment on that, but i would say that at least one "practical purpose" is the thing i mentioned in my previous comment:

Quote:
providing feedback to users during application startup (e.g. about what subsystems/files are being loaded, etc.).

If a user starts an application from the desktop by clicking on a menu entry, and that application's startup process is not instant (as in the case of, say, GIMP), but the user doesn't receive any feedback that the application is actually in the process of starting up, the user might assume that their click "hasn't worked", and thus click on it again - which might then result in a second instance of the application being started. If the startup process is sufficiently long, and the user sufficiently impatient, they might even try a third time. So startup notifications allow the system to provide clear feedback that says to the user: "Request accepted, working on it."

I can't say I've ever noticed such feedback. Perhaps I'll just disable the flag and see if I notice any change.
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 325
Location: Naarm/Melbourne, Australia

PostPosted: Thu Apr 04, 2024 9:23 am    Post subject: Reply with quote

Yeah, it would need the environment you're using to actually make use of the notifications being sent out, which it might not ....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum