intellij-idea under awesome wm - swing

When using Awesome WM, Intellij main menu is broken.
It's either immediately closing after opening. Holding the mouse button keeps the menu open, but I can't select anything.
Sometimes the menu opening works, but the mouse cursor position is off. The selected item is approxmately one line below my mouse cursor.
I tried the recommended wmname LG3D fix, but it doesn't work.
wmname mutter helps sometimes. If the menu is working, the mouse cursor position is correct.
After some time the menu bugs out still and immediatly closes after clicking.
I think it's weird that I got these problem, as awesome is supposed to be a re-parenting wm now. FWIW, in i3-wm I didn't notice this bug.

Here is a statement from awesome wm and a potential bugfix: http://awesome.naquadah.org/wiki/Problems_with_Java

My development environment is debian wheezy + awesome 3.4 + IntelliJ.
After I ran ./idea.sh and created a new project, IntelliJ showed me a blank page. No menu, no explorers.
I don't know what happened anyway, but I followed THIS and it worked.
SUMMARY
git clone http://git.suckless.org/wmname
sudo apt-get install -y libx11-dev
cd wmname
sudo make clean install
# The next two commands must be run within the same session.
wmname LG3D
./idea.sh
Good luck.

I think I solved my problem with installing JDK6
I'll leave the question for reference

Related

Google Chrome disable window animations

After updating to Chrome 58 I noticed a new "zoom-fade" effect when restoring a minimized window, or opening a new window (Ctrl+N). This feels very unnecessary, and - in my desktop environment - totally out of place.
Is there a way to permanently disable all window animation effects?
You can disable the animation by adding the --wm-window-animations-disabled command-line flag.
For Linux/Ubuntu you can make this permanent by editing the Chrome shortcut at /usr/share/applications/google-chrome.desktop. There are 3 Exec= lines where you will need to add --wm-window-animations-disabled immediately after the executable name.
If you find that this is no longer working, re-check your shortcuts as some Chrome updates (via a package manager) could have overwritten the shortcut(s), so you may need to re-edit them.
There's easy way to get rid of those animations everywhere & permanently under Linux.
Here's an example for Ubuntu:
sudo nano /etc/chromium-browser/customizations/dis_wm-window-anim
(on Debian its /etc/chromium.d/dis_wm-window-anim)
then
CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --wm-window-animations-disabled"
Ctrl+x -> y -> "enter"
go to developer tools and then click top right menu click More tools and then click Animation
in top and left of Animation Tab you can see play and pause button by click on it you can stop and play animation

Fedora 22 libinput middle button not work

I used yum --releasever 22 dirstro-sync upgrade to Fedora 22 alpha.
I removed a lot of system package by mistake.
My touchpad middle button is not working.
I googled a lot of forums and found this configuration, but it still doesn't work.
Section "InputClass"
Identifier "middle button emulation class"
MatchIsPointer "on"
Option "Emulate3Buttons" "on"
EndSection
Need help, thanks.
Having just started using libinput, I also noticed this change - but quickly realised that the middle button emulation I was used to (tapping in the top right corner of the trackpad) is now simply pressing both the left and right button at the same time. This works fine for me.

PhpStorm autocompletion / dialogs disappear in Awesome WM / Xmonad

When trying to autocomplete code or open up the dropdown menu's the window / dialogs will appear for a short time and then get hidden behind the main editor window.
The problem is related to java window handling in tiling window managers such as AwesomeWM.
To solve this see the answer below.
You need to edit the VM options so window hinting can be done correctly.
I installed PHPStorm under /opt/phpstorm (linux)
Edit:
bin/phpstorm.vmoptions
bin/phpstorm64.vmoptions
Append the following line:
-Dide.expansion.hints.enabled=false
Restart phpstorm and the problem should be fixed.
ref: http://code.google.com/p/xmonad/issues/detail?id=560

How do you get Monodevelop back to using English for its language

I have no idea how it happened, but suddenly when I launch Monodevelop, the menus appear in a language other than English. I have tried reinstalling the application as well as manually removing artifacts in other directories under Library. No luck. After a reinstall, it loads in another language still.
You can change the Language under the options/preferences dialog.
For me the shortcut keystroke is 'command + comma'
Or it is the third menu entry under MonoDevelop menu.
Select the first child entry in the left tree view. "Visual Style"
On the right there are three tabs across the top. Select the first. "General"
The "User Interface Language" setting is the second combo box on that screen.
Change that and click OK at the bottom of the screen. Should be on the right.
Restart MonoDevelop.
Can you please open a bug on https://bugzilla.xamarin.com, including the Version Info from MD's about dialog, and attach your preferences file "~/Library/Preferences/MonoDevelop-2.8/MonoDevelopProperties.xml"?

How do I enable right-click (control-click) context menus in MonoDevelop?

Right Click (or control-click since I'm on a Mac) doesn't bring up the context menus for Solution or Projects.
For instance, in Visual Studio I would right click on a Solution to add a new project to the solution. I've looked all through the menu and can't find the add project command.
Also, how do I add a folder to a project? Again, this would be available from the right-click menu in VS, but I can't find it anywhere in MonoDevelop.
Control-click doesn't do anything for me in any part of MD. Not even in the text editor. Is there a setting to get it to behave the way I'm expecting it to?
Shouldn't these options also be available via the main menu also?
Apparently this was a known issue and has been fixed. It was a bug in the gtk+ library. Single button mice weren't supported.
https://bugzilla.novell.com/show_bug.cgi?id=359734
https://bugzilla.gnome.org/show_bug.cgi?id=346609
Still not sure why I'm seeing this bug now on my OSX 10.6.4 machine running the latest download of MonoDevelop.
Plugging in a 2-button mouse is an adequate work-around. I can right click and get the context menus I was looking for.
These features are where you would expect to find them, exactly where you said. The solution context menu contains Add > Add new project and the project context menu has Add > New folder
I'm on a macbook so I get to use the old double-finger tap, rather than CTRL+Clicking all the time. Not sure why the CTRL+Click is not working for you.
EDIT:
Control-Click anywhere in the solution explorer seems to bring up a context-sensitive context menu. Control-Click whilst solution is selected brings up the solution context menu and if a project is selected, the project context menu.
Control + click doesn't work but a two finger touch brings up the context menus on my Macbook Pro. Check your "Trackpad" settings in system preferences to see how you have secondary click setup on your mac.