If I used GNOME intead of KDE would it make any difference to what programs I could run?

Noriaki

Lifer
Jun 3, 2000
13,640
1
71
If I used GNOME intead of KDE would it make any difference to what programs I could run?

Or Vice Versa, or replace GNOME and KDE with any other two window managers. It's just a generic question.

Does a program have to support a specific window manager to run program?
 

Chaotic42

Lifer
Jun 15, 2001
34,785
1,966
126
Hmmm... I'd have to say yes. Here's why:

I'm learning how to write Gnome programs in Python right now. There are Gnome
specific things in my program like

'box = GnomeMessageBox ("Yes or No?", "question", STOCK_BUTTON_YES, STOCK_BUTTON_NO)'

I can't imagine that running on KDE :)
 

Shuxclams

Diamond Member
Oct 10, 1999
9,286
15
81
I had difficulty getting some programs to work as well or at all n KDE and vise versa.








SHUX
 

ugh

Platinum Member
Feb 6, 2000
2,563
0
0
Umm.. I don't think there'll be much difference apart from different GUI widgets which could look a bit odd IMO. Buttons using GTK are generally smaller than those with Qt.
 

Workin'

Diamond Member
Jan 10, 2000
5,309
0
0
If you install all the libraries for both Gnome and KDE then programs written for either will work just fine regardless of which one you are using at the moment.
 

Chaotic42

Lifer
Jun 15, 2001
34,785
1,966
126


<< Chaotic42,

How can I get started developing Gnome applications?

-S
>>



Well, I'm just a pup at developing software, and I'm *really* just learning
GNOME. I've tried GTK and stuff in C, and I have to admit, I didn't like it. I've
found that doing it in Python is *much* easier.

Here is a link for starting out in C.
Here is one in the works for Python. The python-gnome package comes with some examples
which are located in /usr/doc/python-gnome/examples/ . That's basically how
I'm learning. There might be a better resource, but I'm having fun and learning, so
it's cool.

If I can help out with anything, let me know.
 

Noriaki

Lifer
Jun 3, 2000
13,640
1
71


<< If you install all the libraries for both Gnome and KDE then programs written for either will work just fine regardless of which one you are using at the moment. >>

You can install the Gnome Widget libraries in KDE? Cool :)
 

Bremen

Senior member
Mar 22, 2001
658
0
0


<< You can install the Gnome Widget libraries in KDE? Cool >>

Actually, that isn't quite true. What you do is install both KDE and GNOME on the system, and the application will use whichever libraries it needs. For instance I run licq (using the qt frontend) under GNOME.

(ok ok, you can install the libraries without actually installing KDE/GNOME, however its a heck of a pain...)
 

ugh

Platinum Member
Feb 6, 2000
2,563
0
0


<< You can install the Gnome Widget libraries in KDE? Cool :) >>


Most definitely. It's just the gtk libraries. It should be installed by default since a lot of apps use it.
 

Noriaki

Lifer
Jun 3, 2000
13,640
1
71
Yeah I think my Mandrake 7.2 install has KDE and Gnome installed.
I just thought I had to select one or the other, I didn't realize KDE could still use the Gnome libraries. Though I'm pretty sure Gnome *is* installed.
 

Workin'

Diamond Member
Jan 10, 2000
5,309
0
0


<< You can install the Gnome Widget libraries in KDE? >>

Or you can install the KDE libraries in Gnome ;)

I believe the window manager controls which widgets are used in the app frames and such, and the program controls which dialogs and internal widgets are used. KDE has it's own window manager, but you don't have to use it.
 

Noriaki

Lifer
Jun 3, 2000
13,640
1
71
I think I like KDE better than Gnome.
At least I think I do.

I'm still a Linux newbie.

I'm familiar with CDE on SunOS 2.6 (aka Solaris 6).
And I'm fairly comfortable with Unix from a Command line.

But still Linux isn't exactly the same.
 

Workin'

Diamond Member
Jan 10, 2000
5,309
0
0


<< ok ok, you can install the libraries without actually installing KDE/GNOME, however its a heck of a pain...) >>

Huh??? No it isn't. There are no problems at all. KDE couldn't care less if Gnome is there and vice-versa. Each app happily uses whatever libraries it needs. They don't conflict in any way, shape, or form. Unless something's changed since this morning...
 

Lazer

Member
May 17, 2001
25
0
0
Run them both. You can have 9 virtual machines running at the same time. Make up some user names and your all set.
 

Bremen

Senior member
Mar 22, 2001
658
0
0


<< << ok ok, you can install the libraries without actually installing KDE/GNOME, however its a heck of a pain...) >> >>




<< Huh??? No it isn't. There are no problems at all. KDE couldn't care less if Gnome is there and vice-versa. Each app happily uses whatever libraries it needs. They don't conflict in any way, shape, or form. Unless something's changed since this morning... >>


If they only use qt or gtk+ this may be true. But for instance take GNU Cash, IIRC it requires 40 different GNOME libs. Alot different than just installing the latest version of GTK+.
 

ugh

Platinum Member
Feb 6, 2000
2,563
0
0


<< If they only use qt or gtk+ this may be true. But for instance take GNU Cash, IIRC it requires 40 different GNOME libs. Alot different than just installing the latest version of GTK+. >>


That's why I prefer KDE over Gnome. Even rebuilding KDE is easy coz there are only a handful (although rather large) packages to build ;)
 

MGMorden

Diamond Member
Jul 4, 2000
3,348
0
76
While everybody seems to be taking forever to say it, you can run any KDE or Gnome based applications so long as the libraries are there. Install both. Use whichever. Heck you can use fvwm, Windowmaker, IceWM, or whatever you want and you can STILL run KDE/Gnome apps with the libaries. They have to go through X and it's window manager. I've brought up kde and gnome apps remotely on a solaris box that didn't have EITHER of them installed on that machine, but the remote machine on which the processes were running had the libraries so everything was good.
 

Bremen

Senior member
Mar 22, 2001
658
0
0


<< While everybody seems to be taking forever to say it, you can run any KDE or Gnome based applications so long as the libraries are there. >>

I thought that was already quite well established :0) Ah, well, thanks for making it nice and clear for those who don't want to have to deal with libs directly (which probably also includes most people who do...)