Re: FVWM: question
On 20/06/10 22:44, Andersen Fan wrote: > I'm not sure ,but you can have a try > > 2,/etc/rc.conf : > #XSESSION="Gnome" > XSESSION="Xsession" > > 1,/home/user/.xsession : > exec fvwm >> Date: Sun, 20 Jun 2010 20:00:47 +1000 >> From: jakesaddr...@gmail.com >> To: fvwm@fvwm.org >> Subject: Re: FVWM: question >> >> 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" >> PipeRead "/usr/local/bin/xdg_menu --format fvwm2 --root-menu >> /etc/xdg/menus/kde-4.3-applications.menu | sed -e 's/xdg_menu/kde_menu/' >> 2>/dev/null" >> PipeRead "/usr/local/bin/xdg_menu --format fvwm2 --root-menu >> /etc/xdg/menus/lxde-applications.menu | sed -e 's/xdg_menu/lxde_menu/' >> 2>/dev/null" >> PipeRead "/usr/local/bin/xdg_menu --format fvwm2 --root-menu >> /etc/xdg/menus/xfce-applications.menu | sed -e 's/xdg_menu/xfce_menu/' >> 2>/dev/null" >> >> See http://www.mail-archive.com/fvwm@fvwm.org/msg01191.html for my >> mailing list query about it. >> >> Jake Moe >> >> PS:
Re: FVWM: Where can i find this MS-Windows rootless Blue-Pink 6 Desktops FVWM RC Configuration file ?
On Sun, Jun 20, 2010 at 03:41:55AM -0700, Jean Florentine wrote: > Hi all, > > Once i did install Cygwin/Xserver-FVWM, > i found in the distribution a FVWM RC configuration file > that created a ROOTLESS environment with 6 DESKTOPS, > BLUE/PINK X frames. On the MS-Windows deskto, only 2 Hmm -- this sounds like an older 2.2.X config file which OpenBSD still ship with. That being said, the pink colour comes from the default config generated using FvwmForm-Setup, which you can access via: fvwm -f /dev/null (i.e., starting FVWM with no config.) Other than that, you'd need to find out where Cygwin is getting its FVWM package and then extract the config file from there. Even then, it might need cleaning up to run on top of FVWM 2.5.X, but that's a different matter entirely. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
FVWM: Where can i find this MS-Windows rootless Blue-Pink 6 Desktops FVWM RC Configuration file ?
Hi all, Once i did install Cygwin/Xserver-FVWM, i found in the distribution a FVWM RC configuration file that created a ROOTLESS environment with 6 DESKTOPS, BLUE/PINK X frames. On the MS-Windows deskto, only 2 very small X FVWM control boxes: one button box to start application such as xterm, and the other box divided in 6 areas to visualise which desktop is the current one and showing very small snapshot of windows in each desktop. If anybody still have this RC file or have some hint about it, it would help me a lot. Many thanks Jean Florentine
Re: FVWM: stalonetray in fvwmbuttons
On Sun, Jun 20, 2010 at 12:30:33PM +0100, Michael Treibton wrote: > hi everyone! > > i have a question with stalonetray and fvwmbuttons. here is my > fvwmbuttons config - > > *fvwmbuttons: (8x1, Swallow (UseOld,Respawn,NoClose,NoKill) > `stalonetray` `Exec exec stalonetray --kludges > force_icons_size,fix_window_pos,use_icons_hints`) > > and my .stalonetrayrc file - > > grow_gravity W > no_shrink true > background grey > icon_size 16 > > i have a problem that when i close a program which puts an icon in > stalonetray, that the stalonetray window then loses other icons and > seems to shrink the window - even though i've told stalonetray not to. > > this is not right - is it because i am using stalonetray in fvwmbuttons? > > does anyone else have this problem? No -- but from my testing of your situation, it seems like stalonetray is doing some *very* odd things with its client geometry. Does setting: geometry or max_geometry in your .stalonetrayrc help any? I suspect not, since looking at the code, stalonetray is always dispositioned to change its geometry on request of certain events. :) I think its author is on this list -- I am sure he'll pick this up in due course, or if not, he has contact details on stalonetray's home page. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
Re: FVWM: question
On 20 June 2010 11:00, Jake Moe 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
Re: FVWM: is this is a bug?
On Sun, Jun 20, 2010 at 07:21:47PM +0100, Michael Treibton wrote: > hi > > i have this - > > SetEnv numofterms 10 > key q R A Echo $[numofterms] > > which works. but when i change "numofterms" to be a different number, > my key binding still shows "10". > > why? is it a bug? Ah. You've been hit by the "expansion problem". It's not a bug, it's just that we're exposing FVWM's internals to the user again. :) When FVWM encounters a line such as: Key q R A Echo $[numofterms] It will expand that, to be (in your case): Echo 10 So the full line might look like this (although note that this isn't how FVWM stores it or anything, I am just doing this for ease of explanation): Key q R A Echo 10 Which means now, that $[numofterms] has been interpolated out fully -- and won't ever be interpolated again. What you need to "fix" your problem is this: Key q R A Echo $$[numofterms] And, as in the above, you need to read the thing backwards, just like FVWM is doing when it parses the line. So first time around (when it encounters the keyword "Key") FVWM will expand it out like this: Key q R A Echo $[numofterms] Then, when the action for the "q" binding is encountered, FVWM still sees to run: Echo $[numofterms] ... thus honouring the expansion of $[numofterms] for no matter how many times you might change this environment variable. Is that clear? The trick is to read these things backwards -- and you need two "$"s -- one for the Echo command, the other for the Key command. If you, or anyone else, feels this information needs adding to the man page or making clearer, *please* send me a patch. It would save me a lot of time. :) Kindly, -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
FVWM: is this is a bug?
hi i have this - SetEnv numofterms 10 key q R A Echo $[numofterms] which works. but when i change "numofterms" to be a different number, my key binding still shows "10". why? is it a bug? Thanks! M. Treibton
FVWM: stalonetray in fvwmbuttons
hi everyone! i have a question with stalonetray and fvwmbuttons. here is my fvwmbuttons config - *fvwmbuttons: (8x1, Swallow (UseOld,Respawn,NoClose,NoKill) `stalonetray` `Exec exec stalonetray --kludges force_icons_size,fix_window_pos,use_icons_hints`) and my .stalonetrayrc file - grow_gravity W no_shrink true background grey icon_size 16 i have a problem that when i close a program which puts an icon in stalonetray, that the stalonetray window then loses other icons and seems to shrink the window - even though i've told stalonetray not to. this is not right - is it because i am using stalonetray in fvwmbuttons? does anyone else have this problem? thanks! M. Treibton
Re: FVWM: question
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" PipeRead "/usr/local/bin/xdg_menu --format fvwm2 --root-menu /etc/xdg/menus/kde-4.3-applications.menu | sed -e 's/xdg_menu/kde_menu/' 2>/dev/null" PipeRead "/usr/local/bin/xdg_menu --format fvwm2 --root-menu /etc/xdg/menus/lxde-applications.menu | sed -e 's/xdg_menu/lxde_menu/' 2>/dev/null" PipeRead "/usr/local/bin/xdg_menu --format fvwm2 --root-menu /etc/xdg/menus/xfce-applications.menu | sed -e 's/xdg_menu/xfce_menu/' 2>/dev/null" See http://www.mail-archive.com/fvwm@fvwm.org/msg01191.html for my mailing list query about it. Jake Moe PS: I've got all four DE menus in there so I can try to compare them and see which one I like best. I've noticed since I've added this, that my FVWM startup time has increased, but it's still quick enough for now. Eventually, I'll probably cut out three and stick with whichever menu I like best.