Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 06-20-2010, 12:23 PM   #1
LQ Newbie
Registered: Jun 2010
Posts: 7

Rep: Reputation: 0
How to apply patch to Gnome on Ubuntu

My system has been crashing, and I think it may have something to do with Gnome since the crashes only occur when I'm using it. I checked the log file after a crash and it reported...

Gtk-CRITICAL **: gtk_accel_map_unlock_path: assertion `entry != NULL && entry->lock_count > 0' failed

so I went to the Ubuntu launchpad and searched for it, and here it is. Someone has already submitted a patch and the bug status has been changed to "fix released."

From reading the comments, I've learned the fix is only in Gnome 2.30, and Ubuntu 10.04 uses 2.28 (I think, maybe 2.26) (If it is possible to update to a new version of Gnome, please let me know). Luckily, someone also submitted a patch on the bug report as a temporary fix.

Unfortunately, I don't know how to apply the patch. I couldn't find much information regarding it online, and the only stuff I did find applied to using Gnome's git hub.
Old 06-20-2010, 03:27 PM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,096

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
If you are a linux newbie ( I know, six posts to LQ doesn't mean anything, but neither does 3000+ ), then I would not recommend updating your kernel to one that your distro maybe isn't ready for yet.

The launchpad link you gave us seems to refer to gnome-terminal as causing problems.

The simple work-around (until bugs are fixed) might be to use another terminal instead.

xterm is probably already installed. You could use that instead:

R-click "Applications"
Edit Menus
Select "Accessories"
Select "Terminal"

Change "Command" from gnome-terminal to xterm

Now "Applications .. Accessories .. Terminal" will open an xterm which should not crash.

If you don't like xterm there are many other X terminals you can install and use instead. Synaptic package manager will help you search for them, and install them for you. Set the one you like best as your GUI menu default (method is above).

You can revert these changes when the bug is fixed.
gnome-terminal works fine on my ubuntu 10.04 but YMMV.
Old 06-20-2010, 04:51 PM   #3
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Linux Mint
Posts: 1,675

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Depending on your needs/wants for a terminal program (I find xterm rather ugly myself), you might try lxterminal, roxterm, or sakura.
Old 06-20-2010, 06:18 PM   #4
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,096

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
Sure, xterm is ugly (it uses some outdated GUI toolkit, which I recognise from waaay back), but, to its credit, it still works, and does not crash.

If you can gain access to a terminal which works, then you have the ability to fix things so they work better.

Thanks for the suggestions for alternative GUI terminals. I hope usernameinuse tries them out.
Old 06-21-2010, 08:37 AM   #5
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Don't forget Xfce's terminal and Konsole.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to apply a patch? ashlesha Linux - Software 4 12-07-2006 03:09 PM
How to apply a patch? amwink Programming 2 11-25-2005 08:14 PM
Apply a Patch for gnome menu Mr. Slappy Slackware 2 01-14-2005 08:28 PM
Ho Do I Apply The CK Patch? AFI_Flame Linux - Software 1 11-14-2004 11:49 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-21-2004 12:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration