Which package in ubuntu contains the header file X11.h?
Header Files for X These files can typically be found in /usr/include/X11. I highly recommend looking though the header files themselves, but don't get caught up on trying to figure out everything at once! The best way to learn them is to continually consult them as you continue to work with X.
On Debian, Ubuntu and their derivatives, all kernel header files can be found under /usr/src directory.
Associated configuration files are stored in the /etc/X11/ directory (as is a symbolic link — X — which points to /usr/bin/Xorg). The configuration file for the X server is /etc/X11/xorg. conf. The directory /usr/lib/xorg/modules/ contains X server modules that can be loaded dynamically at runtime.
Generally, if you look for file in packages you have not installed, use apt-file
(sudo apt-get install apt-file
if required).
Use it like this:
apt-file update
apt-file search X11/Xlib.h
PS: sorry for this stupid question but are you sure you're looking for x11.h?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With