LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2004, 06:11 PM   #1
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Rep: Reputation: 15
what desktop am i running?


I'm on Red Hat 8, and I'm trying to figure out if I'm using GNOME or KDE. How do I determine that? Thanks!
 
Old 08-18-2004, 06:13 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
The icon that launches the menu, lower left on the screen is a K or a foot?
 
Old 08-18-2004, 06:33 PM   #3
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Original Poster
Rep: Reputation: 15
Gotcha - it's a red hat. Shouldn't I be able to figure out what my desktop is from the command line?
 
Old 08-18-2004, 06:40 PM   #4
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
when you open the file manager is it Konqueror (KDE) or Nautaulis (GNOME)
 
Old 08-18-2004, 06:49 PM   #5
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Original Poster
Rep: Reputation: 15
Ahhhhh...Nautilus (so Gnome!).
 
Old 08-18-2004, 06:50 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
have a look at .xinitrc, the last line should say one of two things, either

exec startkde

or

gnome session

that should tell the tale. this file will be hidden in your users home directory, so you'll have to either enable viewing hidden files in your file manager, or view it from the terminal

#cd /home/username
#cat .xinitrc

hope that helps.
good luck.
 
Old 08-18-2004, 06:54 PM   #7
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Does it look really cool and work well or look terrible and run like crap

ps ax will give a list of processes and if you see kdeinit processes it will give you a hint

also you can right click on the taskbar at the bottom in kde you get help -> about kde and get the kde version, etc...
 
Old 08-18-2004, 07:08 PM   #8
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Original Poster
Rep: Reputation: 15
So, KDE is that much nicer? I'm just wondering if it's worth installing to see when I've got work to do.

Ok, crazy thing is, there's no .xinitrc in /home/username/ so what's the best way to search all the files in my system to find it? I know I've already figured out the desktop, but it'd still be nice to know how to find this file!
 
Old 08-18-2004, 07:35 PM   #9
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Just a joke. KDE and gnome are much the same, just different You just tend to find some people like one and hate the other. I don't mind either, but have been a KDE user since beta 1 and gnome wasn't arround then - so I prefer KDE just because it is more familiar. I prefer some of the gnome apps for some things tho.
 
Old 08-18-2004, 10:16 PM   #10
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
type

locate .xinitrc
 
Old 08-19-2004, 12:50 AM   #11
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Original Poster
Rep: Reputation: 15
Yeah, I know. It doesn't find anything. Doesn't locate just search a database of executables?

Last edited by naijaguy; 08-19-2004 at 12:51 AM.
 
Old 08-19-2004, 01:46 AM   #12
nuka_t
Member
 
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263

Rep: Reputation: 30
ya, it searches a database. you have to update the database as root before doing a locate command. to do this, type in su, then updatedb
 
Old 08-19-2004, 11:25 AM   #13
naijaguy
Member
 
Registered: Aug 2004
Posts: 88

Original Poster
Rep: Reputation: 15
Yeah, I updated it and still didn't find anything. First of all, if locate just searches executables, then it wouldn't find a plain text config file, right?

Anyway, mine is using /root/.vnc/xstartup and I finally read the comments and uncommented the 2 lines it wanted me to uncomment and it worked!!!

However, is there no way to see the desktop that the guy sitting in front of the machine is looking at?
 
  


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
how can i see which desktop is running? mattie_linux Linux - General 1 05-31-2005 05:32 PM
Running more than 2 desktop environment? johnleeryan Linux - Newbie 5 02-17-2005 05:48 PM
Want an X server Running but Not a Desktop aggiefl Linux - General 3 03-23-2004 11:50 AM
Running a script from the desktop... distortedstar Linux - Software 5 02-04-2004 08:47 PM
Running program from desktop sarasf Linux - Newbie 2 08-26-2003 09:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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