LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-28-2012, 02:14 AM   #1
ciremai
LQ Newbie
 
Registered: Jun 2012
Posts: 10

Rep: Reputation: Disabled
GNOME shell menu on FluxBox


Hi all,
I know about GNOME shell after installing FluxBox (desktop manager) on my Back Track 5R2 linux. GNOME shell menu is listed in: FluxBox > System > Utility > GNOME shell. I try to click the menu and a small sized box is pop up without menu or anything. it only contains windows title and blank white space below it. I want to close it but there's no close symbol (X) or anything, so I type "close" in the white box and then press "enter". Then it disappear.

But then I realize that when I click GNOME shell menu again nothing is pops up. Also the icon besides GNOME shell menu is disappear. I try to type "gnome-shell" in the terminal:
Code:
root@bt:~# gnome-shell
and the outcome is:

Code:
Window manager warning: Screen 0 on display ":0.0" already has a window manager
I try to do the same thing in CLI mode, and the outcome is:

Code:
 Error: unable to open display
 Failed to start shell
 Traceback (most recent call last):
     File "/usr/bin/gnome-shell", line 277, in<module>
        shell = start_shell()
     File "/usr/bin/gnome-shell", line 134, in start_shell
        (server_glx_extensions, client_glx_extensions, glx_extensions) = _get_glx_extensions()
     File "/usr/bin/gnome-shell", line 73, in _get_glx_extensions
        server_glx_extensions = set (re.split("\s*,\s*", glxinfo_map['server glx extensions'] strip()))
 KeyError: 'server glx extensions'
Since the GNOME shell menu is malfunction so I thought the program is broken. I try to re-install gnome-shell by typing "apt-get install gnome-shell" in terminal but it says that I am using the newest version of gnome-shell.

I don't know what happen here? how to fix this? what is GNOME shell? How to restore the GNOME shell menu on FLUXBOX?

my system:
OS linux backtrack 5 R2
notebook HP compaq NC4010
ATI Radeon IGP 350M graphics

Last edited by ciremai; 06-28-2012 at 02:52 PM.
 
Old 06-28-2012, 02:59 AM   #2
ewalter
LQ Newbie
 
Registered: Jun 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 10

Rep: Reputation: Disabled
Try right clicking on your desktop.
 
Old 06-28-2012, 04:03 AM   #3
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Slackel 14.1, ChromeOS
Posts: 4,702
Blog Entries: 19

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
Here is a Ubuntu thread that mentions glx and the radeon driver with a similar error message like you posted. I am posting this because of your posted Laptop specs which show radeon.

http://ubuntuforums.org/showthread.p...05154&page=102

I took the easy way out in Fluxbox in AntiX, for a fuax Gnome shell using Tint2 taskbar set to autohide in Fluxbox.

http://i39.tinypic.com/29llnbt.jpg
 
Old 06-28-2012, 07:04 AM   #4
ciremai
LQ Newbie
 
Registered: Jun 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
@rokytnji

thank you, but when I type "gnome-shell --replace" in CLI, the outcome is little bit different with that on http://ubuntuforums.org/showthread.p...05154&page=102
here is mine:

Code:
root@bt:~#gnome-shell --replace
Error: unable to open display
Failed to start shell
Traceback (most recent call last):
    File "/usr/bin/gnome-shell", line 317, in<module>
        restore_gnome()
    File "/usr/bin/gnome-shell", line 191, in restore_gnome
        launch_component("/desktop/gnome/sesssion/required_components/windowmanager")
    File "/usr/bin/gnome-shell", line 170, in launch_component
        component = client.get_string(gconf_path)
glib.GError: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit; or you stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information (Details - 1 : Not running within active session)
and here is the outcome when I type "gnome-shell --replace" in terminal:

Code:
root@bt:~# gnome-shell --replace
Window manager warning: Screen 0 on display ":0.0" already has a window manager
root@bt:~# Window manager warning: Screen 0 on display ":0.0" already has a window manager
here is my situation (I am using FluxBox), when I right click on the desktop then go to: FluxBox > System > Utility > GNOME shell, there is no icon besides "GENOME shell" text and when I click that menu (GNOME shell) there's nothing pops up, the menu just dead.

Last edited by ciremai; 06-28-2012 at 02:42 PM.
 
Old 06-28-2012, 09:29 AM   #5
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Slackel 14.1, ChromeOS
Posts: 4,702
Blog Entries: 19

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
For menu entries in Fluxbox. They are located in the hidden folder in /home/<username>/.fluxbox.

Open that folder and look in there for the text file and see what it says.

to find the path for executable in gnome-shell in terminal.

Code:
which gnome-shell
will show you that. the menu entry for gnome-shell should look something like

[exec] (gnome-shell) {gnome-shell} <>

or

[exec] (ApplicationName) {/path/to/program} < path/to/icon>


http://fluxbox.sourceforge.net/docs/...t.php#commands

Last edited by rokytnji; 06-28-2012 at 09:32 AM.
 
Old 06-28-2012, 11:47 AM   #6
ciremai
LQ Newbie
 
Registered: Jun 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Code:
root@bt:~# which gnome-shell
/usr/bin/gnome-shell
actually this is a Python script. And this is the script that always pointed out on error messages on my previous posts.


regarding the menu configuration. I try to type:
Code:
root@bt:~# gedit ~/.fluxbox/menu
and this is the partial result:

Code:
..........
..........
[begin] (-> FluxBox <-)
[encoding] {UTF-8}
	[exec] (Shell) {urxvt} </usr/share/flux-for-back/icondef/gksu-root-terminal.png>
	[exec] (Firefox) {firefox} </usr/share/flux-for-back/icondef/ffox.png>
	[exec] (Run) {fbrun} </usr/share/flux-for-back/icondef/tracker.png>
[submenu] (Net) </usr/share/flux-for-back/icondef/netscape.png>
	[include] (/usr/share/flux-for-back/inc/BT-Net)
[end]

[submenu] (Graphics) </usr/share/flux-for-back/icondef/gthumb.png>
	[include] (/usr/share/flux-for-back/inc/BT-Graphics)
[end]

[submenu] (Multimedia) </usr/share/flux-for-back/icondef/mplayer.png>
	[include] (/usr/share/flux-for-back/inc/BT-Multimedia)
[end]

[submenu] (System) </usr/share/flux-for-back/icondef/gpm-statistics.png>
	
		[submenu] (Editor) </usr/share/flux-for-back/icondef/120px-TextEdit_Mac.png>
			[include] (/usr/share/flux-for-back/inc/BT-DEV)
		[end]
		
		[separator]
		
		[exec] (Gentoo) {gentoo --root-ok} </usr/share/flux-for-back/icondef/gentoo.png>
		[exec] (MC) {urxvt -e sh -c 'mc -b'} </usr/share/flux-for-back/icondef/gnome-gnect.png>
		
		[separator]
		
		[submenu] (Utility) </usr/share/flux-for-back/icondef/drawer.png>
			[include] (/usr/share/flux-for-back/inc/Utility)
			
			[submenu] (Settings) </usr/share/flux-for-back/icondef/drawer.png>
				[exec] (WBar) {wbar} </usr/share/flux-for-back/icondef/galternatives.png>
				[exec] (WBarConf) {wbarconf} </usr/share/flux-for-back/icondef/wbarconf.png>
				[exec] (GRandr) {grandr} </usr/share/flux-for-back/icondef/x.png>
				[exec] (Resapplet) {resapplet} </usr/share/flux-for-back/icondef/120px-G3260_Mac.png>
			[end]
		
		[include] (/usr/share/flux-for-back/inc/BT-K)
	
[end]


[end]
........
........
........
there's no detail information about "GNOME shell" under "Utility" sub menu. but then I go to edit /usr/share/flux-for-back/inc/Utility, there I found this:

Code:
[exec] (About GNOME) {cd  ; gnome-about} </usr/share/pixmaps/gnome-logo-icon-transparent.png>
[exec] (Archive Manager) {cd  ; file-roller } </usr/share/pixmaps/file-roller.xpm>
[exec] (Byobu Window Manager) {urxvt -e sh -c ' cd  ; byobu-launcher'} </usr/share/flux-for-back/icondef/btmenu.png>
[exec] (Disk Usage Analyzer) {cd  ; baobab} </usr/share/pixmaps/baobab.xpm>
[exec] (File Browser) {cd  ; nautilus --no-desktop --browser } </usr/share/icons/Tango/16x16/apps/system-file-manager.png>
[exec] (gedit) {cd  ; gedit } </usr/share/icons/Tango/16x16/apps/accessories-text-editor.png>
[exec] (GNOME Shell) {cd  ; /usr/bin/gnome-shell} </usr/share/pixmaps>
[exec] (KDocker) {cd  ; kdocker} </usr/share/flux-for-back/icondef/btmenu.png>
[exec] (Panel) {cd  ; gnome-panel} </usr/share/icons/hicolor/16x16/apps/gnome-panel.png>
[exec] (Resolution Switcher) {cd  ; resapplet} </usr/share/pixmaps/resapplet.png>
[exec] (Search for Files...) {cd  ; gnome-search-tool} </usr/share/icons/Tango/16x16/actions/system-search.png>
[exec] (Take Screenshot) {cd  ; gnome-screenshot --interactive} </usr/share/icons/gnome/16x16/apps/applets-screenshooter.png>
[exec] (Terminal) {cd  ; gnome-terminal} </usr/share/icons/Tango/16x16/apps/utilities-terminal.png>
[exec] (Terminator) {cd  ; terminator} </usr/share/pixmaps/terminator.png>
[exec] (Tilda) {cd  ; tilda} </usr/share/pixmaps/tilda.png>
[exec] (WBarConf) {cd  ; wbarconf} </usr/share/pixmaps/wbarconf.png>
as you can see, GNOME Shell is the only menu which don't have ICON.png in it's last line (I don't know is this the default setting or not). And I guest it execute /usr/bin/gnome-shell, which is contain Error on several lines? OR is it just because I lost some dependencies?
what makes me crazy is because it used to generate a window when I click the menu

Last edited by ciremai; 06-28-2012 at 02:59 PM.
 
Old 06-28-2012, 10:25 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,346
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
That menu syntax looks odd to me; I don't understand all the cd commands. Did you write it or was it generated by something? It also doesn't look like the standard Fluxbox menu format as described at the wiki.

Here's a snippet from my Fluxbox menu; the parts that refer to icons were copied from the default universal menu--I don't worry much about icons in the menu myself:

Code:
[exec] (Gedit) {/usr/bin/gedit} </usr/share/pixmaps/gedit-icon.xpm>
      [exec] (GFTP) {/usr/bin/gftp}
      [exec] (The GIMP) {/usr/bin/gimp} </usr/share/pixmaps/gimp.xpm>
      [exec] (gmix (Gnome 2.0 Mixer\)) {/usr/bin/gnome-volume-control} </usr/share/pixmaps/gnome-mixer.xpm>
      [exec] (Google Earth) {googleearth}
All the missing reference to an icon means is that an icon won't display in the menu; it should have no effect on functionality.

Note that I don't have an answer for you, though I am somewhat puzzled as to why you might want to call Gnome-shell from inside Fluxbox. I just have questions about why the menu looks so unusual.
 
Old 06-29-2012, 04:07 AM   #8
ciremai
LQ Newbie
 
Registered: Jun 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
That menu syntax looks odd to me; I don't understand all the cd commands. Did you write it or was it generated by something? It also doesn't look like the standard Fluxbox menu format as described at the wiki.

Note that I don't have an answer for you, though I am somewhat puzzled as to why you might want to call Gnome-shell from inside Fluxbox. I just have questions about why the menu looks so unusual.
I just copy it from original code

your syntax is same with mine on ~/.fluxbox/menu. please check my previous post
while syntax that contains cd is on /usr/share/flux-for-back/inc/Utility which is part of ~/.fluxbox/menu.

As I said before that I have try to call gnome-shell from CLI (outside fluxbox) as well but I got error messages as I describe on previous posts

yes, of course, ICON is not important ( I can add to it Right?). The most important is functionality.
plz help

Last edited by ciremai; 06-29-2012 at 04:33 AM.
 
Old 06-29-2012, 10:12 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,346
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
Quote:
while syntax that contains cd is on /usr/share/flux-for-back/inc/Utility which is part of ~/.fluxbox/menu.
Flux-for-back appears to be an adaptation of Fluxbox for Backtrack, and not standard Fluxbox.

My experience is strictly with Fluxbox; I'm afraid I'm not qualified to assist with Flux-for-Back.
 
  


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 can I hide Gnome shell menu "ALL"? k3lt01 Linux - Desktop 3 04-30-2012 11:40 PM
LXer: Cardapio Menu Gets A GNOME Shell Extension LXer Syndicated Linux News 0 09-26-2011 11:10 AM
LXer: Ready for Gnome shell 3.2? Meet the new user menu LXer Syndicated Linux News 0 09-13-2011 11:00 PM
LXer: Get A Global Menu In GNOME Shell LXer Syndicated Linux News 0 09-02-2011 09:30 PM
LXer: GNOME Shell Atolm - Another Beautiful GNOME Shell Theme By Half-left LXer Syndicated Linux News 0 04-19-2011 02:30 PM


All times are GMT -5. The time now is 08:45 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