LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-17-2010, 04:10 AM   #1
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Rep: Reputation: 32
How to change default desktop environment on Ubuntu?


Actually I want to make my own desktop environment but I'm looking for what triggers the Operating System to start it. And here's a little problem, Ubuntu doesn't use xinit but instead uses upstart to start all programs and I'm not sure how to configure it. If it was xinit i just had to put .xinitrc in my home directory and it would do right? But what about upstart?

I have GNOME Desktop Environment installed and by default it starts "gnome-session" application, how do I make it start "/usr/bin/alazea" application instead? I called my desktop environment "Azalea" and I want it to start instead of GNOME. How do i achieve this?

Thanks!
 
Old 07-17-2010, 04:34 AM   #2
sarahjohn63
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 1
If you want to change the default desktop environment for Ubuntu. Then go through the procedure, just click the desktop area select Change desktop background. Here you can see photos of many and even set your favorite picture of desktop environment for Ubuntu.

Last edited by sarahjohn63; 07-17-2010 at 04:38 AM.
 
Old 07-17-2010, 04:52 AM   #3
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
Sarah, that's not exactly what i meant =) Desktop Environment is an application that is run after you start up your computer. It's the app that shows the icons on your desktop and the menus and stuff.
 
Old 07-17-2010, 10:51 AM   #4
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
I found once a line that said "exec: 5: gnome-session" but i can't find where it is...

Which file contains the configuration of the default desktop environment? I know i can use other gui tools to change the default environment but i need to know in what file it is set. what is the configuration file where i can change it?
 
Old 07-17-2010, 10:57 AM   #5
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
/usr/share/xsessions Doll...

your gonna have to create a azalea.desktop file in /usr/share/xsessions

like here's fluxbox's

Code:
[Desktop Entry]
Encoding=UTF-8
Name=Fluxbox
Comment=Highly configurable and low resource X11 Window manager
Exec=/usr/bin/startfluxbox
Terminal=False
TryExec=/usr/bin/startfluxbox
Type=Application

[Window Manager]
SessionManaged=true
dig that and just replace azalea stuff there, etc
thats for GDM
and then choose azalea from gdm login screen, etc
gdm defaults to a file named .dmrc in /home/username and /root

[Desktop]
Session=Fluxbox

hope that helps some
 
1 members found this post helpful.
Old 07-17-2010, 11:31 AM   #6
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
linus72, that helped a lot! Thanks! Do you also know if the same works for kdm as well?
 
Old 07-17-2010, 11:43 AM   #7
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,058

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
oh
not sure Queenz...
I think KDE keeps stuff elsewhere...

it may be /etc/kdm/kdmrc
or
/etc/X11/kdm
/etc/X11/sessions
/usr/share/X11
/usr/share/config/kdm/kdmrc

I dont have kde in anything thats why I dont know...
 
1 members found this post helpful.
Old 07-17-2010, 11:54 AM   #8
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
I think it's in the same place (/usr/share/xsessions/)

/usr/share/xsessions/kde4.desktop:Name=KDE4
 
  


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
Default Desktop Environment of OpenSolaris... Alexvader Solaris / OpenSolaris 1 01-10-2010 05:09 AM
After installing Debian, the default desktop environment is... WillingToLikeLinux Linux - Newbie 4 08-20-2009 02:57 AM
Desktop environment as default phantom_cyph Linux - Desktop 6 03-31-2007 01:28 PM
What does Default desktop environment actually mean? mr.flywheel Linux - Newbie 5 10-31-2004 08:50 AM
How to change default desktop environment???? thegreenearth Linux - Newbie 7 11-15-2001 02:14 PM


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