LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

View Poll Results: What is your favorite Linux distro
Ubuntu 4 6.67%
Fedora 4 6.67%
OpenSUSE 1 1.67%
Debian 9 15.00%
Mandriva 1 1.67%
Linux Mint 1 1.67%
PCLinuxOS 0 0%
Slackware 28 46.67%
Gentoo 2 3.33%
Cent OS 2 3.33%
Mepis 1 1.67%
Xandros 0 0%
Other (Specify below) 7 11.67%
Voters: 60. You may not vote on this poll

Reply
 
LinkBack Search this Thread
Old 04-11-2010, 10:05 PM   #31
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54

Quote:
Originally Posted by smeezekitty View Post
And yes you would bork your system.
What about it would "bork" the system? Would the kernel think init is corrupt or something?

What about symlinking init to startx is bad?
 
Old 04-11-2010, 10:06 PM   #32
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
I mean init probably needs to setup some things that startx will not setup.
 
Old 04-11-2010, 10:07 PM   #33
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 859
Blog Entries: 31

Rep: Reputation: 144Reputation: 144
init is the parent of all processes, so you wouldn't accomplish anything by symlinking it to startx, as init needs to be running first!
 
Old 04-12-2010, 03:21 AM   #34
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 482

Rep: Reputation: 92
For a safe way to see what happens if you run startx as init, edit the grub command line and add "init=startx".

I doubt it will work. But until you try, ???
 
Old 04-12-2010, 05:28 PM   #35
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
Here's what I said: Even though running X in kernel space won't work, I want to make a step forward in the position of Linux's GUI (aka kernelspace or userspace) by placing it right in the middle - that is, right after the kernel is loaded.

Or an even better idea: Smeeze, would it be okay if I helped contribute a GUI to your kernel's team? Maybe I will define a window geometry struct in your 'nodos.cpp' file for other members of the team to build upon.
 
Old 04-12-2010, 05:31 PM   #36
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by Kenny_Strawn View Post
Here's what I said: Even though running X in kernel space won't work, I want to make a step forward in the position of Linux's GUI (aka kernelspace or userspace) by placing it right in the middle - that is, right after the kernel is loaded.

Or an even better idea: Smeeze, would it be okay if I helped contribute a GUI to your kernel's team? Maybe I will define a window geometry struct in your 'nodos.cpp' file for other members of the team to build upon.
I guess so.
 
Old 04-12-2010, 05:36 PM   #37
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
Quote:
Originally Posted by cantab View Post
For a safe way to see what happens if you run startx as init, edit the grub command line and add "init=startx".

I doubt it will work. But until you try, ???
It did work. It also booted much faster than normal.
 
Old 04-12-2010, 07:47 PM   #38
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
Smeeze, I indented nodos.cpp properly, plus I added the following function and struct:

Code:
struct prism {
	int Left;  	//The point with the
	int Top;   	//coordinates on the top
	int Rear;  	//left rear

	int Right;	//The point with the
	int Bottom;	//coordinates on the bottom
	int Front;	//right front
};

float rgba (unsigned Red, unsigned Green, unsigned Blue, float Alpha) {
	Red < 256;
	Green < 256;
	Blue < 256;

	Red * Green * Blue;

	int aRed = Alpha*(Red);
	int aGreen = Alpha*(Green);
	int aBlue = Alpha*(Blue);

	int RedEq = (1 - Alpha)*Red + Alpha*(aRed);
	int GreenEq = (1 - Alpha)*Green + Alpha*(aGreen);
	int BlueEq = (1 - Alpha)*Blue + Alpha*(aBlue);
};
The struct is for the basic UI geometry (e.g. desktop area, window area, object area), and the function is for the color scheme, and then some. The function handles colors and transparency (the "Alpha" value) in one map.

Last edited by Kenny_Strawn; 04-12-2010 at 07:54 PM.
 
Old 04-12-2010, 07:52 PM   #39
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
Here is the revised nodos.cpp:

http://5ykx2q.bay.livefilestore.com/...S.cpp?download
 
Old 04-12-2010, 08:06 PM   #40
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
Code:
nodos_.cpp:
Warning nodos_.cpp 54: Code has no effect in function rgba(unsigned int,unsigned
 int,unsigned int,float)
Warning nodos_.cpp 55: Code has no effect in function rgba(unsigned int,unsigned
 int,unsigned int,float)
Warning nodos_.cpp 56: Code has no effect in function rgba(unsigned int,unsigned
 int,unsigned int,float)
Warning nodos_.cpp 67: Function should return a value in function rgba(unsigned
int,unsigned int,unsigned int,float)
Warning nodos_.cpp 67: 'BlueEq' is assigned a value that is never used in functi
on rgba(unsigned int,unsigned int,unsigned int,float)
Warning nodos_.cpp 67: 'GreenEq' is assigned a value that is never used in funct
ion rgba(unsigned int,unsigned int,unsigned int,float)
Warning nodos_.cpp 67: 'RedEq' is assigned a value that is never used in functio
n rgba(unsigned int,unsigned int,unsigned int,float)
Error nodos_.cpp 98: For statement missing ; in function strncpy(char far*,char
far*,int)
Error nodos_.cpp 102: Declaration syntax error in function strncpy(char far*,cha
r far*,int)
Error nodos_.cpp 236: Declaration syntax error in function strncpy(char far*,cha
r far*,int)
Error C:\TC\TCC\sprintf.c 5: Declaration syntax error in function strncpy(char f
ar*,char far*,int)
Error nodos_.cpp 264: Declaration syntax error in function strncpy(char far*,cha
r far*,int)
Error nodos_.cpp 474: Declaration syntax error in function strncpy(char far*,cha
r far*,int)
Error nodos_.cpp 652: Declaration syntax error in function strncpy(char far*,cha
r far*,int)
Error nodos_.cpp 880: Declaration missing ; in function strncpy(char far*,char f
ar*,int)
Error nodos_.cpp 880: Compound statement missing } in function strncpy(char far*
,char far*,int)
Warning nodos_.cpp 880: Function should return a value in function strncpy(char
far*,char far*,int)
Warning nodos_.cpp 880: 'memory' is assigned a value that is never used in funct
ion strncpy(char far*,char far*,int)
Warning nodos_.cpp 880: 'digits' is assigned a value that is never used in funct
ion strncpy(char far*,char far*,int)
Warning nodos_.cpp 880: Parameter 'dest' is never used in function strncpy(char
far*,char far*,int)
*** 9 errors in Compile ***
 
Old 04-12-2010, 09:02 PM   #41
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
Here's what I got as compilation errors:

Code:
NODOS.cpp:99:7: error: invalid suffix "h" on integer constant
NODOS.cpp:117:11: error: invalid suffix "h" on integer constant
NODOS.cpp:122:11: error: invalid suffix "h" on integer constant
NODOS.cpp:245:23: error: sprintf.c: No such file or directory
NODOS.cpp:303:11: error: invalid suffix "h" on integer constant
NODOS.cpp:317:11: error: invalid suffix "h" on integer constant
Compilation failed.
NODOS.cpp:24: error: expected initializer before ‘*’ token
NODOS.cpp: In function ‘int rand()’:
NODOS.cpp:38: error: lvalue required as left operand of assignment
NODOS.cpp:39: error: lvalue required as left operand of assignment
NODOS.cpp:40: warning: value computed is not used
NODOS.cpp: At global scope:
NODOS.cpp:55: error: expected ‘;’ before ‘str’
NODOS.cpp:66: error: expected ‘;’ before ‘*’ token
NODOS.cpp:75: error: expected initializer before ‘strlen’
NODOS.cpp:68: warning: ‘files’ defined but not used
NODOS.cpp:69: warning: ‘nf’ defined but not used
NODOS.cpp:73: warning: ‘memory_blocks’ defined but not used
Is it GCC/G++ that's the problem or what?
 
Old 02-02-2012, 09:02 AM   #42
briandc
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Asturix, BodhiLinux, AntiX
Posts: 51

Rep: Reputation: Disabled
Antix!!

Hi everyone,

I think my favorite distro is AntiX. It's not as "elegant" as some other distros I like, but I love it all the same. It's easy to install, the people at the forum are supportive and helpful, and it makes my Pentium III with 256MB of RAM run like a gazelle! It's helped me to realize that new isn't always better. Rather than throwing away an otherwise perfectly usable desktop or laptop, AntiX is wonderful for staying lightweight and doing just about anything.

AntiX also has a whole plethera of applications that I haven't seen in other distros. It's helped me to learn how to get the job done without lots of resources that aren't necessary. Fun!! --And various desktop sessions available!


Another lightweight distro I like is Bodhi Linux. A bit more "elegant," and very able to perform, although not as fast as AntiX.


Asturix is very elegant, but high on resources.

PCLinxOS, Mageia and Xubuntu are all well-thought-out, as well.


Just my 2c, of course!


brian
 
Old 02-03-2012, 05:24 PM   #43
Hak5fan
LQ Newbie
 
Registered: Jan 2012
Posts: 17

Rep: Reputation: 1
My favorite of all distros is Arch.

The follow ups are slackware and PClinuxOS. For BSD distros FreeBSD is my favorite.

Last edited by Hak5fan; 02-03-2012 at 05:27 PM.
 
Old 02-11-2012, 07:31 PM   #44
baldheaded-yeti
LQ Newbie
 
Registered: Oct 2011
Location: Chattanooga, TN
Distribution: Slackware 13.37
Posts: 12

Rep: Reputation: 0
Slackware...tried and true.
 
Old 02-12-2012, 01:35 AM   #45
briandc
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Asturix, BodhiLinux, AntiX
Posts: 51

Rep: Reputation: Disabled
A new one I've fallen in love with: Asturix!! Absolutely beautiful, and does everything quite flawlessly!

http://asturix.com/


brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Whats your favorite Linux Distro? Lola Kews Linux - General 4 11-29-2007 05:24 PM
[SOLVED] What is your favorite Linux Distro? ctkroeker Linux - Distributions 1 07-07-2005 05:01 PM
Favorite Linux Distro cheater1034 General 13 08-05-2004 08:19 AM
What's your favorite Linux Distro?? gsibble Linux - Distributions 38 08-22-2003 04:24 AM


All times are GMT -5. The time now is 07:28 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration