Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have just installed Kubuntu on my laptop and when I run gedit, the GUI looks ancient and ugly. It should be beautiful. This has happened to me before, but I do not how to undo it. Check the picture.
You're running GTK/GNOME based application (GEdit) under QT based environment (KDE). It seems that your GTK theme doesn't get set, and that the GTK uses the default theme with some really weird font. You could try installing gtk-chtheme (http://plasmasturm.org/code/gtk-chtheme/) and setting your preferred theme with that, but my suggestion would be to use a QT based editor instead of GEdit. Kate is what I think KDE folks often use (you probably have it installed in your system by default), but there are other choices too.
I know about Kate and lots other duplicate KDE tools.
I think that KDE makes trouble if you open gedit after installation without having first rebooted. That is what my memory tells me (a bit unsure). There must be text file with settings somewhere that can be edited.
I know about Kate and lots other duplicate KDE tools.
I think that KDE makes trouble if you open gedit after installation without having first rebooted. That is what my memory tells me (a bit unsure). There must be text file with settings somewhere that can be edited.
~/.gtkrc? That's what gtk-chtheme would end up editing, I think. I could be wrong about this, though. It could be something to do with KDE, I'm not really a KDE man.
~/.gtkrc? That's what gtk-chtheme would end up editing, I think. I could be wrong about this, though. It could be something to do with KDE, I'm not really a KDE man.
Nope! Check the picture. Those are my folders in the home directory.
You could install QT-Curve, its a matching gtk/qt. It will make all your applications look the same. After you've installed it You can use "gtk-chtheme" to change your gtk theme, then just go into your kde settings to change your qt theme to qt-curve.
You could install QT-Curve, its a matching gtk/qt. It will make all your applications look the same. After you've installed it You can use "gtk-chtheme" to change your gtk theme, then just go into your kde settings to change your qt theme to qt-curve.
You could install QT-Curve, its a matching gtk/qt. It will make all your applications look the same. After you've installed it You can use "gtk-chtheme" to change your gtk theme, then just go into your kde settings to change your qt theme to qt-curve.
I did install the QT-curve package (kde-style-qtcurve) and enable it in "Windows decorations". But when I run gedit, it looks weird (attached picture). It does not solve my problem.
Another strange phenomenon is that gedit always opens an empty document whenever I open a text file from Dolphin. That is "Untitled Document 1" in the picture. That never happens otherwise (= it is related to the GUI problem.).
A third strange thing is that other Gnome programs are being affected (e.g., Document Viewer) too.
If I get rid of my current Kubuntu installation, reinstall Kubuntu, install gedit into the new installation and reboot my computer, then these problems are no more. But it is too time-consuming to do that. There is some setting phenomenon that is affecting some Gnome programs in KDE and I want to know what that is.
did you use the gtk-chtheme program to change your gtk theme?
I installed gtk-chtheme and it does not seem to make any change anywhere. When picking a different window decoration, I get new frames of gedit and other programs, but the interior of all programs and windows seems to be unchanged.
I installed gtk-chtheme and it does not seem to make any change anywhere. When picking a different window decoration, I get new frames of gedit and other programs, but the interior of all programs and windows seems to be unchanged.
Isn't this what's supposed to happen when you change the window decorations? You need to change the toolkit theme, not the window decorations.
One thing you could try is renaming .gonf, .gnome2 and .gnome2_private directories to some other name. Maybe something's wrong there. You will lose the settings of your GNOME apps is you decide to try this, but you can always set them again (or simply rename the directories back).
Does gedit act up with every user account on your machine or just with the one that you generally use?
Ps. .gtkrc is a regular file, it's not a directory. The user interface settings of GTK (fonts, theme etc.) are usually in this file.
To get the oxygen-gtk theme working properly, you have to copy the gtkrc file to your home directory as .gtkrc-2.0. Don't know if it's the same in Kubuntu, but in Slackware it means doing this:
Isn't this what's supposed to happen when you change the window decorations? You need to change the toolkit theme, not the window decorations.
Changing widget style in system settings -> application appearance -> style makes wonders in Kate but not in Gedit, i.e. it does not seem to work for non-KDE applications.
Quote:
Originally Posted by alienDog
One thing you could try is renaming .gonf, .gnome2 and .gnome2_private directories to some other name. Maybe something's wrong there. You will lose the settings of your GNOME apps is you decide to try this, but you can always set them again (or simply rename the directories back).
I tried deleting .gconf, .gnome2 and .gnome2_private and then reboot my computer. It makes no difference.
Quote:
Originally Posted by alienDog
Does gedit act up with every user account on your machine or just with the one that you generally use?
I tried creating a new account and gedit looks weird there too.
Quote:
Originally Posted by alienDog
Ps. .gtkrc is a regular file, it's not a directory. The user interface settings of GTK (fonts, theme etc.) are usually in this file.
In my home folder, I can find .gtkrc-2.0-kde4. It contains one line of code:
Code:
include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.