LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-21-2011, 09:52 AM   #1
Johnburrell
Member
 
Registered: May 2004
Distribution: FC3
Posts: 87

Rep: Reputation: 27
Gnome 3 on LFS-7.0


I've installed Gnome 3 (version 3.2) on LFS-7.0 and everything seemed to compile and install okay. However, I have a major piece of missing functionality - when I click the files icon or the terminal icon, I get the timer for about 10 seconds and then nothing.

I assume that during those 10 seconds there are error messages being sent to stdout or /dev/null or somewhere.

My question is - how can I intercept those messages to see the errors? Does Gnome keep the error messages in a log file? I've looked around (in /var/log for e.g.) but as yet have found nothing obvious.

Thanks for any help.

jb.
 
Old 11-22-2011, 10:13 AM   #2
Bertical
Member
 
Registered: Oct 2008
Location: Kingdom of Mercia
Distribution: Slackware
Posts: 83

Rep: Reputation: 14
Maybe you could use a wrapper script. Something like :

Code:
mv /usr/bin/gnome-terminal /usr/bin/old.gnome-terminal

cat > /usr/bin/gnome-terminal << EOF
#!/bin/bash

exec old.gnome-terminal | tee /tmp/terminal.log

EOF

chmod +x /usr/bin/gnome-terminal
Then click the icon. Shut down X and cat the log in /tmp/terminal.log.

Don't forget

Code:
mv /usr/bin/old.gnome-terminal /usr/bin/gnome-terminal
 
Old 11-22-2011, 11:18 AM   #3
Johnburrell
Member
 
Registered: May 2004
Distribution: FC3
Posts: 87

Original Poster
Rep: Reputation: 27
Thanks for the suggestion.

I needed:

exec old.gnome-terminal 2>&1 | tee /tmp/terminal.log

to get the error message into the log file.

Here is the result:

ERROR:terminal-app.c:1449:terminal_app_init: assertion failed: (app->default_profile_id != NULL)

which I'm afraid doesn't help me very much, as I don't program in C and I have no idea what
terminal-app.c is doing.

jb.
 
Old 11-22-2011, 03:54 PM   #4
Bertical
Member
 
Registered: Oct 2008
Location: Kingdom of Mercia
Distribution: Slackware
Posts: 83

Rep: Reputation: 14
I'm out of my depth here. Maybe it is looking for a profile in .gconf/apps/gnome-terminal/profiles/Default.
 
  


Reply



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
[SOLVED] KDE or Gnome on top of LFS? sebastiane Linux From Scratch 4 09-22-2011 06:26 AM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
LFS newbie stuck in Linux API headers step 5.5 LFS book 6.3 Vxplus Linux From Scratch 2 11-10-2008 08:13 PM
LFS and Gnome (2.18.x)? Is this how it is supposed to look? Seph64 Linux From Scratch 6 12-10-2007 09:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:47 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
Open Source Consulting | Domain Registration