Difference between revisions of "Talk:Xmonad/Using xmonad in Gnome"

From HaskellWiki
Jump to navigation Jump to search
(Added comment on problem (and solution) I encountered.)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
A reminder to myself (or whoever cleans up this page next): depending on how xmonad is launched, it maybe necessary (to set GNOME_DESKTOP_SESSION_ID to a dummy value. (This is not for xmonad, but for other programs that look for a GNOME session.) This was true for me to get xdg-open (and GNOME Do) to work correctly. I use an .xsession file to start xmonad and gnome-session. --[[User:Spoons|spoons]]
  +
 
The Gnome in Fedora 9 (and possibly soon other distros) seems to ignore the .gnomerc file.
 
The Gnome in Fedora 9 (and possibly soon other distros) seems to ignore the .gnomerc file.
 
Instead, the window manager can be changed using gedit. The key that needs to be changed is /apps/gnome-session/rh/window_manager. It should previously have the value "metacity" or "compiz".
 
Instead, the window manager can be changed using gedit. The key that needs to be changed is /apps/gnome-session/rh/window_manager. It should previously have the value "metacity" or "compiz".
Line 12: Line 14:
   
 
:2008/11/22
 
:2008/11/22
:Using Ubuntu 8.1 Desktop with xmonad .8 running under GNOME 2.24, I just use the session selector on the login screen and choose to make xmonad the default and it remembers it. However, I cannot figure out how to automatically run scripts/programs upon login. Also, my xmobar only displays 8/9 desktops now for some reason.. :)
+
:Using Ubuntu 8.1 Desktop with xmonad .8 running under GNOME 2.24, I just use the session selector on the login screen and choose to make xmonad the default and it remembers it. However, I cannot figure out how to automatically run scripts/programs upon login.
   
 
Are these instructions for 0.6 or 0.7? The first paragraph says that these are 0.6 but there has been a lot of changes in the page since the release of 0.7. I am confused --[[User:Adityam|Adityam]]
 
Are these instructions for 0.6 or 0.7? The first paragraph says that these are 0.6 but there has been a lot of changes in the page since the release of 0.7. I am confused --[[User:Adityam|Adityam]]
Line 28: Line 30:
   
 
:: I'll suggest a "layman's implementation" patch to the module docs that we can link to from both the FAQ and the various DE pages, if someone else doesn't do it first. If that patch is rejected let's build a page for the content that the DEs have in common. —[[User:Datagrok|Datagrok]] 09:08, 4 April 2008 (UTC)
 
:: I'll suggest a "layman's implementation" patch to the module docs that we can link to from both the FAQ and the various DE pages, if someone else doesn't do it first. If that patch is rejected let's build a page for the content that the DEs have in common. —[[User:Datagrok|Datagrok]] 09:08, 4 April 2008 (UTC)
  +
  +
Does anybody have any material for improving the dual/multiple monitor experience using Xmonad under Gnome? I seem to be running into issues using Xmonad 0.8 under Ubuntu Intrepid.--[[User:Mbsullivan|Mbsullivan]] 09:10, 30 December 2008 (UTC)
  +
  +
I'm not sure where this should go in the document, but I just ran into this problem: [http://ubuntuforums.org/showthread.php?t=1138713],[http://ubuntuforums.org/showpost.php?p=7610738&postcount=4]. If the file <code>/usr/share/applications/xmonad.desktop</code> is missing or incorrect, GNOME fails to start the window manager, and doesn't emit any error messages about it. This isn't specific to XMonad at all, but it's still relevant &mdash; [[User:Ewa|Ewa]] 22:05, 23 May 2011 (UTC).

Latest revision as of 22:05, 23 May 2011

A reminder to myself (or whoever cleans up this page next): depending on how xmonad is launched, it maybe necessary (to set GNOME_DESKTOP_SESSION_ID to a dummy value. (This is not for xmonad, but for other programs that look for a GNOME session.) This was true for me to get xdg-open (and GNOME Do) to work correctly. I use an .xsession file to start xmonad and gnome-session. --spoons

The Gnome in Fedora 9 (and possibly soon other distros) seems to ignore the .gnomerc file. Instead, the window manager can be changed using gedit. The key that needs to be changed is /apps/gnome-session/rh/window_manager. It should previously have the value "metacity" or "compiz". The keys in /desktop/gnome/applications/window_manager are deprecated.

This info should probably be added to the Wiki page...

As of Gnome 2.23 (on Gentoo) .gnomerc is ignored as is the WINDOW_MANAGER environment variable. Following this pageXMonad.Doc.Extending [1], I had to change the /desktop/gnome/session/default-session gconf key and replace metacity with xmonad. I also had to copy the xmonad.desktop file into /usr/share/applications (though that location seems Gentoo-specific). --spoons


Excellent update! I came back to re-install xmonad to my joy found that all the instruction were already updated! --Jevin

2008/11/22
Using Ubuntu 8.1 Desktop with xmonad .8 running under GNOME 2.24, I just use the session selector on the login screen and choose to make xmonad the default and it remembers it. However, I cannot figure out how to automatically run scripts/programs upon login.

Are these instructions for 0.6 or 0.7? The first paragraph says that these are 0.6 but there has been a lot of changes in the page since the release of 0.7. I am confused --Adityam

I think everything mentioned should work for 0.6, but I have not double-checked to be sure. Give it a try. —Datagrok
It was easier to just install 0.7 :) --Adityam

I'd like to revert the recent changes by Thayer; I think a FAQ should link to canonical information in categorized pages rather than the other way around. (Also, Thayer did not update the language when cut+pasting to the FAQ!) If there is an issue about duplicating content, I think there should be a new page created for common content among Gnome/KDE/XFCE/etc environments. Better yet we should link to the module docs (for example) rather than duplicate it many times on the wiki. If there is an issue with the content of the module docs, we should fix them; patching via darcs is nearly as easy as wiki-editing. Thoughts? —Datagrok 15:10, 3 April 2008 (UTC)

I'm not sure what 'language' you are referring to, as I did update the title and text to be more appropriate. Did I miss something less obvious? I'm happy to fix it.
I was referring to: "ManageDocks has been enabled in the example configuration above," which only makes sense in the context on the Gnome page. I've overreacted, thinking that someone had been careless with my careful improvements, and then wandered off. Thanks for taking the trouble to consider my complaints. :-) —Datagrok
As for reverting the changes, I'll let someone else make that call, but what I will say is that it doesn't make much sense to include instructions on avoidStruts only under GNOME. I don't use GNOME, but I definitely need avoidStruts info, as do KDE users and for that matter anyone not running a DE period. I placed it in the FAQ simply because it was a more appropriate place than the GNOME page and it didn't quite feel like a 'config tip' to me. I agree that the FAQ should be kept brief and to the point, so perhaps we should reference the module docs instead, so long as they contain a layman's implementation. —Thayer 17:29, 2008-04-03 (PST)
I'll suggest a "layman's implementation" patch to the module docs that we can link to from both the FAQ and the various DE pages, if someone else doesn't do it first. If that patch is rejected let's build a page for the content that the DEs have in common. —Datagrok 09:08, 4 April 2008 (UTC)

Does anybody have any material for improving the dual/multiple monitor experience using Xmonad under Gnome? I seem to be running into issues using Xmonad 0.8 under Ubuntu Intrepid.--Mbsullivan 09:10, 30 December 2008 (UTC)

I'm not sure where this should go in the document, but I just ran into this problem: [2],[3]. If the file /usr/share/applications/xmonad.desktop is missing or incorrect, GNOME fails to start the window manager, and doesn't emit any error messages about it. This isn't specific to XMonad at all, but it's still relevant — Ewa 22:05, 23 May 2011 (UTC).