On 20 June 2010 11:00, Jake Moe <[email protected]> wrote: > On 20/06/10 15:06, Jaimos Skriletz wrote: >> On Sat, Jun 19, 2010 at 08:43:18PM +0100, Rui Silva wrote: >> >>> Hi! >>> >>> I've installed FVWM and FVWM-themes on my Ubuntu 10.04 but I'm >>> experiencing some difficulties: >>> >>> 1. How can I activate FVWM as my default WM? >>> >>> 2. How can I use the "cde" as the default theme? >>> >>> 3. How can I deactivate GNOME desktop manager and replace by the cde >>> look and feel? >>> >>> >> The answer to these three questions are all related and depending on how you >> want thigns set up you have one of two basic models you can follow. Of the >> two I will briefly describe, the first is probabaly the one you don't want >> I'm just mentioning it incase you do and so you can see the difference in >> the philosphy of what is going on. >> >> The First Method: you will run fvwm/fvwm-themes as a window manager within >> gnome as your desktop. In this situation you replace just the window manager >> but the rest of the gnome destkop will still be running. To do this you will >> have to configure gnome (I haven't used this in a long time so I cannot >> answer on the paticulars here) to use fvwm/fvwm-themes as your window >> manager. >> >> In the first method your logon and everything will be the same, you will >> still have the gnome pannels, menus and configuring options, you will then >> just have fvwm/fvwm-themes to configure on top of it. >> >> The Second Method: you will run fvwm/fvwm-themes as your sole desktop window >> manager and not run it though gnome (i.e. you can scrape gnome completely). >> To do this you need the details of how you log into X. Most Ubuntu defaults >> will put you into gdm (gnome display manager) which will launch X and either >> give you a graphical logon or automatically log onto an account and into X. >> >> It is the job of gdm to know what desktop to run when you log into X, by >> default this will be gnome, but it is possible to configure gdm to run any >> other wm/desktop. So what you will want to do is configure gdm to launch >> fvwm-themes instead of gnome when you log on. Once you do that you will log >> into fvwm-themes. >> >> Once you have it setup how you want to use fvwm-themes (as a wm within gnome >> or as a stand along wm) you will then configure it via its graphical menus. >> For the most part I belive if you just select the 'cde' theme once it will >> set it up as the default and load that theam each time you log into >> fvwm-themes from that point on. >> >> Last if you don't like to use gdm as the display manager, xdm and wdm are >> two alternatives. >> >> >>> 4. How can I import the GNOME menus to my FVWM menu? >>> >>> >> I know of no direct way to just import the menus, but you can get the >> program menu to work in fvwm. Ubuntu (i.e. Debian) has a package called >> 'menu' which is a script that creates a program menus for all the software >> you have installed on your Ubuntu machine. You should have by default if you >> are using the Debian fvwm package, you should have this menu and all you >> have to do is call it. The menus name is just "/Debian", so if you call >> Popup "/Debian" you should just get the debain menu that will have all the >> programs. >> >> You will not of course have all the system menus and gdm menus integrated >> since you won't be running gnome, but the software menu you can get just >> fine. >> >> If Popup "/Debian" doesn't give you a menu, then you may not have a default >> debian fvwm package and you may have to track down the script to generate >> the debian menu in fvwm. >> >> Hope this is of some help, >> >> jaimos >> >> > If you use FVWM as your sole window manager (i.e., not through Gnome), a > way that worked for me is to use xdg_menu from ArchLinux to generate a > KDE (and Gnome, and LXDE, and XFCE) menu that I can put into my FVWM > menu, like so: > > PipeRead "/usr/local/bin/xdg_menu --format fvwm2 --root-menu > /etc/xdg/menus/gnome-applications.menu | sed -e 's/xdg_menu/gnome_menu/' > 2>/dev/null"
i tried this out - very useful. will this get included in fvwm? i would like it if it did. :) M. Treibton
