Sample Header Ad - 728x90

Unix & Linux Stack Exchange

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

Latest Questions

3 votes
1 answers
2968 views
Keyboard & mouse not responding in X11 / XWindows
I’ve built a Linux from Scratch (LFS) instance. It is based on version 10 of LFS, it is SystemV based. I’ve been working on getting XWindows working. When I run the `xinit` or `startx`, XWindows displays without problem. The items that are defined in my `.xinitrc` display on the monitor. I have the...
I’ve built a Linux from Scratch (LFS) instance. It is based on version 10 of LFS, it is SystemV based. I’ve been working on getting XWindows working. When I run the xinit or startx, XWindows displays without problem. The items that are defined in my .xinitrc display on the monitor. I have the twm Window manager installed and it is called/started from within .xinitrc. My problem is getting my mouse and keyboard working with XWindows. The cursor is visible in the dead center of the screen but doesn’t move as I move the mouse. I’m using a Logitech mouse and keyboard that are USB based and connected to the computer via a cable. I uploaded a few screenshots of my config file, log info to provide some details, please help if you have an idea why this issue exists. The link to these screenshots are at https://postimg.cc/gallery/1y8Ghjx
wg21908 (33 rep)
Jan 7, 2021, 12:30 AM • Last activity: Apr 27, 2025, 07:06 AM
1 votes
1 answers
510 views
Why does my window manager (stumpwm) show a cross on the mouse pointer when it is over the root window?
My mouse pointer turns into a cross when there are no elements under it other than the root window. I've been having this issue with [stumpwm][1] since I installed it, but I know that a cross over the root window is a normal occurrence in `twm` or any other basic window manager. Can it be removed? [...
My mouse pointer turns into a cross when there are no elements under it other than the root window. I've been having this issue with stumpwm since I installed it, but I know that a cross over the root window is a normal occurrence in twm or any other basic window manager. Can it be removed?
Kolt Penny (61 rep)
May 31, 2015, 02:47 AM • Last activity: Sep 12, 2022, 09:59 PM
1 votes
0 answers
145 views
TWM f.exec automatic
When executing an application either through the terminal or through the TWM menu, it waits for you to click button 1 in order to continue with the process. I think the question is understood, when executing `xterm` or any application like `firefox`, to be able to use it I need to click, since when...
When executing an application either through the terminal or through the TWM menu, it waits for you to click button 1 in order to continue with the process. I think the question is understood, when executing xterm or any application like firefox, to be able to use it I need to click, since when executing it it appears in the background, I can move the window to the position I want, but until I click with button 1 is not operative. How could I do it, so that it was automatic? I have tried to combine the function f.exec and f.raise from twm, but I can't get anything. There has to be the solution in the f.exec. My system.twmrc is nothing special, it's pretty much like the default.
fah81 (21 rep)
May 17, 2022, 08:19 PM • Last activity: May 18, 2022, 08:47 AM
0 votes
1 answers
359 views
In TWM, how to move a window that is completely offscreen?
I've managed to get GIMP starting up completely off-screen somehow. Other applications are unaffected because they use click-to-place, but GIMP wants to just place it's own window. **What methods are there to get this window back on-screen?** I can see the application's "icon" in the `twm` "icon man...
I've managed to get GIMP starting up completely off-screen somehow. Other applications are unaffected because they use click-to-place, but GIMP wants to just place it's own window. **What methods are there to get this window back on-screen?** I can see the application's "icon" in the twm "icon manager" and I can even see it minimised, but restore the window and it goes away off-screen. I can select Move from the "Super + middleclick-on-desktop" menu which calls f.move but that will only move the minimised icon. The man page says I can set DontMoveOff in .twmrc but that's about moving, not an application starting itself at specific coordinates. Running the command with -geometry is also a common solution, but gimp does not know this parameter. $ gimp -geometry 1000x1000+10+10 Unknown option -geometry In MS Windows, one can use + Spacebar to force a menu, one item being "move" which allows the window to be moved. But there doesn't appear to be a similar keypress in twm ---------------- Suggestions for wmctrl look positive, but twm seems to be too old to support this particular solution. $ wmctrl -l Cannot get client list properties. (_NET_CLIENT_LIST or _WIN_CLIENT_LIST)
Criggie (1841 rep)
Jan 19, 2022, 09:54 PM • Last activity: Jan 20, 2022, 12:26 AM
6 votes
6 answers
7015 views
switching windows in twm with keyboard shortcuts
I am using a system that runs `twm` and I am wondering if it is possible to switch between windows using keyboard shortcuts, as I do in gnome with Alt + Tab .
I am using a system that runs twm and I am wondering if it is possible to switch between windows using keyboard shortcuts, as I do in gnome with Alt+Tab.
simona (1021 rep)
Jun 20, 2013, 09:19 AM • Last activity: Nov 3, 2021, 06:24 PM
0 votes
1 answers
220 views
Chaining Commands in herbstluftwm depending on the number of windows in the frame
I am wanting to configure window close behaviour so that, when I press the Mod + Shift + q . If the frame has one or no windows, close the window and remove the frame. If it has more than 1 window, only close the focused window. This makes it easier to close the frame/window dynamically depending on...
I am wanting to configure window close behaviour so that, when I press the Mod+Shift+q. If the frame has one or no windows, close the window and remove the frame. If it has more than 1 window, only close the focused window. This makes it easier to close the frame/window dynamically depending on the windows in the frame. I was able to solve the first part of the requirement by editing the config file as below. ie. if the frame has one or no windows close the window and removes the frame. hc keybind $Mod-n and . compare tags.focus.curframe_wcount lt 2 . chain , close , remove However, I am unable to chain the second part, where if the frame has more than 1 window, just close the focussed window. I tried below two options. 1. Tried chaining with an **or** `hc keybind $Mod-n or | and . compare tags.focus.curframe_wcount lt 2 . chain , close , remove | close` 2. Tried writing a separate function ``` hc keybind $Mod-Shift-q close_frames close_frames(){ WinCurFrame=$(hc attr tags.focus.curframe_wcount) [[ WinInCurFrame < 2 ]] && hc close;remove || hc close }
ThunderBolt (1 rep)
Jul 24, 2021, 07:33 AM • Last activity: Jul 24, 2021, 07:46 PM
0 votes
1 answers
1497 views
Setting up DWM (Tiling Window Manager)
im trying to setup DWM, im able to successfully patch few patches, but there a couple things im not able figure out 1. im using this on a laptop so i want to bind my volume, brightness, play pause keys which are on the functions keys to be able to control the same. there is Fn button on the keyboard...
im trying to setup DWM, im able to successfully patch few patches, but there a couple things im not able figure out 1. im using this on a laptop so i want to bind my volume, brightness, play pause keys which are on the functions keys to be able to control the same. there is Fn button on the keyboard which if pressed with the combination of function keys register as normal function keys and if Fn key is not pressed then function keys act as brightness volume and all. 2. i have everything mostly set up, but there is no status bar in my build, i want to use dwmblocks. but there 3 different patches on suckless.org website and it conflicts with my already patched build for eg there is a line in dwm.c file
if (ev->x > selmon->ww - TEXTW(stext) - getsystraywidth())
and the patch wants me to remove this line -
if (ev->x > selmon->ww - TEXTW(stext))
which i dont have same in my config as im using the systray patch, and wants me to replace with -
if (ev->x > (x = selmon->ww - TEXTW(stext) + lrpad)) {
i dont know if im using the right patch, i want some help with installing the dwmblocks, as i dont want to install someone else's fork i want to configure my own.
apoorv569 (51 rep)
Jun 2, 2020, 03:05 AM • Last activity: Jun 3, 2020, 01:10 AM
3 votes
1 answers
4366 views
How to open apps on TWM window manager without using xterm
My machine boots into command-line and then I run the following command to open a display with TWM window manager on it: $ xinit /usr/local/bin/twm On TWM, this is how I run apps: I left-click anywhere on the black screen and a menu shows up. Then I select `xterm` and on `xterm` command-line, I run...
My machine boots into command-line and then I run the following command to open a display with TWM window manager on it: $ xinit /usr/local/bin/twm On TWM, this is how I run apps: I left-click anywhere on the black screen and a menu shows up. Then I select xterm and on xterm command-line, I run my app for example: $ opera The problem is that for every app, I need a xterm to be opened first. I wonder if there is any other way by which I can open my apps without having to open xterm. Thanks. ---------------------------------- I ended up compiling/installing version 2.6.7 of [fvwm](https://github.com/fvwmorg/fvwm) which is also suggested [here](https://unix.stackexchange.com/a/131128/155643) . It is a cool window manager with many [features](https://en.wikipedia.org/wiki/FVWM#Features) .
Megidd (1579 rep)
Jun 3, 2017, 12:36 AM • Last activity: Jun 3, 2017, 03:27 AM
2 votes
1 answers
1586 views
Logout X Session When Application Closes
I'm setting up X with TWM so that folks here can access one specific graphical application. I have it setup so one can VNC in, log-in using XDM and have said application automatically start up. What I'd like to do is have it automatically log-out of the session once that application closes. Is there...
I'm setting up X with TWM so that folks here can access one specific graphical application. I have it setup so one can VNC in, log-in using XDM and have said application automatically start up. What I'd like to do is have it automatically log-out of the session once that application closes. Is there a trick I can do in the xinit script, or find some way to make TWM dependent on this particular application?
azurepancake (201 rep)
Nov 1, 2016, 01:22 PM • Last activity: Nov 2, 2016, 12:31 AM
4 votes
1 answers
2700 views
Xorg/Twm window has focus only when mouse is over
I have Xorg with Twm and xterm installed on Arch linux, and when I start the X server, I can type in xterm only when the mouse pointer is over its window. I have been searching options to Xorg and Twm which can have something related with focus when mouse is over window but I didn't succeed. How can...
I have Xorg with Twm and xterm installed on Arch linux, and when I start the X server, I can type in xterm only when the mouse pointer is over its window. I have been searching options to Xorg and Twm which can have something related with focus when mouse is over window but I didn't succeed. How can I set my system up so that focus isn't bound to the mouse position?
user2551229 (195 rep)
Mar 26, 2015, 08:40 PM • Last activity: Mar 27, 2015, 04:32 AM
1 votes
0 answers
2724 views
How to start the twm manager on a system which already has a window manager ?
I am using linux mint codename rebecca with xface. I tried to follow a description how to start a window manager of once choice: 1. created an empty .xinitrc file in my homefolder 2. filled the file with "exec twm" 3. ran command "xinit" but all I got was a fatal error message and a message I did no...
I am using linux mint codename rebecca with xface. I tried to follow a description how to start a window manager of once choice: 1. created an empty .xinitrc file in my homefolder 2. filled the file with "exec twm" 3. ran command "xinit" but all I got was a fatal error message and a message I did not understand: > (EE) Fatal server error: (EE) Server is already active for display 0 > If this server is no longer running, remove /tmp/.X0-lock and start > again. (EE) (EE) Please consult the The X.Org Foundation support > at http://wiki.x.org for help. (EE) Could you tell me what I did wrong or what I missed to do.
Abdul Al Hazred (27600 rep)
Mar 11, 2015, 09:18 PM
1 votes
1 answers
1151 views
Position window automaticly in TWM
The [man pages](http://www.x.org/archive/X11R6.8.2/doc/twm.1.html) of TWM tells me that if I specify a `-geometry [size x size] + offset + offset`, TWM will honor this and create the window in that location. For which types of windows is this possible? It is possible to set a geometry for xclock and...
The [man pages](http://www.x.org/archive/X11R6.8.2/doc/twm.1.html) of TWM tells me that if I specify a -geometry [size x size] + offset + offset, TWM will honor this and create the window in that location. For which types of windows is this possible? It is possible to set a geometry for xclock and xterm, but not for gvim. How can I initially position gvim - for example - at a given position on my screen?
lsund (163 rep)
Nov 19, 2014, 12:55 PM • Last activity: Nov 19, 2014, 01:28 PM
2 votes
1 answers
2120 views
Switch to TWM in Fedora 20
I want to use TWM without, say, GNOME or KDE or Xfce. Just plain TWM, no frills. I'm new to the whole desktop environment/window/display manager aspect so I'm not sure how I should go about setting this up.
I want to use TWM without, say, GNOME or KDE or Xfce. Just plain TWM, no frills. I'm new to the whole desktop environment/window/display manager aspect so I'm not sure how I should go about setting this up.
Kayell (23 rep)
Oct 19, 2014, 03:27 PM • Last activity: Oct 24, 2014, 01:53 PM
2 votes
2 answers
6377 views
Is TWM still a viable window manager?
I have been using mainly KDE on my main desktop for a while now and have decided it is too bloated (e.g., my issue with https://unix.stackexchange.com/questions/127121/desktop-indexing-with-kde) and was thinking of switching to LXDE because it is "lighter". I realized if I want to go light, then why...
I have been using mainly KDE on my main desktop for a while now and have decided it is too bloated (e.g., my issue with https://unix.stackexchange.com/questions/127121/desktop-indexing-with-kde) and was thinking of switching to LXDE because it is "lighter". I realized if I want to go light, then why not just go all the way back to before "desktop environments" and switch back to TWM. I know I can run TWM on my Arch Linux system, but what I am not sure about is if it is viable. I know it is lacking so-called "features", but does it support all the core things required to run QT and GTK based programs? Is there a repository of .twmrc files? I know about http://xwinman.org/vtwm.php , but my hazy recollection is my set up was much slicker back in the day.
StrongBad (5491 rep)
May 20, 2014, 11:12 AM • Last activity: May 20, 2014, 01:45 PM
1 votes
0 answers
228 views
customizing size of emacs windows in twm, depending on the vnc session
I connect to the same Unix system (that runs tab windows manager, twm) via vnc. I connect from a laptop with a small screen and from a workstations with a large screen. I have started two different vnc sessions with two different `--geometry` setting because of the different screens (I like to use t...
I connect to the same Unix system (that runs tab windows manager, twm) via vnc. I connect from a laptop with a small screen and from a workstations with a large screen. I have started two different vnc sessions with two different --geometry setting because of the different screens (I like to use the full screen in both cases). The two sessions share the same emacs initialisation file. The size of emacs window I like on the workstation screen is too large for fitting the laptop screen. The part of the configuration file where I set the size is like the following: ;; set font (cond ((string-equal system-type "windows-nt") ; Microsoft Windows (progn nil ) ) ((string-equal system-type "darwin") ; Mac OS X (progn (add-to-list 'default-frame-alist '(font . "Monaco-20")) ) ) ((string-equal system-type "gnu/linux") ; linux (progn (add-to-list 'default-frame-alist '(font . "DejaVu Sans Mono-20")) ) ) ) (set-face-font 'menu "-*-*-*-*-*-*-20-*-*-*-*-*-*-*") (set-face-font 'default "-*-*-*-*-*-*-20-*-*-*-*-*-*-*") (add-to-list 'default-frame-alist '(height . 60)) (add-to-list 'default-frame-alist '(width . 120)) I think I should set the size of the emacs window relatively to the size of the screen but I don't know how to do it in twm, or maybe I should put a switch depending on the vnc session. does anybody know how to do that?
simona (1021 rep)
Apr 22, 2014, 12:13 PM
1 votes
1 answers
564 views
does anybody know this window manager
I am connecting to a cluster with the window manager as in the picture. Does anybody know which WM it is? It does not have even a menu I can open like in twm![enter image description here][1] [1]: https://i.sstatic.net/OYlHy.png
I am connecting to a cluster with the window manager as in the picture. Does anybody know which WM it is? It does not have even a menu I can open like in twmenter image description here
simona (1021 rep)
Feb 3, 2014, 04:03 PM • Last activity: Feb 3, 2014, 08:41 PM
1 votes
1 answers
211 views
twm (Tab Window Manager): disabling keyboard bell
I would like to disable the keyboard bell in twm (Tab Window Manager). How do I do that?
I would like to disable the keyboard bell in twm (Tab Window Manager). How do I do that?
simona (1021 rep)
Nov 7, 2013, 02:50 AM • Last activity: Nov 7, 2013, 03:32 AM
Showing page 1 of 17 total questions