LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why is the GUI of gedit in Kubuntu ugly? (https://www.linuxquestions.org/questions/linux-newbie-8/why-is-the-gui-of-gedit-in-kubuntu-ugly-909917/)

alienDog 10-30-2011 05:17 PM

Quote:

Originally Posted by Ornithological Ornod (Post 4511389)
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.



I tried deleting .gconf, .gnome2 and .gnome2_private and then reboot my computer. It makes no difference.



I tried creating a new account and gedit looks weird there too.



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"

Try renaming it to ".gtkrc-2.0" (i.e. without -kde4 suffix), see if that makes any difference.

Ornithological Ornod 11-17-2011 05:37 PM

Quote:

Originally Posted by alienDog (Post 4512077)
Try renaming it to ".gtkrc-2.0" (i.e. without -kde4 suffix), see if that makes any difference.

I rename .gtkrc-2.0-kde4 to .gtkrc-2.0, reboot and find that there is a new file called .gtkrc-2.0-kde4 (obviously created by the operative system) and whose contents is identical to .gtkrc-2.0.

The graphics of gedit is still the same.

By the way, I installed Kubuntu 11.10 on a another computer, updated everything, rebooted, installed gedit, rebooted, and it seems to be the case that gedit looks exactly the same like I have described before for the current that I am using. It seems to have some ancient kind of primitive graphics.

alienDog 11-18-2011 04:20 PM

Hmm... weird. Is the file /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc in place and are the permissions correct?

Ornithological Ornod 11-19-2011 04:12 AM

Quote:

Originally Posted by alienDog (Post 4527879)
Hmm... weird. Is the file /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc in place and are the permissions correct?

I think so.

Code:

dagge@dagge-dator:~$ ls -n /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc
-rw-r--r-- 1 0 0 6623 2011-08-13 17:32 /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc

I have one more clue. If loading gedit from the command line, I get this error message:
Code:

dagge@dagge-dator:~$ gedit

** (gedit:19965): WARNING **: Could not load theme icon gtk-home: Icon 'gtk-home' not present in theme


alienDog 11-19-2011 02:23 PM

Quote:

Originally Posted by Ornithological Ornod (Post 4528165)
I think so.

Code:

dagge@dagge-dator:~$ ls -n /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc
-rw-r--r-- 1 0 0 6623 2011-08-13 17:32 /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc

I have one more clue. If loading gedit from the command line, I get this error message:
Code:

dagge@dagge-dator:~$ gedit

** (gedit:19965): WARNING **: Could not load theme icon gtk-home: Icon 'gtk-home' not present in theme


You could try copying the gtkrc file from /usr/share/themes/oxygen-gtk/gtk-2.0/ to your home directory as .gtkrc-2.0-kde4 and/or .gtkrc-2.0 as brianL suggested.

I think the error you're receiving just has to do with one missing icon in your icon theme (gtk-home). This shouldn't mess up the whole theme.

Hellmark 02-02-2012 05:02 PM

Having the same issue here. I prefer the look of QTCurve, and have used it for my widgets and window decorations for years. Kubuntu 11.10, and Gedit refuses to use QTCurve. All other GTK apps, such as Pidgin, Firefox, etc. use QTCurve without problem. It only seems to be Gedit that has the issue.

joojoobee666 02-08-2012 07:56 AM

This sounds like the same problem I ran into and just resolved yesterday The issue is that QtCurve and the current oxygen-gtk do not support gtk 3.0 apps. There is an updated Oxygen-gtk theme that works with gtk 3 apps now (no QtCurve yet as far as I could find).

This is my first post so I cannot post the link here. See post below....

---------- Post added 02-08-12 at 02:56 PM ----------

Try the instructions here: http://www.kubuntuforums.net/showthr...for-gtk3-apps&


All times are GMT -5. The time now is 12:12 PM.