Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently installed Slackware with fvwm2, and I can't seem to be able to set the color of the window titles and borders. They are just light gray whether focused or not. If I comment out the Style "*" lines, is is dark gray when unfocused.
I also wonder if it is possible to have the window focus when clicked, but not rise above other windows unless clicked on the title?
I recently installed Slackware with fvwm2, and I can't seem to be able to set the color of the window titles and borders. They are just light gray whether focused or not. If I comment out the Style "*" lines, is is dark gray when unfocused.
Which fvwm are you using? On a quick look, I don't see any problem in your config file.
Quote:
I also wonder if it is possible to have the window focus when clicked, but not rise above other windows unless clicked on the title?
Mmm, this seems to be incompatible with your use of the SloppyFocus policy. Mind that when using SloppyFocus the window will be focused as soon as you move the cursor inside of it. There's no need to click anything.
The default policy anyway already does what you want, if I remember correctly. When you don't have a config file, if you click an application you give it the focus, but only clicking on the title bar will raise it.
Quote:
DectroyFunc StartFunction
AddToFunc StartFunction
+ I Module FvwmTaskBar
You have a typo there, "Destroy". I suggest you giving FvwmButtons+FvwmIconMan a try. It's much more configurable and powerful than FvwmTaskBar
Which fvwm are you using? On a quick look, I don't see any problem in your config file.
2.4.20
Quote:
Originally Posted by i92guboj
Mmm, this seems to be incompatible with your use of the SloppyFocus policy. Mind that when using SloppyFocus the window will be focused as soon as you move the cursor inside of it. There's no need to click anything.
The default policy anyway already does what you want, if I remember correctly. When you don't have a config file, if you click an application you give it the focus, but only clicking on the title bar will raise it.
I thought that it is SloppyFocus by default, maybe this is because Slackware has a lot of .fvwm2rc files in /etc/X11, maybe they are interfering.
Quote:
Originally Posted by i92guboj
You have a typo there, "Destroy". I suggest you giving FvwmButtons+FvwmIconMan a try. It's much more configurable and powerful than FvwmTaskBar
Any reason not to upgrade? That's like ancient. It's been long since I used 2.4 at all. I can no longer remember what the differences are between versions, but it's perfectly possible that your config file, that's 2.5.x compliant, is incompatible with fvwm 2.4.x
In fact, if my memory serves correctly, the colorset handling is *completely* different, look at the FvwmThemes module which is the way to handle colorsets in 2.4 I think. That syntax you are using is for 2.5.
Most of the tutorials and stuff you find on the net will only work for 2.5 as well. So you might really consider upgrading.
Quote:
I thought that it is SloppyFocus by default, maybe this is because Slackware has a lot of .fvwm2rc files in /etc/X11, maybe they are interfering.
I can't be sure what the default was in 2.4, it's perfectly possible that SloppyFocus is the default, but in any case, you are enforcing it explicitly in your configuration.
The config on your home should always prevail over any other configuration file. The order of precedence is detailed in the man page though, in case you want to make sure. I don't have 2.4.x installed.
Regardless of the classification, 2.5 is just as stable (well, I can't say I've tested every feature, I don't think anyone has). My guess is that they haven't pushed to 2.6 yet just because there are goals that have not yet been achieved, but otherwise I haven't suffered any stability problem so far.
I tried manually as root deleting all the files and folders with "fvwm" in the name, and then running make install. still nothing. startx would only work as root.
So I am writing this message in the links command-line browser, because startx did not work as a regular user.
I hope someone helps fast!
P.S. I am very, very glad that Slackware does not have a graphical login screen, this way I can use the command line when my GUI is completely screwed up.
So, it should show an error message telling you the cause of your problem. For the look of it, it can't run fvwm, this might be due to a problem in your fvwm configuration, since as root it works.
Quote:
I tried manually as root deleting all the files and folders with "fvwm" in the name, and then running make install. still nothing. startx would only work as root.
Can your user reach the fvwm binary at all? Note that, first, fvwm2 doesn't exist any longer, so if you are using that on your .xinitrc, change it to just "fvwm".
In any case, try to run
Code:
which fvwm
as a user, and see if it can find fvwm in your path at all.
whereis fvwm does return a path, I don't remember it.
I searched for xinitrc, there were a few files in a directory that I also forgot (it was /etc/X11/<something...>), and there were a few xinitrc.<windowmanager> files, but not for FVWM. There was some xinitrc file hilighted red with an @ symbol on the end, I am not sure what's the deal with that. I also think that I forgot the dot in the beginning, I will check again.
I hardly remember what I did because it is so difficult and frustrating to get links to log into LQ.
I just logged into Ctrl-Alt-F2 and checked again, and there is no .xinitrc file in /etc/X11/xinit.
ls says there is a xinitrc file (no dot), but cat and vim say it is not there.
whereis fvwm does return a path, I don't remember it.
I searched for xinitrc, there were a few files in a directory that I also forgot (it was /etc/X11/<something...>), and there were a few xinitrc.<windowmanager> files, but not for FVWM. There was some xinitrc file hilighted red with an @ symbol on the end, I am not sure what's the deal with that. I also think that I forgot the dot in the beginning, I will check again.
I hardly remember what I did because it is so difficult and frustrating to get links to log into LQ.
I just logged into Ctrl-Alt-F2 and checked again, and there is no .xinitrc file in /etc/X11/xinit.
ls says there is a xinitrc file (no dot), but cat and vim say it is not there.
The xinitrc for your user is in $HOME/.xinitrc, it's hidden. That's the file which controls what's going to be loaded when you use "startx", and it's the second candidate when looking for errors when starting X (the first would be xorg.conf, which is not relevant to the case because X works for root).
In the past, fvwm 2.x was called "fvwm2", but that binary was renamed to simply "fvwm", without the "2". So, if you $HOME/.xinitrc file contains "fvwm2" if needs to be changed to "fvwm", otherwise you are pointing to a non-existing binary.
So, you must have at least one of these files. If not, it will default to "$defaultclient", which is usually set to xterm. In any case, if $HOME/.xinitrc doesn't exist, then look at /etc/X11/xinitrc/xinitrc, and see what's in there.
Alternatively, just create your $HOME/.xinitrc, and launch fvwm from there, simply this will work:
Code:
fvwm > ${HOME}/fvwm.log 2>&1
The log file will be useful when debugging problems with your fvwm configuration.
I see that that xinitrc file that I have in /etc/X11/xinit is actually a link to a file xinitrc.fvwm2 in the same directory, that does not exist.
Then you need to create one. No wonder it doesn't start. You don't need a global file there, as said, if you create .xinitrc in your home dir it will take precedence and should be used instead.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.