Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (25 May 2013 - 09:50 PM) Hi, Agyat What's New?
@  yordan : (25 May 2013 - 07:59 PM) Yay, Shoutbox Is Back! Yahooo!
@  agyat : (24 May 2013 - 05:15 PM) O Dear, Where Are You? Without Your Words This Sb Is ..
@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.

Replying to Knoppix


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

qwijibow

Posted 27 April 2005 - 09:07 AM

To have chnages aparent in the User interface, would need to alter the code of the user interface, either GNOME, KDE, IceWM, WindowMaker QT-3 GTK GTK2, depends on what grapical user interface you use. there are hundreds if not thousande.

To hange the behavior of the mouse, you would need to alter wuther the mouse driver in the kernel, or re-program the way X11 interprets input from the mouse driver.

OR you could program a new driver, which takes input from the mouse driver, and tanslates it...
opens the /dev/input/mouse0 stream, alters it, then re-outputs the stream to maybe /dev/input/mouseX

for a laugh... try the following....
run "cat /dev/input/mouse1"
and movethe mouse around.. you will see raw input from the mouse displayed to screen..

(if not, try mouse0)

you can send your mouse crazy, my sening input to it... lik so (from the random number generating driver...)

"cat /dev/urandom > /dev/input/mouse0"

this will send your mouse zooming around, randomly clicking, dragging, deleteing... making a complete mess.

i hope you have a great understand of C, Linux module device driver programming, and the X11 Server, and its protocols.. the X server is a good few million lines of code,

eyvind

Posted 27 April 2005 - 12:27 AM

"what part of linux were you planning on re-programming ?"

I basically just want to experiment with something in teh code, either the OS (GNU) code or the Kernel. Whichever one is easier and/or whichever one affects the OS most. By affecting the OS most, I mean affecting the OS in such a way as to have changes be apparent in the interface or behavior of the OS. For example, where is the behavior of the mouse managed? That is probably the place I want to experiment with.

Otherwise, I know my way around Knoppix quite well (I got Knoppix with Knoppix Hacks, a great book), so it's just the coding thing I really needed help on.

Again, thank you!

VJgamer

Posted 26 April 2005 - 12:48 PM

I use Knoppix to recover files from a broken windows installation. Knoppix supports USB Thumb Drives and reading of NTFS Hard Drives! This makes it very easy to recover a huge amount of data due to a corrupt windows installation.

Knoppix is also good to give to a friend that has never really seen a linux deskyop before. This way they can explorer it with out having to do any work, or reconfigure their computer/hard drive.

You said you really want to play around with the code that runs linux/GNU. So I would agree and say install a hard drive version of linux. Each distro is different, and it might take som experimenting with the different distros to find the one that suits you!

qwijibow

Posted 26 April 2005 - 10:29 AM

you can, but you need to remaster a new cd every time you want to tweak the code.

it will be far easyer if you use a normal hard drive installed distro.

what part of linux were you planning on re-programming ?

My own experiance is very limited, i managed to tweak an old modem driver from kernel - 2.4 to compile and install correctly in kernel 2.6. but that was relativly simple.

Assuming you are infact talking about the linux kernel, the following resources are very usefull...

kernel newbies: http://www.kernelnewbies.org/
and a collection of other good links : http://www.linuxhq.com/lkprogram.html

ohh, and if you want to just re-compile / reconfigure / customise rather than re-program, i wrote a little tutorial for newbies.. may be of some use to you, i dont know. http://www.astahost....rnel-t3060.html

eyvind

Posted 26 April 2005 - 02:39 AM

Wow, thank you so muchqwuijibow!!!

That really cleared everything up for me. It hink I will try what you said. Thank you.

Why can't you edit the Kernel code in Knoppix?

qwijibow

Posted 26 April 2005 - 01:21 AM

And also, is Knoppix a good distro for beginners?

Yes and no.
Yes because you just put in in the cd-rom, and it just works works, no need to install.
No because adding new software requires re-mastering the CD, or building pluggins.

What distro is best for experiemnting with the actual OS code?


When you say actual linux code, what do you mean ?
do you mean he Linux kernel source code http://kernel.org
or the GNU operating system source code http://gnu.org
or maybe you mean 3rd party applications like firefox, or quake ?

Most people call linux distro's linux... but in reality, linux is not an operating system, just a kernel. the actual operating system is called GNU (GNU/Linux is a distro's full name)

If you want to tweak the linux kernel, you can use any hard-drive installable distro (not knoppix) because the kernel is built seperate from the operating system.

its as easy as deleting the origonal kernel, and recompiling a new on in its place.


If you man you want to tweak the operating system source code, then you need a more source code based distro like Linux-From-Scratch (aka LFS)
with LFS, you download the source code to everything and compile yourself.
the opertunity for tweaking is limitless.

but this is very difficult thing to do... amungst linux fans, sucesssfully completeing LFS and deyond is a rite of passage... LOL.

. Is changing the code about as easy as all the other things mentioned above?


editing the source code is very easy to do... but understanding the code you are modifying, and developing the code will require great skill and understanding.

if you want to help, have a look on sourceforge.net for projects that are looking for volenteers and sign up.

most projects are coded in C or C++, with some assembly for device drivers and media codecs.

eyvind

Posted 26 April 2005 - 12:56 AM

(I only know Knoppix, so I will base tis off of it.)

When I remaster Knoppix, I can install and remoce the packages I do or do not want, I can set default persistent settings, I can change default backround desktop image, I can change the startup script, and a lot of things, including changing the actual Knoppix OS code. Is changing the code about as easy as all the other things mentioned above? What language is used in Linux code? Assembly language?

And also, is Knoppix a good distro for beginners? What distro is best for experiemnting with the actual OS code?

Review the complete topic (launches new window)