Re: FVWM: Question about SnapGrid
On Sun, May 18, 2008 at 10:31:54PM +0100, Thomas Adam wrote: > On Sun, 18 May 2008 22:24:42 +0100 > Chris G <[EMAIL PROTECTED]> wrote: > > > How do I make SnapGrid (well, Style * SnapGrid) work only to the edges > > of the screen? No, that's not quite what I meant. > > > > Is it possible to get windows to snap to the edges of the screen when > > they are within (say) 10 pixels of the edge, i.e. can I get it to work > > like SnapAttraction does? > > Your question is weird. What is it SnapAttraction isn't doing (which > would solve your proble, by the way) that you think SnapGrid needs to > do? You've effectively answered your own question: > > Style foo SnapAttraction foo Screen > Ah, maybe I'm misunderstanding what SnapGrid and SnapAttraction do. I have:- Style * SnapAttraction 10 which does what I want between windows, when they're within 10 pixels of each other they 'snap' together. What I'd like is for the same thing to happen at the edges of the screen/desktop. -- Chris Green
Re: FVWM: Question about SnapGrid
On 19/05/2008, Chris G <[EMAIL PROTECTED]> wrote: > On Sun, May 18, 2008 at 10:31:54PM +0100, Thomas Adam wrote: > > On Sun, 18 May 2008 22:24:42 +0100 > > Chris G <[EMAIL PROTECTED]> wrote: > > > > > How do I make SnapGrid (well, Style * SnapGrid) work only to the edges > > > of the screen? No, that's not quite what I meant. > > > > > > Is it possible to get windows to snap to the edges of the screen when > > > they are within (say) 10 pixels of the edge, i.e. can I get it to work > > > like SnapAttraction does? > > > > Your question is weird. What is it SnapAttraction isn't doing (which > > would solve your proble, by the way) that you think SnapGrid needs to > > do? You've effectively answered your own question: > > > > Style foo SnapAttraction foo Screen > > > > Ah, maybe I'm misunderstanding what SnapGrid and SnapAttraction do. > > I have:- > > Style * SnapAttraction 10 > > > which does what I want between windows, when they're within 10 pixels > of each other they 'snap' together. What I'd like is for the same > thing to happen at the edges of the screen/desktop. I've just given you the answer. :) Style * SnapAttraction 10 Screen -- Thomas Adam
Re: FVWM: Question about SnapGrid
On Mon, May 19, 2008 at 08:53:24AM +0100, Thomas Adam wrote: > On 19/05/2008, Chris G <[EMAIL PROTECTED]> wrote: > > On Sun, May 18, 2008 at 10:31:54PM +0100, Thomas Adam wrote: > > > On Sun, 18 May 2008 22:24:42 +0100 > > > Chris G <[EMAIL PROTECTED]> wrote: > > > > > > > How do I make SnapGrid (well, Style * SnapGrid) work only to the edges > > > > of the screen? No, that's not quite what I meant. > > > > > > > > Is it possible to get windows to snap to the edges of the screen when > > > > they are within (say) 10 pixels of the edge, i.e. can I get it to work > > > > like SnapAttraction does? > > > > > > Your question is weird. What is it SnapAttraction isn't doing (which > > > would solve your proble, by the way) that you think SnapGrid needs to > > > do? You've effectively answered your own question: > > > > > > Style foo SnapAttraction foo Screen > > > > > > > Ah, maybe I'm misunderstanding what SnapGrid and SnapAttraction do. > > > > I have:- > > > > Style * SnapAttraction 10 > > > > > > which does what I want between windows, when they're within 10 pixels > > of each other they 'snap' together. What I'd like is for the same > > thing to happen at the edges of the screen/desktop. > > I've just given you the answer. :) > > Style * SnapAttraction 10 Screen > Ah, oops, I understand now! :-) However it doesn't seem to be working, I have the following in my .fvwm2rc file:- Style * SnapAttraction 10 Screen and nothing else with 'Snap' in it at all. I get the window to window snap as expected but not the snap to the edge of the screen. I'm pretty sure I *did* have this working so I have a suspicion I may have changed something else which has stopped it working. Do any other commands interact with the Snap ones? I've just tried commenting out all my 'Edge' commands but that hasn't made it work. -- Chris Green
FVWM: Is there a more up to date version (or alternative) for fvwm-menu-desktop?
The fvwm-menu-desktop utility seems to have a very out of date view of how Gnome menus work (or where they are), I think it *may* be looking for the Gnome 1 menus. Is there an alternative that can give me Gnome 2 menus (specifically the Applications and System menus) in fvwm or has anyone modified fvwm-menu-desktop to work with Gnome 2? -- Chris Green
Re: FVWM: Is there a more up to date version (or alternative) for fvwm-menu-desktop?
On Mon, 19 May 2008 18:31:31 +0100 Chris G <[EMAIL PROTECTED]> wrote: > The fvwm-menu-desktop utility seems to have a very out of date view of > how Gnome menus work (or where they are), I think it *may* be looking > for the Gnome 1 menus. That's kind of true. Can you list the technical differences, if any from the GNOME 1.x menus and the GNOME 2.x ones? > Is there an alternative that can give me Gnome 2 menus (specifically > the Applications and System menus) in fvwm or has anyone modified > fvwm-menu-desktop to work with Gnome 2? Having looked at the source, it's not difficult, providing I am aware of the differences. -- Thomas Adam -- "It was the cruelest game I've ever played and it's played inside my head." -- "Hush The Warmth", Gorky's Zygotic Mynci.
Re: FVWM: Is there a more up to date version (or alternative) for fvwm-menu-desktop?
On Mon, 19 May 2008 18:31:31 +0100, Chris G <[EMAIL PROTECTED]> wrote: >The fvwm-menu-desktop utility seems to have a very out of date view of >how Gnome menus work (or where they are), I think it *may* be looking >for the Gnome 1 menus. On a related note: Is it possible to get the fvwm-menu-desktop utility to generate categorized menus? If I open konqueror and point it to "programs:/" I get a nicely categorized list of applications: I see categories called "Applications", "Utilities", "Games", etc. Under each of these categories, I see the applications that fall under categories. Is there any way to get this behaviour using fvwm-menu-desktop? Or does one have to patch it oneself... GI -- TEN REASONS WHY HELL IS BETTER THAN GRAD SCHOOL: 3. You only have to sell your soul to go to Hell. pgpGlXQKSFBdv.pgp Description: PGP signature
Re: FVWM: Is there a more up to date version (or alternative) for fvwm-menu-desktop?
On Mon, May 19, 2008 at 11:14:22PM +0100, Thomas Adam wrote: >> Is there an alternative that can give me Gnome 2 menus (specifically >> the Applications and System menus) in fvwm or has anyone modified >> fvwm-menu-desktop to work with Gnome 2? > > Having looked at the source, it's not difficult, providing I am aware > of the differences. Well, I attach a sample ".desktop" file from my system. Maybe this will clarify any convention differences...? GI -- 'Tongue' -- Sexual organ which some degenerates use for the purpose of speech. [Desktop Entry] Encoding=UTF-8 Type=Application Name=Xournal Comment=Take handwritten notes Name[fr]=Xournal Comment[fr]=Prise de notes manuscrites Exec=xournal %f Terminal=false StartupNotify=true MimeType=application/x-xoj;application/pdf; Icon=xournal Categories=GNOME;GTK;Utility;TextEditor; pgpC6tVSRaxTu.pgp Description: PGP signature
Re: FVWM: Is there a more up to date version (or alternative) for fvwm-menu-desktop?
On 19/05/2008, Gautam Iyer <[EMAIL PROTECTED]> wrote: > On Mon, May 19, 2008 at 11:14:22PM +0100, Thomas Adam wrote: > > >> Is there an alternative that can give me Gnome 2 menus (specifically > >> the Applications and System menus) in fvwm or has anyone modified > >> fvwm-menu-desktop to work with Gnome 2? > > > > Having looked at the source, it's not difficult, providing I am aware > > of the differences. > > > Well, I attach a sample ".desktop" file from my system. Maybe this will > clarify any convention differences...? Quite a bit. Are all menu definitions for GNOME's menu system stored in .desktop files? Where are these typically located if so? -- Thomas Adam
Re: FVWM: Is there a more up to date version (or alternative) for fvwm-menu-desktop?
On 2008.05.19 18:31:31 +0100, Chris G wrote: > The fvwm-menu-desktop utility seems to have a very out of date view of > how Gnome menus work (or where they are), I think it *may* be looking > for the Gnome 1 menus. > > Is there an alternative that can give me Gnome 2 menus (specifically > the Applications and System menus) in fvwm or has anyone modified > fvwm-menu-desktop to work with Gnome 2? The FVWM wiki has some script that is supposed (I didn't test it) to work with Gnome2 menus: http://fvwmwiki.bu-web.de/AboutFvwm/Integration/GnomeIntegration/GnomeMenus?highlight=%28gnome%29 And the Gentoo folks have an extended version here: http://gentoo-wiki.com/FVWM_Advanced#Menus HTH Björn
Re: FVWM: Is there a more up to date version (or alternative) for fvwm-menu-desktop?
On 20/05/2008, Björn Steinbrink <[EMAIL PROTECTED]> wrote: > The FVWM wiki has some script that is supposed (I didn't test it) to > work with Gnome2 menus: > > http://fvwmwiki.bu-web.de/AboutFvwm/Integration/GnomeIntegration/GnomeMenus?highlight=%28gnome%29 > > And the Gentoo folks have an extended version here: > http://gentoo-wiki.com/FVWM_Advanced#Menus That's right, and completely different to what fvwm-menu-desktop does. Watch this space. I'll try and get a patch out soon. -- Thomas Adam
Re: FVWM: Is there a more up to date version (or alternative) for fvwm-menu-desktop?
On Mon, May 19, 2008 at 11:40:05PM +0100, Thomas Adam wrote: Is there an alternative that can give me Gnome 2 menus (specifically the Applications and System menus) in fvwm or has anyone modified fvwm-menu-desktop to work with Gnome 2? >>> >>> Having looked at the source, it's not difficult, providing I am aware >>> of the differences. >> >> Well, I attach a sample ".desktop" file from my system. Maybe this will >> clarify any convention differences...? > > Quite a bit. Are all menu definitions for GNOME's menu system stored > in .desktop files? Where are these typically located if so? I think so. I don't have GNOME / KDE on my system (just Fvwm). But the Gtk / KDE programs seem to put their ".desktop" files in /usr/share/applications. (Doing "locate .desktop" showed mainly files in /usr/share/applications. However there were a few in some service directory corresponding to plugins). If you'd like to take a look, at the rest of them, I attach them (21k). GI -- 100 THINGS I'D DO IF I EVER BECAME AN EVIL OVERLORD 29. I will dress in bright and cheery colors, and so throw my enemies into confusion. desktop.tbz2 Description: Binary data pgpUsES7dkqIM.pgp Description: PGP signature