LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-20-2010, 11:23 AM   #1
usernameinuse
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, 02:27 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
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"

Properties
Change "Command" from gnome-terminal to xterm
Close
Close

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, 03:51 PM   #3
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,552

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
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, 05:18 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
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, 07:37 AM   #5
MTK358
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.
 
  


Reply


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 02:09 PM
How to apply a patch? amwink Programming 2 11-25-2005 07:14 PM
Apply a Patch for gnome menu Mr. Slappy Slackware 2 01-14-2005 07:28 PM
Ho Do I Apply The CK Patch? AFI_Flame Linux - Software 1 11-14-2004 10:49 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM


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

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