Comments (4)
xinitrc shell script and its foreground job are "main application" for X session. X exits when this foreground application exits. Your foreground application should be dwm, not alltab. Change last two lines to:
alttab -w 1 &
exec dwm
from alttab.
Please show all relevant lines in your xinitrc,
and also specify what exactly do you mean by "exit to tty".
from alttab.
my xinitrc:
#!/bin/sh
exec nitrogen --restore &
~/.config/status.sh &
redshift &
dunst &
xbindkeys -f ~/.xbindkeysrc &
picom -b &
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
exec dwm &
alttab -w 1
which works fine.
Usually i exit my dwm session, by pressing modkey + q. However this doesnt really work with the alttab running in the background. my Screen kind of freezes, i cant open a terminal as well.
What i can do, is that if i had a terminal already open, i can still write in it and use commands like "reboot". nitrogen is still running as well, hence why i still see my wallpaper.
I realized that killall alttab
does quit dwm automatically, so this is what i would use.
It does not seem like a very pretty solution though.
quitting dwm is something i often do to recompile my WM, which is why i was wondering if this is something, easy to fix.
Edit: with quitting to tty i meant to quit the dwm session, to restart it again with startx
from alttab.
thank you very much
from alttab.
Related Issues (20)
- Some windows forever lost if they have _NET_WM_STATE_SKIP_TASKBAR property HOT 12
- MacOS Ventura Stage Manager Windows Appear Tilted HOT 1
- X11 HOT 3
- bottomline (-b) option is 0 indexed HOT 6
- Many useless windows appear HOT 1
- Not raising windows? (Qtile) HOT 7
- Unclear -d option usage HOT 8
- Just show whole tab while user is picking which tab to choose HOT 1
- Enhancement: Dynamically select list of windows HOT 8
- `_NET_WM_STATE_SKIP_TASKBAR` atom not detected if `_NET_WM_STATE` contains more than one atoms HOT 3
- Enhancement: Immediately focus window before alttab exits HOT 3
- alttab man page on OpenBSD should go to other dir HOT 1
- i3wm cannot cancel select HOT 2
- big bug, the -b argument cannot right to i3wm workspace number HOT 3
- and when i want to switch workspace on i3wm, than it cannot show software on the current workspace HOT 5
- how can cancel switch item, the issus ,is closed, it not fixed HOT 1
- some font it not show HOT 3
- some software cannot show icon with using appimage format file HOT 12
- transparency? how? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alttab.