gtk-qt-engine's .gtkrc-2.0-kde4 gets deleted

Bug #352946 reported by mrvanes
32
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kdebase-workspace (Ubuntu)
Fix Released
Low
Anthony Mercatante

Bug Description

Binary package hint: systemsettings

In Kubuntu Jaunty, after setting the GDK-styles in systemsettings the ~/.gtkrc-2.0-kde4 file gets deleted after loging in again. This results in an (ugly) default GTK theme for eg. Firefox. My workaround is copying ~/.gtkrc-2.0-kde4 to ~/.gtkrc-2.0 after it has been created.

affects: kdebase-workspace (Ubuntu) → kubuntu-default-settings (Ubuntu)
Revision history for this message
Harald Sitter (apachelogger) wrote :

startkde currently removes the .gtkrc file if kubuntu-default-settings or qtcurve are not installed, though there is still the case that gtk-qt-engine is installed, so it just needs an enhanced if statement for that case:

  if [ -e $HOME/.gtkrc-2.0-kde4 ] && [ ! -e /var/lib/dpkg/info/gtk-qt-engine.list ] ; then
    rm -f $HOME/.gtkrc-2.0-kde4
  fi

Attaching complete startkde and assigning to Tonio

Changed in kdebase-workspace (Ubuntu):
assignee: nobody → tonio
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Harald Sitter (apachelogger) wrote :
summary: - ~/.gtkrc-2.0-kde4 gets deleted on login
+ gtk-qt-engine's .gtkrc-2.0-kde4 gets deleted
Changed in kdebase-workspace (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
mrvanes (mrvanes) wrote :

The corrected startkde does not fix the problem (for me). ,gtkrc-2.0-kde4 still disappears after re-logon.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebase-workspace - 4:4.2.2-0ubuntu2

---------------
kdebase-workspace (4:4.2.2-0ubuntu2) jaunty; urgency=low

  [ Harald Sitter ]
  * Add kubuntu_13_startkde_set_country.diff to set KDE's country setting
    (based upon the locale value, so 'de_AT' would be 'at' as country) at
    login. If no LANG is set, or parsing results in an empty string, nothing
    will be done. (LP: #224461)
  * Don't remove gtk-qt-engine cruft and .gtkrc-2.0-kde4 not only when
    qtcurve and kds are installed but also when gtk-qt-engine itself is
    installed. Otherwise the latter will be unapplied post-login (LP: #352946)

  [ Jonathan Thomas ]
  * Add kubuntu_75_fix_shellrunner_crash.diff, fixes KDE bug 186036, and can
    be removed in KDE 4.2.3 (LP: #340607)
  * Add kubuntu_76_disable_dim_for_polkit.diff, the dim plugin breaks the
    policykit-kde dialog (LP: #350225)
  * Add kubuntu_77_fix_autohide_glowbar_flicker.diff, unappliable in KDE 4.2.3
  * Add kubuntu_78_kubuntu_78_krunner_history_combobox_palette.diff to fix an
    invisible scrollbar background in the combobox, unappliable in KDE 4.2.3
  * Add kubuntu_79_fix_small_screensavers.diff to fix small OpenGL
    screensavers, can be unapplied in KDE 4.2.3 (LP: #211422)

 -- Jonathan Thomas <email address hidden> Mon, 06 Apr 2009 14:35:52 -0400

Changed in kdebase-workspace (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
dw40 (xoobxa) wrote :

This bug reappeared in Karmic Kubuntu after recent updates.

Revision history for this message
yota (yota-opensystems) wrote :

Confirmed on Karmic, startkde still contains:

if [ -e $HOME/.gtkrc-2.0-kde4 ] && [ ! -e /var/lib/dpkg/info/gtk-qt-engine.list ] ; then
    rm -f $HOME/.gtkrc-2.0-kde4
fi

In my case installing kubuntu-default-settings was the easiest way to avoid the annoyance.

Revision history for this message
Maxime (max-accadia) wrote :

This bug also affects Lucid.
Installing kubuntu-default-setting work around this bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.