Creating a Linux Desktop Envoriment [closed] - linux

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Suppose I want to create my own desktop envoriment for Linux, without X. Like Google with the Android did. Where do I start? Is it actually a normal application that just draws stuff, and starts after the kernel boot? And how does it draw it? Using OpenGL or is there something more generic? And graphics drivers, how is it going? You should develop custom graphics drivers for your desktop or it comes with the Linux kernel?
Note: It's for normal PCs and not embedded devices.
Thanks.

See: DirectFB (and Wikipedia).

You can use the frame buffer device.
There are a few toolkits that render directly to the frame buffer for embedded device - even fully featured toolkits like Qt and wxWidgets can do it.

Well, you could study how OS X works in some detail.
You're probably best advised to keep most of the X server... it has a set of good device drivers already, and they're a very large part of the work.

Related

How to write linux app/library to interact with Samsung Galaxy Buds headphones? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'd like to write some library/app to interact with Galaxy Buds.
I assume that this would require me to somehow sniff packages it sends to my mobile telephone and get which corresponds to what command(volume/pause/play) and so on. And then write some wrapper for it? I'd like to make this app/library reusable between different Linux distros, and not-that-hard-portable to Mac OS.
Knowing all that I still in the place where I'm not sure where to start from.
I'd appreciate suggestions to any part of this process e.g (Programming language selection, software for BT sniffing ...)
I do have some experience with C#/Java/C++, but I'm willing to learn if these aren't most suitable for solving the issue.
I don't know that much about the libraries needed for such a solution, but as far as sniffing is concerned, I know that Wireshark (WireShark_Bluetooth_Sniffing) is a good starting place.Once you isolate the touch commands, I assume you can map them to media commands, as described here: D-Bus_Media_Commands

Why Linux driver need to compile? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a question that is why Linux driver need to compile with Linux source if a new hardware in the unsupported list of Linux kernel? but Windows driver just only need to double click setup.exe, don't need to compile...
Is it the kernel type different? microkernel vs monolithic kernel? or any other reason? thank you.
This is mainly to do with Linux' Monolithic Kernel. This in contrast to Windows' kernel which does not include drivers and drivers are written using the Windows Driver Model which is plug-and-play. Read about the differences in their respective Driver Architectures here.
I would suggest you give this article on Loadable Kernel Modules a read.

What is difference between opengl and xwindows system? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have searched lot and couldn't find anything. I'm confused and don't know how OpenGL and Xserver work together. As far as i know OpenGL translate the client's program code to driver commands(correct me if i'm wrong please). And i want know how graphic drivers work in Linux. I mean where dose graphic drivers reside?
If you know a proper books please let me know.
Please help me to find out.
Xserver provides a window to OpenGL on which 3D image is rendered. OpenGL only provides ways to rasterize a image and does not care about on which "window" its being rendered. That work is done by X Window system in Linux and Win32 Api in Windows. Also there are libraries available like Glut and Qt which does this windowing job. So in other words you can consider XServer as a canvas on which OpenGL does its drawing.
So OpenGL is a spec and graphic drivers contain its implementation. Graphic driver takes care of how your application specific calls are translated to acceleration hardware specific calls. Its same for windows and linux both.

Bluetooth mouse/keyboard emulation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm having a hard time finding a software that would emulates a Bluetooth keyboard (and/or mouse) that follows HID standard.
I've already found one, but I couldn't get it working: http://mulliner.org/bluetooth/xkbdbthid.php
I'm only interested in a solution that uses HID standard so that other machines can immediately recognize the soft as Bluetooth hid device, without the need of any pre-installed softwares. (Running under Windows or Linux if possible.)
Would it be possible to write a code in java to emulate Bluetooth hid devices?
Any help would be very appreciated, thanks!
It's been a while since you asked the question, but I'm going to add this answer anyway, it may help you or someone else.
I'm also interested in Bluetooth HID emulation, ideally from within some Java/Android code. However, I came across this Python-based script/project:
http://code.google.com/p/hidemulator
I've not tried this code myself, but from what I can see, the script is reasonably easy to follow. It currently only supports the PS3's six-axis controller, but maybe you (or I, if I ever get the time) could adapt the Nokia project's Keyboard and Mouse routines into the Python script (or convert it to Java/Groovy, which is my ultimate goal ;-) ).
Cheers
Rich
It's not you are searching for but for Android devices.
AndroHid
http://code.google.com/p/androhid/
You need rooted device.
Unfortunately it doesn't work on my Nexus S - Cyanogen 9
btkbdd does this for Linux with Bluez. See: https://github.com/lkundrak/virtkbd/blob/master/btkbdd.pod

Linux boot loader [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
Improve this question
I'm trying to boot Linux on a GPS device from a SD card.
I have found some informations about the device on Internet and apparently it's possible to load a customized Windows CE.
To achieve this, they use a boot loader file that has the extention ".bld"
I extracted the ISO of Ubuntu MID on the SD card, but there is no files with a bld extension. I guess it use a different boot loader system .. which doesn't seem to work on the device.
So my question is;
Is there a way to use a "bld" file to boot Linux ? If so, how can I create the file ?
I'm sorry if the question is stupid or off-track, I don't know much about boot loaders ..
In case you wonder, here's the device:
http://www.curtisint.com/web/browser.asp?productID=GPD359&catName=GLOBAL%20POSITIONING%20SYSTEM
More detailed specs (and mod site):
http://gpd359.wikidot.com/article:outofbox
Edit: Turns out I only had to put a file named "YFGo2CE.bld" (the file only contains a random string) on the SD card and reset the device. From there I can boot directly in WindowsCE and load the suggested Haret ROM tool.
Thanks!
One thing you might want to look at is the Haret ROM tool. It can be found and more information here

Resources