Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can i build a system completely devoid of X, Xorg etc?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
anonymous1234
n00b
n00b


Joined: 16 Sep 2024
Posts: 15

PostPosted: Mon Oct 14, 2024 9:24 am    Post subject: can i build a system completely devoid of X, Xorg etc? Reply with quote

I am planning out my gentoo build and I do not want any x, xorg, x11 etc etc as i am purely dependant on wayland, I currently use KDE and will do so when i move to gentoo as my main distro but i like to take the time to plan thing out...
Another question is, can I be completely removed of GTK? I understand some applications require it but i dont think i use any applications that require GTK and if i do need them, then I can add the use flags for that specific package right?
thx in advance!
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9317

PostPosted: Mon Oct 14, 2024 9:26 am    Post subject: Reply with quote

Without xorg-server, but not without X libraries as of now.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2475

PostPosted: Mon Oct 14, 2024 10:11 am    Post subject: Re: can i build a system completely devoid of X, Xorg etc? Reply with quote

anonymous1234 wrote:
I am planning out my gentoo build and I do not want any x, xorg, x11 etc etc as i am purely dependant on wayland


Applications that do not yet support Wayland still depend on X libraries to function. Wayland allows them to work by providing XWayland, which to those applications looks like a X11 server and they interact with it the very same way they would in a normal X11 environment using those X libraries.

So without the server - yes, without the libraries - no.

That's the longer explanation.

Also X libraries may provide functionality not tied to X11 which may be used by Wayland applications as well.

BTW even now you're using X libraries. I doubt there is a functional desktop out there which does not use them.

Furthermore, even now, if there's nothing to pull xorg-server, it won't be installed on some systems.

Best Regards,
Georgi
Back to top
View user's profile Send private message
anonymous1234
n00b
n00b


Joined: 16 Sep 2024
Posts: 15

PostPosted: Mon Oct 14, 2024 12:17 pm    Post subject: Reply with quote

Thank you both, it seems I may not be able to rid myself of X unfortunately.
But is it possible for me to not have anything to do with GTK or gnome? I understand some apps require it, but im pretty sure i dont use anything that does need GTK, mostly firefox and kde apps and a few bits and bobs here an there...
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9317

PostPosted: Mon Oct 14, 2024 12:19 pm    Post subject: Reply with quote

Firefox needs GTK.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2475

PostPosted: Mon Oct 14, 2024 12:44 pm    Post subject: Reply with quote

anonymous1234 wrote:
Thank you both, it seems I may not be able to rid myself of X unfortunately.


there's a difference between the server and the libraries. And the protocol for that matter.

anonymous1234 wrote:
But is it possible for me to not have anything to do with GTK or gnome? I understand some apps require it, but im pretty sure i dont use anything that does need GTK, mostly firefox and kde apps and a few bits and bobs here an there...


Perhaps if you use Konqueror (if I'm not wrong about KDE's browser name). As mentioned, Firefox uses GTK, Chromium also uses GTK and all their clones and derivatives do as well.

If you have real arguments against using those, share them and maybe we'll help you find a solution.

Best Regards,
Georgi
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31294
Location: here

PostPosted: Mon Oct 14, 2024 1:35 pm    Post subject: Reply with quote

logrusx wrote:
Perhaps if you use Konqueror (if I'm not wrong about KDE's browser name).

Code:
* www-client/falkon
     Available versions:  24.05.2-r1^t 24.08.1^t ~24.08.2^t {+X dbus debug kde python test PYTHON_SINGLE_TARGET="python3_10 python3_11 python3_12"}
     Homepage:            https://www.falkon.org/ https://apps.kde.org/falkon/
     Description:         Cross-platform web browser using QtWebEngine

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3446
Location: Canada

PostPosted: Mon Oct 14, 2024 6:42 pm    Post subject: Reply with quote

Just run

equery depends gtk+

and see if you can get rid of or find alternatives for the packages that use gtk+ unconditionally. I was not able to
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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