LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > VectorLinux
User Name
Password
VectorLinux This forum is for the discussion of VectorLinux.

Notices


Reply
  Search this Thread
Old 11-19-2003, 11:33 AM   #1
ilhbutshm
Member
 
Registered: Jul 2003
Location: Europe
Distribution: Slackware 10.2
Posts: 104

Rep: Reputation: 15
.xinitrc how... confusion


Hi.

I installed VL 4.0 without any graphical interface, just the console. I downloaded then XFree86 4.3.0, compiled it, downloaded the blackbox did the same thing, edited XF86Config...

Now. I type startx and I get to the menu where I can select Fluxbox?!, iceWM?!, Xterm?!, I can go back to console and I can shutdown. Dunno where those selections about xterm, flux and iceWM came... I haven't installed anything like that...

If I select any of those selections, it just brings me back to the menu, except the Go back to console and Shutdown...

I don't know how to edit this menu, so it'll only show me 3 options:
Blackbox,
Console,
Shutdown.

laters, ilh
 
Old 11-19-2003, 11:59 AM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
In your /home/<username>/.xinitrc file, have just this line:

exec blackbox

If you dont have an .xinitrc file then make one:
cd
echo "exec blackbox" > .xinitrc

Make sure you do this in you home directory.

Last edited by hanzerik; 11-19-2003 at 12:01 PM.
 
Old 11-19-2003, 12:08 PM   #3
ilhbutshm
Member
 
Registered: Jul 2003
Location: Europe
Distribution: Slackware 10.2
Posts: 104

Original Poster
Rep: Reputation: 15
Hi, did that, didnt work, at startx I still get kicked into the that menu...
Then I edited the /etc/X11/xinit/xinitrc file, still was the same... I'm clueless...

Now I'm installi XFCE to test it, I'd like to have edit the menu to this:

Blackbox
XFCE
Edit this menu
Exit stage left
Shutdown the system.

How can I do this?

laters, ilh
 
Old 11-19-2003, 01:59 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Uninstall or disable any display managers such as kdm, gdm or xdm. You don't need those if you want to use an .xinitrc file. My .xinitrc file:
Code:
# Celeron 850 box "tinwhistle" user fancy .xinitrc file
# Start the stuff I want to run when I startx

# The artwiz-fonts sometimes conflict with your locale settings. To get
# them to work you may have to put the following at the beginning of your
# .xinitrc file
# export LC=C
# export LC_ALL=C

# Set the background for fluxbox
# Esetroot ~/backgrounds/linux.png &

# Start gkrellm and put it in the slit
gkrellm -w &

# This will run a screensaver as your background
# /usr/X11R6/lib/xscreensaver/hopalong -root &

# Start the screensaver daemon
# xscreensaver --no-splash &
xscreensaver &
# Finally, I start my window manager
exec fluxbox
# exec kde
# exec gnome-session
 
Old 11-19-2003, 02:41 PM   #5
ilhbutshm
Member
 
Registered: Jul 2003
Location: Europe
Distribution: Slackware 10.2
Posts: 104

Original Poster
Rep: Reputation: 15
I have edited the /home/me/.xinitrc file and now in it is only "exec blackbox" and it doesnt work...

It would be great if I could boot directy to blackbox with startx, but it would be cooler if I could just edited that menu and set it to my selections... like I stated above.
 
Old 11-19-2003, 02:59 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
If you will uninstall xdm, kdm or gdm, whichever one that is, that will stop as they ignore .xinitrc and look at another file......

You are running some sort of display manager which you obviously don't want.

If you are actually looking to use it, look for other dotx or dotX files (.x<anything else> or .X<anything else>) that may be in your home directory with the entries you are seeing and add what you want in that config file.


Last edited by fancypiper; 11-19-2003 at 03:03 PM.
 
Old 11-19-2003, 03:49 PM   #7
ilhbutshm
Member
 
Registered: Jul 2003
Location: Europe
Distribution: Slackware 10.2
Posts: 104

Original Poster
Rep: Reputation: 15
hey... hmm... its workin now... I guess I had to restart? =]
When iI do the startx now, I get directly into blackbox...
 
Old 11-30-2003, 02:56 PM   #8
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Rep: Reputation: 31
Quote:
Now I'm installi XFCE to test it, I'd like to have edit the menu to this:

Blackbox
XFCE
Edit this menu
Exit stage left
Shutdown the system.

How can I do this?
As root,
# mcedit /etc/XwmMenu.ini

scroll to the end. You should know what you have to do there.
Be carefull when you change anything because Xwmmenu is not bullet proff. Any syntax error will crash it.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake and xinitrc pepehonguito Mandriva 2 09-29-2004 07:55 AM
Could I .xinitrc for this.... JROCK1980 Linux - Software 5 02-17-2004 05:57 PM
.xinitrc unimaginative Linux - Newbie 1 01-03-2004 10:53 PM
.xinitrc nakkaya Linux - Software 1 04-11-2003 03:12 PM
.xinitrc mrsolo Linux - Software 5 10-30-2002 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > VectorLinux

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration