LinuxQuestions.org
Register a domain and help support LQ
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 06-13-2011, 12:13 AM   #1
hitmen
Member
 
Registered: Jun 2011
Distribution: Kubuntu 10.04
Posts: 158

Rep: Reputation: Disabled
How Did I Change My Desktop


1) I am using kubuntu 10.10 and the desktop used to be the kubuntu desktop. For some reason, I seem to have entered certain commands and the desktop switched to that of ubuntu.

How do I change between desktops?

2) I tried installing MSoffice 2007 on my kubuntu (using wine) and I cant seem to activate it. Is there any solution for it? I heard that 1 shld install win7 in vmware. Are there any alternatives?
 
Old 06-13-2011, 02:26 AM   #2
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Rep: Reputation: 32
1) think you should first check if the desired desktop is installed. in Debian, you can choose it in login screen, probably the same in kubuntu.

2) I prefer 'Virtual Box'
 
Old 06-13-2011, 02:45 AM   #3
saivnoba
Member
 
Registered: Aug 2010
Distribution: Debian Sid, openSUSE, Gentoo, Slackware64
Posts: 68

Rep: Reputation: 2
Quote:
Originally Posted by hitmen View Post
1) I am using kubuntu 10.10 and the desktop used to be the kubuntu desktop. For some reason, I seem to have entered certain commands and the desktop switched to that of ubuntu.

How do I change between desktops?
When you boot up you come to login page. There you will find two buttons, one for restart/shutdown options, the other for selecting desktops. Select Kubuntu desktop/KDE (whatever listed) there
Quote:
Originally Posted by hitmen View Post
2) I tried installing MSoffice 2007 on my kubuntu (using wine) and I cant seem to activate it. Is there any solution for it? I heard that 1 shld install win7 in vmware. Are there any alternatives?
You really want MSoffice? LibreOffice/Openoffice that comes with linux is as good as MSoffice.
 
Old 06-13-2011, 04:11 AM   #4
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Rep: Reputation: 32
Quote:
Originally Posted by saivnoba View Post
You really want MSoffice? LibreOffice/Openoffice that comes with linux is as good as MSoffice.
It would be, if everyone else were using it. As it is, it can't handle .doc(x) properly. There never has been a good converter, that would preserve all the formatting (for any kind of text documents: html, quarkxpress, word perfect..).
 
Old 06-13-2011, 04:41 AM   #5
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by hitmen View Post
1) I am using kubuntu 10.10 and the desktop used to be the kubuntu desktop. For some reason, I seem to have entered certain commands and the desktop switched to that of ubuntu.

How do I change between desktops?
What qrange said. Failing that, log out, press ctrl-alt-f1, log in. Run this command
Code:
$ rm .dmrc
Press ctrl-alt-f7 to get back to the graphical login screen. The .drmc file is where your default desktop preference is stored.
 
1 members found this post helpful.
Old 06-14-2011, 05:44 AM   #6
hitmen
Member
 
Registered: Jun 2011
Distribution: Kubuntu 10.04
Posts: 158

Original Poster
Rep: Reputation: Disabled
rm .dmrc returns a value of file not found.
This brings me to another question.

tty means virtual terminal right?

Why does Ctrl+alt+f7 bring me to a graphical login?

I wish to know why and I dont want to do it blindly.
 
Old 06-14-2011, 06:11 AM   #7
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Rep: Reputation: 55
When your system has come to login prompt, it has invoked a number of tty's, usually 6, you can check it in /etc/inittab
When you start an X session, either by typing startx/xinit on a command prompt or graphical session manager invoked by runlevel script, a new tty starts at the next available number (in this example 7) which manages your screen.
When you are on a tty you can switch between terminals with alt+F[1-6/7]. When you are on an X session you can switch with Ctrl+Alt+F[1-6]
 
Old 06-14-2011, 06:14 AM   #8
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
Well if you don't have a .dmrc and you're not getting he desktop environment by default that you expect, then maybe you've managed to installer something.

What's the output of this command?

Code:
grep Exec /usr/share/xsessions/*
 
Old 06-14-2011, 07:39 AM   #9
hitmen
Member
 
Registered: Jun 2011
Distribution: Kubuntu 10.04
Posts: 158

Original Poster
Rep: Reputation: Disabled
BTW, what does drmc stand for?

c@c-laptop:~$ grep Exec /usr/share/xsessions/*
/usr/share/xsessions/fluxbox.desktop:Exec=/usr/bin/startfluxbox
/usr/share/xsessions/fluxbox.desktop:TryExec=/usr/bin/startfluxbox
/usr/share/xsessions/gnome.desktop:Exec=gnome-session
/usr/share/xsessions/gnome.desktop:TryExec=gnome-session
/usr/share/xsessions/gnome-failsafe.desktop:Exec=gnome-session -f
/usr/share/xsessions/gnome-failsafe.desktop:TryExec=gnome-session
/usr/share/xsessions/kde.desktop:Exec=/usr/bin/startkde
/usr/share/xsessions/kde.desktop:TryExec=/usr/bin/startkde
 
Old 06-14-2011, 07:56 AM   #10
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
When posting output of commands it is best to wrap it in CODE tags.

I don't see a problem. What you refered as 'that of Ubuntu' is the GNOME desktop environment and there's a session file for it. Can you not just select GNOME at the login screen as others have suggested?

I would guess dm is short for Desktop Manager. rc is a common suffix for configuration files. If you see a file who's name ends in rc the chances are it contains configuration for something. They use of rc goes back decades, it's just one of those things that became a convention and has been carried along through various *nix implementations. http://en.wikipedia.org/wiki/Run_commands
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how can I change desktop joseph2020 Ubuntu 8 02-12-2011 12:15 AM
How to change desktop theme ? raagu Linux - Newbie 1 08-18-2008 12:31 PM
desktop change strycnine SUSE / openSUSE 2 09-06-2006 05:50 AM
How to change from Gnome desktop to Fluxbox desktop? davidas Debian 2 04-26-2004 10:46 PM
Desktop Resolution Change? gauge73 Linux - Newbie 4 05-01-2003 04:31 PM


All times are GMT -5. The time now is 05:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration