Showing posts with label location. Show all posts
Showing posts with label location. Show all posts

Friday, July 5, 2013

How to change location of monitor according to laptop

When you use additional monitor to you laptop it is good to have ability to specify there is you monitor is located in relation to laptop to use mouse movement easily.

By default Ubuntu put your laptop to left side and monitor to the right side, so moving mouse to right edge will move it next monitor. That is cool, but what if you monitor is located on left side of your laptop,  and you can not switch monitor physical location - you need to switch its location  virtually :).

launch "Displays" or run "System Settings" and click on "Displays" in settings. You will see layout like this:

Just grab monitor rectangle by mouse and move it to left side of laptop's screen rectangle. That is all.

Friday, October 26, 2012

Location of visualvm.conf in ubuntu for Java VisualVM

Sun Java 6 VisualVM
Sun Java 6 Monitoring & Management (VisualVM)
/usr/lib/jvm/java-6-sun-1.6.0.34/bin/jvisualvm

In doc we have <visualvm_installdir>\etc\visualvm.conf

so for linux/ubuntu it is:
$JAVA_HOME/lib/visualvm/etc/visualvm.conf

Example:
usr/lib/jvm/java-6-sun-1.6.0.34/lib/visualvm/etc/visualvm.conf


to avoid OutOfMemory on heap dump ivestigation you can change in visualvl.conf
for default values "-J-Xmx256m" to "-J-Xmx4G"