View previous topic :: View next topic |
Author |
Message |
thekillerbean n00b
Joined: 24 Jul 2002 Posts: 29
|
Posted: Mon Jul 29, 2002 7:10 am Post subject: desktop / window manager - what's the diff? |
|
|
i'm quite new to the linux desktop/window management stuff and i'm a little confused as to what each does - is a desktop manager the same thing as a window manager? if not, what are the main differences?
if the explanation is a long one and someone here knows of a really good newbie friendly site that explains all the differences, i'd be glad to go do some reading. however, if the explanation is a short one, then please post right here.
much obliged! |
|
Back to top |
|
|
Dolio l33t
Joined: 17 Jun 2002 Posts: 650
|
Posted: Mon Jul 29, 2002 7:39 am Post subject: Brief |
|
|
If you want a brief description...
A window manager generally handles less stuff than a desktop manager does. For example, I use the enlightenment window manager. It draws the borders around the windows, and handles stuff like minimizing, maximizing and resizing the windows. It also handles switching between virtual desktops (you have 4 of them by default in most of the window managers I've tried).
Desktop managers do a lot more. Take Gnome for example (I'm more experienced with it, although I don't actually use it). Gnome includes Nautilus, which draws stuff on the "desktop", like icons and stuff. Enlightenment doesn't do that (currently). Nautilus is also a graphical file manager, so you can do stuff to files (like in Windows explorer). Gnome also integrates GTK+, which is a whole graphical toolkit. Gnome has tools for customizing all sorts of aspects of how your programs behave (like how all the little widgets look, rather than just the widgets on the toolbar).
So, I guess to compare it to Windows, a window manager would be the part of Windows that helps to draw and position the actual windows on the screen, while a desktop manager would be more like windows explorer + IE + the help system + Media Player + ...
Hope that helps. I may not be explaining it as well as you'd like. If not, hopefully someone else will. _________________ They don't have a good bathroom to do coke in. |
|
Back to top |
|
|
thekillerbean n00b
Joined: 24 Jul 2002 Posts: 29
|
Posted: Mon Jul 29, 2002 8:03 am Post subject: |
|
|
so, do i need both of them to have a fully functioning gui or can i use one or the other? for instance, if i install the gnome desktop manager, do i then have to turn around and install a window manager like enlightenment? |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Mon Jul 29, 2002 8:27 am Post subject: |
|
|
I think X Window System Architecture Overview HOWTO will give an intersteing reading.
Explains Window Managers, Desktop Environments, toolkits and more. _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
thekillerbean n00b
Joined: 24 Jul 2002 Posts: 29
|
Posted: Mon Jul 29, 2002 8:53 am Post subject: |
|
|
this calls for some hot cup'a tea and a soft sofa - i'll be reading a while.
thanks.
[edit]
that was a mighty good read - it now makes sense. okay, let me see if i learnt anything:
i can choose to either have a window manager like enlightenment without a desktop environment, in which case, i may end up without a task bar at the bottom of the screen, right? or, i may opt to load gnome and have enlightenment run on top of gnome which gives me some additional functionality like a task bar - am i right? hope so!
[/edit] |
|
Back to top |
|
|
citizen428 Retired Dev
Joined: 10 Jun 2002 Posts: 317 Location: Vienna, Austria
|
Posted: Mon Jul 29, 2002 1:30 pm Post subject: |
|
|
If you want some further reading this is IMHO a nice site covering the various WM and DE.
http://xwinman.org/ |
|
Back to top |
|
|
thekillerbean n00b
Joined: 24 Jul 2002 Posts: 29
|
Posted: Thu Aug 01, 2002 1:43 pm Post subject: |
|
|
thanks all those provided for excellent reading and learning. now i have emerge'd enlightenment. however, i'm still getting that ugly intial window manager (twm). what files do i need to edit to make this so!
thanks. |
|
Back to top |
|
|
line72 Apprentice
Joined: 13 Jun 2002 Posts: 212
|
Posted: Thu Aug 01, 2002 2:05 pm Post subject: |
|
|
all desktops will use a window manager. Gnome uses metacity, sawfish or enlightenment, and kde uses kdm. You can use a window manager by itself though
/Line72 |
|
Back to top |
|
|
abhishek Retired Dev
Joined: 28 Jun 2002 Posts: 393 Location: Los Angeles, CA
|
Posted: Thu Aug 01, 2002 3:23 pm Post subject: |
|
|
Just do echo exec enlightenment>~/.xinitrc If u wanted to use flux(the best IMO) thatd be exec fluxbox, For balckbox itd b exec blackbox.... Gnomewould be gnome-session and kde would be startkde. |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Thu Aug 01, 2002 3:54 pm Post subject: |
|
|
line72 wrote: | all desktops will use a window manager. Gnome uses metacity, sawfish or enlightenment, and kde uses kdm. You can use a window manager by itself though
/Line72 |
kdm is the login manager. kde's window manager is kwin. _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
Nebajoth n00b
Joined: 04 Jul 2002 Posts: 22 Location: Ottawa, Ontario, Canada
|
Posted: Thu Aug 01, 2002 8:31 pm Post subject: |
|
|
You don't have to use any graphical frontend to Linux at all, you know.
( )
You're already at the console, the most powerful interface to the inner workings of your computer - why pollute that?
That said, I use a window manager. ( )
I very much enjoy all the *box windowmanagers. Fluxbox is the one I'm using now, however. It's a nice, clean, non-bloated interface that just happens to have a clock on a task-bar-like thinger on the bottom. Just enough like Windows to be comfortable, but cleaner than my winky on a day that my girlfriend is coming over and I might get some play.
You could also opt for a completely bohemian/minimalist WM, and emerge EVILWM! Evilwm is very very very sparse. It adds a one-pixel wide border to your windows and... well, that's it. No close, no minimize widgets - those functions are all carried out with keyboard commands. It's also got a neat little CTRL-ALT-# switcheroo function between virtual desktops, which makes for good interfacing with GUI programs (like Galeon, which you can FINALLY run fullscreen). I opted against it in the end, despite my absolute love for maximized browser windows, because it was too difficult (for MY limited brain, anyhow) to keep track of what program was on what virtual desktop, and thus had to scroll through each. Gr.. When someone makes an Evilwm offshoot that has transparency effects which allows you to see the virtual desktop "below" the one you're working on, I'll switch back.
Anyhow, why not just emerge a few and try them out?
Gnome2 is very pretty, as is KDE3.
Enlightenment 0.17 is going to be crazy! Rasterman is God! _________________ "I'm not a robot like you. I don't like having disks crammed into me... unless they're Oreos, and then only in the mouth."
-- Fry |
|
Back to top |
|
|
thekillerbean n00b
Joined: 24 Jul 2002 Posts: 29
|
Posted: Thu Aug 01, 2002 10:47 pm Post subject: |
|
|
data_the_android wrote: | Just do echo exec enlightenment>~/.xinitrc. |
exactly what does this commend do? i typed it in a console and all it did was log me out - i was logged in as root - would it matter who was logged in? sorry, had to do it really quick as i was walking out the door to get to work. i'll try logging as a plain vanilla user when i get home later and try. |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Thu Aug 01, 2002 11:47 pm Post subject: |
|
|
echo simply takes the next set of characters and repeats it to the screen. The '>' symbol redirects this to the file that follows. In this case, ~/.xinitrc. You could simply use a text editor (I recommend vim.) to add this line to the end of the file yourself, but since it's only one line some people will use echo. The idea behind adding this line to your ~/.xinitrc file is so that when you login and type startx it will start the window manager that you specified. (i.e. fluxbox, blackbox, etc..) _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Fri Aug 02, 2002 4:56 am Post subject: |
|
|
You may have missed out the "echo" part. This would try to exec enlightenment in your console session and, as a result, terminate the currently running shell session.
The final thing that an .xinitrc file should do is to exec, i.e., replace the shell with the program to be run, some application which will stay alive for the duration of the X session. When this program exits, startx will kill the X server and clean up.
thekillerbean wrote: | data_the_android wrote: | Just do echo exec enlightenment>~/.xinitrc. |
exactly what does this commend do? i typed it in a console and all it did was log me out - i was logged in as root - would it matter who was logged in? sorry, had to do it really quick as i was walking out the door to get to work. i'll try logging as a plain vanilla user when i get home later and try. |
|
|
Back to top |
|
|
[UK]Superdude Tux's lil' helper
Joined: 22 Jul 2002 Posts: 149 Location: Adelaide, Australia
|
Posted: Fri Aug 02, 2002 5:29 am Post subject: |
|
|
Also if that is just too painful I beleive that when u emerge enlightenment there is a script called enlightenment.install that will set E up as your default window manager.
Or you could open .xinitrc and look for the line with twm and instead replace it with enlightenment. |
|
Back to top |
|
|
thekillerbean n00b
Joined: 24 Jul 2002 Posts: 29
|
Posted: Fri Aug 02, 2002 5:30 am Post subject: |
|
|
Naan Yaar wrote: | You may have missed out the "echo" part. |
you are indeed right - i completely missed the echo. i'll do that again in the morning and post back.
[edit]
thanks - this did the trick!
[/edit] |
|
Back to top |
|
|
vash n00b
Joined: 13 Jul 2002 Posts: 59
|
Posted: Sun Aug 25, 2002 1:22 pm Post subject: |
|
|
Alrite, I'm new here.
I emerge'd Gnome2 yesterday and prefer it a bit over KDE, although KDE feels a bit more polished. How can I determine which window manager I am using for Gnome? Am I running metacity, sawfish, etc? I've emerged both metacity and sawfish, modded my .bashrc reloaded gdm -- they look exact the same (either that, or I'm missing something completely).
vash |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Sun Aug 25, 2002 1:30 pm Post subject: |
|
|
grep the output of ps aux while logged in gnome to see which one is running, e.g:
Code: | ps aux | grep metacity |
_________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
vash n00b
Joined: 13 Jul 2002 Posts: 59
|
Posted: Sun Aug 25, 2002 1:38 pm Post subject: |
|
|
mksoft wrote: | grep the output of ps aux while logged in gnome to see which one is running, e.g:
Code: | ps aux | grep metacity |
| Thanks. Looks like I'm running sawfish currently. Hrm. What other WMs can I run on top of Gnome2? I know metacity and I'll go and figure out how to change my WM to that.
vash |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Sun Aug 25, 2002 2:01 pm Post subject: |
|
|
Changing GNOME2 WMs has been discussed before in the forums. _________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
|