Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04
Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1772448] Sun, 10 September 2017 07:44 Go to next message
Iko BH is currently offline Iko BHFriend
Messages: 1
Registered: September 2017
Junior Member
I get tiny icons on my eclipse oxygen.

I've tried configuring eclipse.ini file with no success.

I've tried adding:
-Dswt.autoScale=175 [askubuntu.com/questions/777411/eclipse-neon-icon-size-in-ubuntu-16-04-hidpi]

and:
-Dsun.java2d.dpiaware=true [dzone.com/articles/how-to-fix-resolution-problems-with-high-dpi-scree]

But both didn't help at all.

My java version:
Quote:

iko@iko-Lenovo-YOGA-910-13IKB:~$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)


My resolution:
Quote:

iko@iko-Lenovo-YOGA-910-13IKB:~$ xrandr --query
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 8192 x 8192
eDP-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
3840x2160 60.01*+


my eclipse.ini file:
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
/home/iko/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.500.v20170531-1133
-product
org.eclipse.epp.package.java.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
/usr/lib/jvm/java-9-openjdk-amd64/bin
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/


What can I do to make the icons bigger?

Thanks
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1775241 is a reply to message #1772448] Thu, 26 October 2017 16:10 Go to previous messageGo to next message
Sravan Kumar Lakkimsetti is currently offline Sravan Kumar LakkimsettiFriend
Messages: 4
Registered: February 2014
Junior Member
Set the scale to 2 in display settings. That will enable hidpi in eclipse.
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1776963 is a reply to message #1775241] Thu, 23 November 2017 09:42 Go to previous messageGo to next message
Roger Blanken is currently offline Roger BlankenFriend
Messages: 4
Registered: November 2017
Junior Member
Thanks, but more words please.

What do you mean by display settings?

And is this solution only for high res monitors?

I want bigger icons on standards 1920x1080. Annoyed for years there is no easy way to do this.
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1777071 is a reply to message #1776963] Fri, 24 November 2017 09:47 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29033
Registered: July 2009
Senior Member
There are some SWT system properties you might try: https://bugs.eclipse.org/bugs/show_bug.cgi?id=421383#c155

I know in Oxygen the platform has added a lot of new icons with double resolution, so they still look nice when scaled...
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1777152 is a reply to message #1777071] Sat, 25 November 2017 06:34 Go to previous messageGo to next message
Roger Blanken is currently offline Roger BlankenFriend
Messages: 4
Registered: November 2017
Junior Member
Tried those long ago (though I won't swear I tried every combination). It is my understand those settings are explicitly about HIDPI, which is what I am saying I do not want. The icons are too small on a 1920 laptop... Roger
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1777163 is a reply to message #1777152] Sat, 25 November 2017 09:14 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29033
Registered: July 2009
Senior Member
I tried this and it made all my icons twice as big:
-Dswt.enable.autoScale=true
-Dswt.autoScale=200
-Dswt.autoScale.method=nearest

What did you try that did not work?
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1777165 is a reply to message #1777163] Sat, 25 November 2017 09:39 Go to previous messageGo to next message
Roger Blanken is currently offline Roger BlankenFriend
Messages: 4
Registered: November 2017
Junior Member
Sorry, a while ago and don't still have my notes. I just know it was similar settings, but apparently not the same. And all the online discussion was about HIDPI.

I do certainly take you at your word that it works on more traditional resolution (1920x1280 or some such).

I will try this today. Thanks.
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1777247 is a reply to message #1777163] Mon, 27 November 2017 14:54 Go to previous message
Roger Blanken is currently offline Roger BlankenFriend
Messages: 4
Registered: November 2017
Junior Member
Works! Thanks!
Previous Topic:Automatic save - how to disable
Next Topic:CSS Grid support
Goto Forum:
  


Current Time: Wed Dec 13 11:27:19 GMT 2017

Powered by FUDForum. Page generated in 0.03011 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software