Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
0 answers
183 views
Keyboard doesn't work in wine under fvwm2 with FocusFollowsMouse
I'm running Debian 12 with fvwm2 window manager (version 2.7.0) configured for point-to-focus (`FocusFollowsMouse`) and a few XFCE utilities, such as `xfce4-panel`. When I start `wine notepad` or `wine explorer`, keyboard input doesn't work; nothing happen when I type. Doing things with the mouse (s...
I'm running Debian 12 with fvwm2 window manager (version 2.7.0) configured for point-to-focus (FocusFollowsMouse) and a few XFCE utilities, such as xfce4-panel. When I start wine notepad or wine explorer, keyboard input doesn't work; nothing happen when I type. Doing things with the mouse (selecting menu items, clicking around the filesystem in Explorer, etc.) seems to work fine, but I cannot enter text in Notepad or in the URL bar of File Explorer. In Notepad, choosing Edit then Paste from the menus does paste in the contents of X11 my clipboard selection. [This answer to a similar question](https://unix.stackexchange.com/a/15119/10489) might be related, but I'm not using a stacking window manager; fvwm is tiling. Some further research shows that Wine works fine under Xfce's Window manager, xfwm4, and also works if I change fvwm2's focus policy to ClickToFocus or SloppyFocus. Going back to FocusFollowsMouse and looking more closely, I see that my title bar, which is highlighted when a window receives keyboard focus, does not highlight when I move the mouse over the Wine window (though the previous window my mouse was in does lose focus). Examining the window properties of various windows, including a standard terminal, the pop-up window that shows me the properties, xclock and the Wine window, I see some differences: window name Focus Policy: Input Field: WM_TAKE_FOCUS: ────────────────────────────────────────────────────────────────────────── urxvt Passive True Absent FvwmIdent Passive XwMHints missing Absent xclock No Input False Absent Untitled - Notepad Globally Active False Present Does anybody have any thoughts on what's wrong and how to fix this?
cjs (728 rep)
Apr 6, 2024, 04:26 PM • Last activity: Apr 8, 2024, 06:42 AM
0 votes
1 answers
208 views
Where is "hddtemp" error logged after login?
When I log into my debian box using XFCE and the xfvwm4 window manager I get the following error: >"hddtemp" was not executed correctly, although it is executable. This is most probably due to the disks requiring root privileges to read their temperatures, and "hddtemp" not being setuid root. > >An...
When I log into my debian box using XFCE and the xfvwm4 window manager I get the following error: >"hddtemp" was not executed correctly, although it is executable. This is most probably due to the disks requiring root privileges to read their temperatures, and "hddtemp" not being setuid root. > >An easy but dirty solution is to run "chmod u+s /usr/sbin/hddtemp" as root user and restart this plugin or its panel. > >Calling "/usr/sbin/hddtemp -n -q /dev/sda" gave the following error: /dev/sda: Permission denied > >with a return value of 256. The window box with the error then disappears as soon as I move to it. My question is NOT about the meaning of this error. Rather, it is about learning where these errors are logged. I have looked in the /var/log and cannot find this error. I have also checked in the ~/.xsession_errors with no success. Any ideas where these errors go?
John Smith (61 rep)
May 6, 2022, 01:15 AM • Last activity: May 6, 2022, 02:08 AM
2 votes
1 answers
232 views
xterm*VT100.Translations only when mouse is over the window with focus in FVWM under CYGWIN
xterm*VT100.Translations only when mouse is over the window with focus Is this a bug or a feature? For me, it's a serious problem. (click to focus) ONLY CYGWIN In particular, I'm talking about the function keys. In this case, these are NOT mapped in fvwm, but in xterm. Pressing a function key, like...
xterm*VT100.Translations only when mouse is over the window with focus Is this a bug or a feature? For me, it's a serious problem. (click to focus) ONLY CYGWIN In particular, I'm talking about the function keys. In this case, these are NOT mapped in fvwm, but in xterm. Pressing a function key, like F1, always writes to the window with focus, but only performs the X11/xterm translations with the mouse is hovering over the window with focus. So, I always have to move the mouse to the window to be able to write to the window. Otherwise, \e[P is written to the window, for example Note that I can visit various windows with keyboard shortcuts, so there's no natural correspondence with mouse position and window focus. This failure to do the X11/xterm translation only occurs with x11/cygwin xterms. Windows opened locally via sshd (port forwarded) behave normally, performing the translation to the focused window, no matter where the mouse is. fvwm 2.6.6 compiled on Oct 10 2016 at 00:25:52 with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, Xinerama, XRender, XCursor, XFT, NLS
n952162 (21 rep)
Mar 9, 2022, 09:40 AM • Last activity: Mar 9, 2022, 06:47 PM
0 votes
1 answers
206 views
Is there a way in fvwm config to listen for non-standard keyboard buttons?
What I'm looking to do is modify ~/.fvwm/config, adding a few lines that would allow me adjust the audio volume by hitting non-standard keys on my keyboard (volume adjustment buttons). I can't see how to detect it though. Is there any way in FVWM to detect when volume and mute buttons are pressed on...
What I'm looking to do is modify ~/.fvwm/config, adding a few lines that would allow me adjust the audio volume by hitting non-standard keys on my keyboard (volume adjustment buttons). I can't see how to detect it though. Is there any way in FVWM to detect when volume and mute buttons are pressed on a keyboard? I'm using Kubuntu, and would be happily using KDE if it wasn't continuously crashing (presumably an issue with the video card).
Jacob Ewing (173 rep)
Mar 31, 2021, 10:52 PM • Last activity: Apr 5, 2021, 10:40 PM
2 votes
1 answers
341 views
FvwmCommand WindowList - get layer information
I'm trying to get information about running windows with all the information that is shown in the menu of "[FvwmCommand WindowList][1]" output. (Redhat Linux 7) The problem with this command is that it shows a pop-up menu, instead of printing the output on console. The alternative I found is [wmctrl...
I'm trying to get information about running windows with all the information that is shown in the menu of "FvwmCommand WindowList " output. (Redhat Linux 7) The problem with this command is that it shows a pop-up menu, instead of printing the output on console. The alternative I found is wmctrl . wmctrl -lG # Prints most of the information as FvwmCommand WindowList However, it does not give "layer" information. Per help page for "FvwmCommand WindowList": > The format of the geometry part is: desk(layer): x-geometry sticky, where desk and layer are the corresponding numbers and sticky is empty or a capital S wmctrl -lG gives information about desktop, but not the layer. Is there any way, I can get layer of particular window (windowId)?
Aakash Rayate (121 rep)
Dec 20, 2019, 11:10 AM • Last activity: Dec 20, 2019, 12:24 PM
0 votes
0 answers
672 views
xdotool send keystroke even when windows does not have focus
I've written the attached script in order to keep my external monitor alive while I'm not typing on it. I'm using `fvwm`, and have multiple named windows open. The script successfully types A every second to a named window, but it only works when the window has focus. How can I modify the script so...
I've written the attached script in order to keep my external monitor alive while I'm not typing on it. I'm using fvwm, and have multiple named windows open. The script successfully types A every second to a named window, but it only works when the window has focus. How can I modify the script so that it continues to type even when the window doesn't have focus? Presumably I can use the behave option to xdotool somehow to do this, but the syntax for xdotool with behave seems impossibly arcane #!/bin/bash tmpTITLE=STARTUP0 if [ $# -eq 1 ] ; then tmpTITLE=$1 fi Window=wmctrl -lp | grep $tmpTITLE | cut -d" " -f 1 while sleep 1 ; do xdotool key --window $Window A; done
Leo Simon (453 rep)
Sep 28, 2019, 10:16 PM
1 votes
2 answers
853 views
How to create Windows XP styled fvwmrc file?
How to create Windows XP styled fvwmrc file? Installed OpenBSD, it default uses FVWM2. Does anyone has an rc file, that could make FVWM2 Windows XP styled? :)
How to create Windows XP styled fvwmrc file? Installed OpenBSD, it default uses FVWM2. Does anyone has an rc file, that could make FVWM2 Windows XP styled? :)
Hessnov (591 rep)
Dec 9, 2017, 07:17 PM • Last activity: Feb 27, 2019, 06:42 PM
0 votes
1 answers
93 views
fvwmWinList missing from ubuntu 18
Since upgrading to ubuntu 18 the module fvwmWinList seems to be missing. I get the error-entry: [fvwm][executeModule]: > No such module 'FvwmWinList' in ModulePath '/usr/lib/fvwm/2.6.7'
Since upgrading to ubuntu 18 the module fvwmWinList seems to be missing. I get the error-entry: [fvwm][executeModule]: > No such module 'FvwmWinList' in ModulePath '/usr/lib/fvwm/2.6.7'
Naumann (101 rep)
Oct 7, 2018, 05:59 PM • Last activity: Jan 6, 2019, 05:49 AM
1 votes
1 answers
85 views
Fvwm ChangeSize crashes
I use simple script to make dynamic status bar of cpu usage (see below). After starting fvwm it works but after 3-4 minutes the bar disappears! The cpu.sh is simple (see below). Without ChangeSize there is no crashing (but there is no dynamic bar, static only). The cpu.sh gives integer number becaus...
I use simple script to make dynamic status bar of cpu usage (see below). After starting fvwm it works but after 3-4 minutes the bar disappears! The cpu.sh is simple (see below). Without ChangeSize there is no crashing (but there is no dynamic bar, static only). The cpu.sh gives integer number because ChangeSize needs for integer number. What maybe reason of this crashing? I spent already two days and do not understand reason. WindowTitle {Status} WindowSize 120 30 ##### Global Style Font "xft:DejaVu Sans:size=8:bold" Init Begin Set $probarColor = {#cccccc} ##### Widgets ChangeBackColor 1 $probarColor ChangeBackColor 3 $probarColor End PeriodicTasks Begin ##### CPU Status If (RemainderOfDiv (GetTime) 2) == 0 Then Begin Set $length = (GetOutput {echo $(bash $HOME/.fvwm/scripts/StaTux/cpu.sh)} 1 -1) ChangeSize 3 $length 3 End End Widget 1 Property Type ItemDraw Size 120 4 Position 0 0 Flags NoFocus NoReliefString Main Case message of End Widget 2 Property Type ItemDraw Size 118 2 Position 1 1 Flags NoFocus NoReliefString Main Case message of End Widget 3 Property Type ItemDraw Size 118 2 Position 1 1 Flags NoFocus NoReliefString Main Case message of End cpu.sh #!/bin/sh DELAY=${1:-1} { cat /proc/stat; sleep "$DELAY"; cat /proc/stat; } | awk '/^cpu / {usr=$2-usr; sys=$4-sys; idle=$5-idle; iow=$6-iow} END {total=usr+sys+idle+iow; print int((total-idle)*118/total)}'
nail (11 rep)
Jul 12, 2018, 12:01 AM • Last activity: Jul 14, 2018, 06:04 PM
0 votes
0 answers
215 views
move from one xterm and back again using wmctrl
I'm running `fvwm` and have multiple virtual desktops open. I'd like to be able to write a bash script that would take me from one xterm to another---this part is easy, using `wmctrl -a` ---and then back again, which is the hard part. I imagine that if I could execute a command in the new window onc...
I'm running fvwm and have multiple virtual desktops open. I'd like to be able to write a bash script that would take me from one xterm to another---this part is easy, using wmctrl -a ---and then back again, which is the hard part. I imagine that if I could execute a command in the new window once I've passed control to it, then the rest would be easy, but as far as I can tell from the documentation, wmctrl doesn't give me the option to do this. Here's the basic idea of the script I'd like to write #!/bin/bash TmpScreen=CAMILLE CurrScreen=ANDREW wmctrl -R $TmpScreen #echo this line on CAMILLE not ANDREW echo "Type 'GoBack' to return to $CurrScreen" & #Do something on CAMILLE #Type GoBack, which would then execute wmctrl -a $CurrScreen #Be back to where I started Is there a way to accomplish this? Any help would be most appreciated
Leo Simon (453 rep)
Feb 7, 2018, 07:00 PM
1 votes
1 answers
3866 views
FVWM 's Windows buttons (Maximize Minimize ...), Themes
I'm using the F Virtual Window Manager (FVWM). I'm wondering how to customize the window appearance (the theme) to 1. Add a minimize, maximize, and close button, so I have four buttons, arranged like this: --------------------------------------- |= (Window Titlebar) N M X| |-------------------------...
I'm using the F Virtual Window Manager (FVWM). I'm wondering how to customize the window appearance (the theme) to 1. Add a minimize, maximize, and close button, so I have four buttons, arranged like this:
 ---------------------------------------
    |=         (Window Titlebar)       N M X|
    |---------------------------------------|
    |                                       |
    |                                       | 
    |                                       |
    |                                       |
     ---------------------------------------
= is an - button; when clicked on it shows a menu containing move resize raise lower (De)Iconify Delete Close Destroy Identify
N is minimize
M is maximize
X is close
1. How could I set the height of the window title bar? > Answer: The height is govern by the (Window Titlebar) **Font size**. Or; TitleStyle Centered Height 24 #for example
r004 (3549 rep)
Feb 28, 2014, 07:35 PM • Last activity: Jan 8, 2017, 03:05 PM
3 votes
1 answers
709 views
fvwm, gtk and xombrero: input fields are white text on white background
I have just started using `fvwm` window manager, and I am using `xombrero` browser on OpenBSD. (**update** this is `gtk` issue not window manager) However, the color of the address bar, search box, and command box are all white (or off-white) text and white (or off-white) background. Highlighting th...
I have just started using fvwm window manager, and I am using xombrero browser on OpenBSD. (**update** this is gtk issue not window manager) However, the color of the address bar, search box, and command box are all white (or off-white) text and white (or off-white) background. Highlighting the text also is white. So it's impossible to read the input text. Input forms within the page are colored fine, although highlighting causes white on white. I looked through the xombrero man pages but found no reference to any way of changing the color of any of those items. Therefore I thought this is maybe controlled by fvwm through some FvwmForm parameter. I tried adding *FvwmFormBack Black to my .fvwmrc file and reloading fvwm, but it didn't seem to fix anything. Anybody know what and where is the control parameter for the (a) background and text color of (web browser) input fields, and (b) the highlighting color for fvwm? (Or if this is absolutely not a fvwm issue, please let me know, but I would pretty surprised if the creators of xombrero would make white on white text be default and not configurable). This is a gtk3 issue I didn't have a gtk3 theme installed. Gtk3 is used to control the relevant input fields. To fix it, I installed a theme into ~/.themes/THEME_NAME folder, and added the following to /etc/gtk-3.0/settings.ini: [Settings] gtk-theme-name = THEME_NAME But that is only for one user. How can I install the system default gtk3 theme? I searched for relevant man pages but came up dry for good gtk3 reference.
hilcharge (359 rep)
Sep 5, 2015, 06:45 AM • Last activity: Sep 28, 2016, 11:10 AM
1 votes
0 answers
66 views
Linux / FVWM / Acroread -- don't autoraise
I'm not sure where my problem lies. I'm running Slackware Linux, Xorg 7.5, FVWM 2.6.1, Acrobat Reader 9.5.3 Every time my mouse goes into the Acroread window, the Acroread window auto-raises. I don't want it to do that. When I put another window on top of the Acroread window, I want it to stay visib...
I'm not sure where my problem lies. I'm running Slackware Linux, Xorg 7.5, FVWM 2.6.1, Acrobat Reader 9.5.3 Every time my mouse goes into the Acroread window, the Acroread window auto-raises. I don't want it to do that. When I put another window on top of the Acroread window, I want it to stay visible and on top. I have Acroread*AutoRaise: false in my .Xdefaults file, but that does not seem to do it. How can I make Acroread not auto-raise on focus? ===== Edit: I have a longtime .fvwm2rc file that prevents windows from auto-raising. This line is commented out: #AutoRaise 750 The only other references to Raise are inside functions, and I'm not using those. Acroread is the only window (that I'm aware of off the top of my head) that auto-raises on focus.
hymie (1828 rep)
Jan 8, 2016, 01:20 AM • Last activity: Jan 8, 2016, 01:56 PM
2 votes
2 answers
2636 views
How to display a digital clock on the monitor on top of everything?
My graphical environment is FVWM2 on OpenBSD. How can we display a digital clock in the top right corner of the screen, on top of everything? So it shouldn't matter if a new window comes up, the clock needs to be always on top.
My graphical environment is FVWM2 on OpenBSD. How can we display a digital clock in the top right corner of the screen, on top of everything? So it shouldn't matter if a new window comes up, the clock needs to be always on top.
LoukiosValentine79 (1569 rep)
May 13, 2015, 05:36 AM • Last activity: May 23, 2015, 01:03 AM
1 votes
1 answers
1307 views
FVWM: Make xterm stay on top, conditionally
Algorithm: *If there is no window currently on top, then make the next new xterm stay on top (layer 6).* I got that to work: Module FvwmEvent AddToFunc MyUpdate + I WindowStyle StaysOnTop AddToFunc MyUpdateIfXterm + I Current ("XTerm") MyUpdate AddToFunc MyUpdateIfLayer6Empty + I None (Layer 6) MyUp...
Algorithm: *If there is no window currently on top, then make the next new xterm stay on top (layer 6).* I got that to work: Module FvwmEvent AddToFunc MyUpdate + I WindowStyle StaysOnTop AddToFunc MyUpdateIfXterm + I Current ("XTerm") MyUpdate AddToFunc MyUpdateIfLayer6Empty + I None (Layer 6) MyUpdateIfXterm *FvwmEvent: Cmd *FvwmEvent: add_window MyUpdateIfLayer6Empty Style * ClickToFocus Now, I want that xterm on top also to be without title, and so I change the fourth line to: + I WindowStyle StaysOnTop, NoTitle This, however, stops xterm from going to top. It looks like StaysOnTop stopped working. *Did I run into a bug? If so, is there a workaround?* Version: $ fvwm --version fvwm 2.6.5 compiled on May 15 2014 at 22:08:55 with support for: ReadLine, Stroke, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, Xinerama, XRender, XCursor, XFT, NLS
feklee (563 rep)
Apr 21, 2015, 09:30 PM • Last activity: Apr 23, 2015, 10:09 PM
1 votes
0 answers
542 views
On-screen fonts appear tiny on OpenBSD 5.5
I chose the default installation of OpenBSD 5.5. My monitor's brand is Samsung 27-inch 850 series LED. It's in full high-definition, 1920x1080. After I type my login username and password, I am presented with a window and whatever I type into it appears tiny, that is, the on-screen fonts are too sma...
I chose the default installation of OpenBSD 5.5. My monitor's brand is Samsung 27-inch 850 series LED. It's in full high-definition, 1920x1080. After I type my login username and password, I am presented with a window and whatever I type into it appears tiny, that is, the on-screen fonts are too small for me to read. How do I make the on-screen fonts and icons on the desktop larger for me to see clearly? (I believe the default window manager is FVWM)
user66229 (1123 rep)
Oct 28, 2014, 04:27 PM • Last activity: Oct 29, 2014, 11:53 AM
1 votes
0 answers
56 views
How to Partition the FvwmButtons
I've read some *.fvwm2rc* but I still want to know how we partition the `FvwmButtons` in Fvwm. How can we assign a specific slice to `Swallow` specific application?
I've read some *.fvwm2rc* but I still want to know how we partition the FvwmButtons in Fvwm. How can we assign a specific slice to Swallow specific application?
r004 (3549 rep)
Mar 29, 2014, 08:58 PM • Last activity: Mar 29, 2014, 09:37 PM
2 votes
1 answers
448 views
Fvwm Vector Buttons
I am trying to add windows buttons to my decor. (button numbers `1` `6` `4` `2`) AddToDecor MyWDecor + AddButtonStyle 1 Vector 7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0 + AddButtonStyle 2 Vector 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 50x60@...
I am trying to add windows buttons to my decor. (button numbers 1 6 4 2) AddToDecor MyWDecor + AddButtonStyle 1 Vector 7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0 + AddButtonStyle 2 Vector 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1 + AddButtonStyle 4 Vector 5 25x25@1 25x75@1 75x75@0 75x25@0 25x25@1 + AddButtonStyle 6 Vector 10 40x55@1 40x80@0 15x80@0 15x55@1 40x55@1 30x55@1 30x30@1 70x30@1 70x70@1 45x70@1 Mouse 0 2 A Menu MenuFvwmWindowOps2 Close Mouse 0 4 A FuncFvwmMaximize Mouse 0 6 A Iconify But it doesn't draw buttons that I stated. It just draw a big square for 6 a little one for 2 and a dot for 6.
r004 (3549 rep)
Mar 18, 2014, 05:40 AM • Last activity: Mar 18, 2014, 04:24 PM
2 votes
0 answers
373 views
A Panel with FvwmButtons
I am trying to make a simple panel out of `FvwmButtons`. I want to use it instead of `FvwmTaskBar`. Because there was too many old stuff in the web I asked for Help here. I want to **understand** `FvwmButton` and the process it involves; So I devise a scenario. +--------------------------------+----...
I am trying to make a simple panel out of FvwmButtons. I want to use it instead of FvwmTaskBar. Because there was too many old stuff in the web I asked for Help here. I want to **understand** FvwmButton and the process it involves; So I devise a scenario. +--------------------------------+---------+--------------+-----------+ | | | | Stand | | FvwmIconMan |FvwmPager| Xclock | alone | | | | | Tray | +--------------------------------+---------+--------------+-----------+ 1. How to split FvwmButtons into this scheme? 2. How to Swallow this things into it? 3. How to manage The Space as it grows? (FvwmIconMan will grow by windows opened) Auto-Resize in FvwmButtons seems not doable 4. *How to tell the whole deal to sit at the bottom of the desktop (all the desktops) and other windows like (firefox and so on) to respect its place and no to go under or over it?
r004 (3549 rep)
Mar 16, 2014, 09:03 PM • Last activity: Mar 17, 2014, 02:42 AM
1 votes
1 answers
841 views
FVWM HowTo Swallow?
1. How could I **swallow** things like `xclock`, `tray` and other stuff to `FvwmButtons`? 2. Is `FvwmButtons` the only option to swallow this type of things? 3. How to swallow `FvwmWinList` to `FvwmButtons`?
1. How could I **swallow** things like xclock, tray and other stuff to FvwmButtons? 2. Is FvwmButtons the only option to swallow this type of things? 3. How to swallow FvwmWinList to FvwmButtons?
r004 (3549 rep)
Mar 2, 2014, 01:41 PM • Last activity: Mar 5, 2014, 05:22 PM
Showing page 1 of 20 total questions