Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Concentration runs from the command line but not from Gnome
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Sat Nov 12, 2005 4:26 am    Post subject: Concentration runs from the command line but not from Gnome Reply with quote

I can run concentration from a terminal as a user but not from the Gnome menu. I ran smeg to check the actual command and it is correct. I also entered in the path to concentration and it still doesn't work.

I tried to let it run in a terminal but the message flew by too fast.

1) Why won't concentration run from the gnome menu?
2) How can I debug this?

Thanks
_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Sat Nov 12, 2005 7:02 pm    Post subject: Reply with quote

Can you redirect the error output to a file so you can inspect it later?
Code:
command 2>debug.txt

_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Sat Nov 12, 2005 7:05 pm    Post subject: Reply with quote

papal_authority wrote:
Can you redirect the error output to a file so you can inspect it later?
Code:
command 2>debug.txt
Then post your debug.txt :wink:
_________________
Proudly Member of GeCHI
Back to top
View user's profile Send private message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Sat Nov 12, 2005 8:26 pm    Post subject: Reply with quote

I tried that but the file is never created.

I had tried

concentration >debug.txt before I posted but then saw that you were suggesting concentration 2>debug.txt but still no dice. I am not even sure where the file would have been created so I specified the path but the file is not being created.

What am I doing wrong?

Is there a way to get Gnome to log the results in /var/log/<somehwere>?

Thanks for you help!
_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Sat Nov 12, 2005 10:55 pm    Post subject: Reply with quote

It should just be in your $HOME directory, but maybe try an explicit path:
Code:
concentration 2>/var/log/debug.txt

_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Sun Nov 13, 2005 4:46 am    Post subject: Reply with quote

This is frustrating.

I copied and pasted the command "concentration 2>/var/log/debug.txt" and still no log file.

If I run that command from the terminal it says Permission Denied. My user does not have access to that directory but even if I run:

"concentration 2>/home/<user>/debug.txt" it still does not create the log file. Of course it does if I run it from the command line but not from the gnome menu.

--Update--
In desperation I just logged out of Gnome and logged in and now it works. Thanks for the help
_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
volkmar
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 122

PostPosted: Sun Nov 13, 2005 9:10 am    Post subject: Re: Concentration runs from the command line but not from Gn Reply with quote

I've got the reverse problem. Games like concentration, scramble or torrent are easily running from fluxbox. But when I try to run them from console I am getting
Code:
       ---------------------- DirectFB v0.9.22 ---------------------
             (c) 2000-2002  convergence integrated media GmbH 
             (c) 2002-2004  convergence GmbH                   
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2005-04-19 08:37)
(*) Direct/Memcpy: Using SSE optimized memcpy()
(!) DirectFB/core/vt: Error opening `/dev/tty0'!
    --> Permission denied
(!) DirectFB/Core: Could not initialize 'system' core!
    --> Initialization error!
(!) [23091:    0.000] --> Caught signal 11 (at 0x1c, invalid address) <--

Regardless on which console I am logged on, it always complains about /dev/tty0
Code:
volkmar@localhost ~ $ ls -al /dev/tty{0,1,2,3,4,5,6,7,8,9}
crw-rw----  1 root    root 4, 0 Nov 13 09:12 /dev/tty0
crw-------  1 root    root 4, 1 Nov 13 09:54 /dev/tty1
crw-------  1 root    root 4, 2 Nov 13 09:43 /dev/tty2
crw-------  1 root    root 4, 3 Nov 13 08:13 /dev/tty3
crw-------  1 root    root 4, 4 Nov 13 09:43 /dev/tty4
crw-------  1 champion tty  4, 5 Nov 13 09:56 /dev/tty5
crw-------  1 root    root 4, 6 Nov 13 08:13 /dev/tty6
crw-rw----  1 root    root 4, 7 Nov 13 08:13 /dev/tty7
crw-rw----  1 root    tty  4, 8 Nov 13 08:13 /dev/tty8
crw-rw----  1 root    tty  4, 9 Nov 13 08:13 /dev/tty9

Other commands like fbxine or fbi are working like expected.
Do these games need to be specially configured to run from where they are started?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum