For quite long time I’ve been using IntelliJ 12 because it was still compatible with java 6 which & was running well with DWM. Whenever I was trying a newer version of IntelliJ which required java 7, I was getting a gray screen. The IDE was loading but couldn’t see anything but a gray window. And that sucked because the newer versions of IntelliJ support multiple selections etc which are quite neat.
Today I finally found a solution to the problem (mentioned here http://comments.gmane.org/gmane.comp.misc.suckless/13490) and I basically had to run the following command before starting IntelliJ:
> wmname LG3D
And that was it! Seems like you can use this tool/trick for any java program that has some issues!
So now I’m running IntelliJ using a little script I created inside /usr/bin/intellj (remember to
sudo chmod a+x /usr/bin/intellj so other users can run it as well):
Update: If you want to run Webstorm, you might need to exchange IDEA_JDK with WEBIDE_JDK
As you might have noticed already, I’m a big fun of DWM and for long time I had issues with wireless. Basically whenever I wanted to change to a different wireless network I had to logout from DWM, login to the Lubuntu’s default desktop manager (not even sure what it’s called) and from there switch to the new wifi. That was kind of annoying, having to close all my open applications just to set up the wifi.
I’ve tried a few times with iwconfig etc to get it working but I never managed to connect to another wifi through command line until today! How did I do that? I used nmcli tool! This seems to be the command line tool of the network manager. Here is the command I used to connect to the wifi network:
sudo nmcli dev wifi connect <wifinetworkname> password <wifipass>
That’s simple isn’t it? Enjoy!
Note: if you want to see what networks are found in range you can use the following simple command:
I’m sitting here in a co-working space (first time in my life) and a very good friend of mine showed me an awesome command for locking the screen when leaving the desk. As you might have imagined, me as a DWM user I’ve fallen in love with it right way. Here it goes!
Note: to unlock just put your login password & hit enter. Whatever else you type the screen shouldn’t react. Awesome isn’t it?
I have been using DWM for more than a year & I certainly love this window manager. It’s so lightweight, fast & simple that makes you forget all the features it is missing.
What I discovered today by accident is that you can attach a window to all the tags! Guess how?
Alt + Shift + 0 of course!
Why would that be useful? Well .. for me it’s useful cause I want sometimes to have the browser in all the tags so I can see it when I am looking at the code or when I’m doing some database changes on the terminal. Other reason could be to have an active skype chat all around so that you notice when a person replied.
If you don’t find it useful then you can not use it of course. But I won’t tell you the command how to remove it from all tags 🙂