patrickhaller / no-wm Goto Github PK
View Code? Open in Web Editor NEWUse X11 without a window manager
License: Creative Commons Zero v1.0 Universal
Use X11 without a window manager
License: Creative Commons Zero v1.0 Universal
no-wm Use X11 without a window manager components included x-alt-tab x-move-resize x-session x-focus-manager distributed with X11 xsel xprop xrdb xset xsetroot xwininfo key-daemons xbindkeys http://www.nongnu.org/xbindkeys/xbindkeys.html speckeysd http://www.jessies.org/~enh/software/x11/ xchainkeys http://code.google.com/p/xchainkeys/ sxhkd https://github.com/baskerville/sxhkd alttab https://github.com/sagb/alttab window-manipulators xdotool http://www.semicomplete.com/projects/xdotool/ window http://www.jessies.org/~enh/software/x11/ niceties unclutter http://unclutter.sourceforge.net/ dmenu http://tools.suckless.org/dmenu/ autocutsel http://www.nongnu.org/autocutsel/ overview http://www.sbin.org/doc/Xlib/index_contents.html procedure set up your ${HOME}/.xinitrc to be something like #!/bin/bash while ! xprop -root | grep -q Free; do sleep 1; done xrdb -merge ${HOME}/etc/Xresources xsetroot -solid black xset b off exec xterm & exec speckeysd ${HOME}/etc/speckeysd.conf & exec x-focus-manager & exec x-session and your ${HOME}/etc/speckeysd.conf to be like # Key names come from <X11/keysymdef.h> (remove the XK_ prefix). # MUST have a Tab separating the key-combo and command Alt-Tab x-alt-tab Alt-Shift-Tab x-alt-tab -1 Alt-Return x-banish push Alt-BackSpace x-banish pop Alt-m x-move-resize Alt-r echo run | dmenu -fn 10x20 | exec bash -s Alt-s surf "$( echo www.duckduckgo.com | dmenu )" Alt-t urxvt & x-focus-topmost wait Alt-f xdotool selectwindow windowsize 100% 100% windowmove 0 0 then ${HOME}/etc/Xresources with the preferred window geometries R_x11*geometry: 1024x600+0+0 XTerm*geometry: 1024x600+0+0 URxvt*geometry: 1024x600+0+0 surf*geometry: 1024x600+0+0 window managers bind orthogonals (keyboard shortcuts, window manipulation, window decoration) which should remain separate. x-focus-manager is not needed when all your apps return focus properly. A mis-behaving app can be fixed by calling x-alt-tab after it runs; however that needs to be scripted as focus remains with a window that no longer exists.
I'm getting a bunch of "undefined reference to.." errors when i try to compile. It may have something to do with an update to GCC, im using 4.8.2. Is there something that needs to be added to the makefile? or a dependency? Using Ubuntu 13.10
update: I got the individual apps to compile from command prompt so that was a workaround. Might be interesting to know that I changed from Ubuntu to arch and everything compiled fine.
In the README XResource section shouldn't xterm geometry be specified in characters rather than what looks like pixels?
in no-wm have border but the color is black,whether i can change color border to white? what is file should i change?
Hello,
Thanks for sharing your idea and implementation.
Just curious on how one can simulate workspaces when using no-wm?
Thanks
I love the x-alt-tab and x-move-resize programs, however there is no good way to close a program without using xkill or pkill. The issue with using xkill is that it kills the parent program, for example if you are using xkill to kill a popup browser window it will close the whole browser. The same with skype or pidgin windows. Another thing i've noticed is firefox menus wont work without a window manager. I love the minimalism though, great work!!!
This is a great project, but I have a need for keyboard based focus.
At a minimum alt-tab would focus on the last raised window and a new window would get focus upon creation.
I modified x-alt-tab for the first, but am having trouble with x-focus-manager for the second. I thought I could just use the window from CreateNotify events and give this focus, but that produces a bad window error. I am not very familiar with Xlib. Any suggestions?
Also, do you have any interest in incorporating these features once I get it working?
Thanks,
Rob
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.