Sponsored Content
Top Forums UNIX for Advanced & Expert Users How a windowing system is implemented in C ? Post 302888505 by Perderabo on Friday 14th of February 2014 03:40:13 PM
Old 02-14-2014
Actually you should be using Xlib. There are some tutorials around, just google for it. Xlib talks to the Xserver. The Xserver talks to a HAL type driver. I guess you could get the source code to the Xserver and be a replacement Xserver. But you would need to talk to the HAL driver. The HAL drivers talks to a driver supplied by the guys who made the video card. I have heard complaints that they don't open-source their drivers. But I have never looked into that. I really have never peeked inside Xserver, but I gather that you cannot talk directly to the graphics hardware.

I suggest you stick with Xlib.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Free software like proftpd or wu-ftpd implemented under SSH

Anybody can to suggest to me a ftp software like proftpd or wu-ftpd (ftp with chroot for users) implemented with tunneling under SSH. Thanks in advance. Hugo. (2 Replies)
Discussion started by: hugo_perez
2 Replies

2. UNIX for Advanced & Expert Users

What do you want to see implemented in Unix ?

Hello all, I just want to ask everyone what does he/she want to see implemented in Unix ? Applications, services, drivers, modules ? Just mention it here :) Thank you very much in advance. (0 Replies)
Discussion started by: core-ix
0 Replies

3. UNIX for Dummies Questions & Answers

X Windowing system

Hi All, I am new to UNIX. In a linux text I have seen that the display is managed by X windowing system. Please give some details about the working of X windowing system. Any help would be appreciated Thanks, Jaysamson (1 Reply)
Discussion started by: jaysamsonp
1 Replies

4. Linux

swapon: Function not implemented

Hi, Trying to add a swap file to my server as below: dd if=/dev/zero of=/swapfile1 bs=1M count=2048 2048+0 records in 2048+0 records out 2147483648 bytes (2.1 GB) copied, 27.4514 seconds, 78.2 MB/s # mkswap -c /swapfile1 Setting up swapspace version 1, size = 2147479 kB # swapon... (6 Replies)
Discussion started by: chris5126
6 Replies

5. Programming

Algorithm needs to be implemented in JAVA

Hi, I need to implement this algorithm in JAVA. I tried to write half of the code But I stopped in the other half. The algorithm: Marking procedure at router R: let R' = Bitlntereave(R, Hash(R)) let k be the number of non-overlapping fragments in R' for each packet w let x be a random... (0 Replies)
Discussion started by: ENG_MOHD
0 Replies

6. Linux

X Windowing Free Open Source Software at Windows Desktop

I am using a ssh session for my org Linux box to do all my installation work. Recently I installed a X Serve app but could not start its execution cause neither I am sure if X Server is running or not nor of how the app output (X windowing app) would be rendered on a Windows desktop from where I am... (3 Replies)
Discussion started by: uunniixx
3 Replies
fbconfig(1M)						  System Administration Commands					      fbconfig(1M)

NAME
fbconfig - Frame Buffer configuration utility SYNOPSIS
fbconfig [-list | -gui | -help] fbconfig [-dev device_filename] [-prconf] [-propt] [-res ?] fbconfig [-dev device_filename] [-res resolution-specification] device_specific_options DESCRIPTION
fbconfig is the generic command line interface to query and configure frame buffer attributes. The following form of fbconfig is the interface for the device independent operations performed by fbconfig: fbconfig [-list | -gui | -help] The following form of fbconfig is the interface for configuring a frame buffer: fbconfig [-dev device_filename] [-prconf] [-propt] [-res] If the -dev option is omitted, the default frame buffer (/dev/fb or /dev/fb0) is assumed. In the absence of specific options, the response will depend upon the device specific configuration program and how it responds to no options OPTIONS
The following options are supported: -dev device_filename Specify the FFB special file. The default is /dev/fbs/ffb0. -gui Invoke the Graphical User Interface (GUI). The GUI is available if the SUNWdcm package is installed. All other arguments are ignored. The GUI can configure devices (as an alternative to the fbconfig command line) and can update the Xservers file without directly edit- ing the file. The GUI allows the user that is logged in on the graphics device or devices to configure which graphics displays the win- dow system should use, their screen layout (where they appear on the user's desktop), and screen properties (X attributes). In addition, the GUI allows advanced users to create a new video format (resolution) that some graphics devices can select from fbcon- fig command line or from the device-dependent portion of the GUI. The GUI's online help explains all options and features. -help Print the fbconfig command usage summary. This is the default option. -list Print the list of installed frame buffers and associated device specific configuration routines. Device Filename Specific Config Program --------------- ----------------------- /dev/fbs/ffb0 SUNWffb_config /dev/fbs/ffb1 SUNWffb_config /dev/fbs/m640 SUNWm64_config /dev/fbs/cgsix0 not configurable -prconf Print the current hardware configuration. -propt Print the current software configuration. -res ? Print the current hardware resolution. OPERANDS
The following operands are supported: device_specific_options device_specific_options are specified in the format shown by the -help output, or the corresponding device-specific man page. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWfbc | +-----------------------------+-----------------------------+ SEE ALSO
SUNWgfb_config(1M), SUNWifb_config(1M), SUNWpfb_config(1M), SUNWzulu_config(1M), afbconfig(1M), ffbconfig(1M), m64config(1M), pgxcon- fig(1M), attributes(5) LIMITATIONS
Because of limitations in the m64 kernel driver and related software, fbconfig (with the -prconf option) is unable to distinguish between a current depth of 24 or 8+24. The -propt option returns the depth specified in the OWconfig file, which will be in effect following the next restart of the window system. The xwininfo utility, usually shipped in the package containing frame buffer software (such as SUNWxwplt), reports current depth of a specified window. SunOS 5.10 15 June 2004 fbconfig(1M)
All times are GMT -4. The time now is 01:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy