LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-04-2024, 01:41 AM   #1
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Rep: Reputation: 7
Unhappy Slackware 15 64 - NetBeans with hardly readable system menus and source code


Hello,
after a fresh full intsall of Slackware 15.0_64 i noticed that system menus and source code representation for NetBeans-13 is a bit hard to read - tried some of Look and Feel Options, none of them seems to have clear readability. Do i need to install further plugins or system fonts to achieve a better look and feel? Please have a look at screenshot.
thanks!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20240104_093255.png
Views:	53
Size:	67.0 KB
ID:	42343  
 
Old 01-04-2024, 02:53 AM   #2
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 677
Blog Entries: 1

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
I dont have it in my end but maybe if you edit/add netbeans.conf (netbeans_default_options) somthing like this will help(?):
-J-Dawt.useSystemAAFontSettings=on
-J-Dswing.aatext=true
-J-Dsun.java2d.xrender=true
 
2 members found this post helpful.
Old 01-04-2024, 07:57 AM   #3
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
thanks!

Quote:
Originally Posted by rizitis View Post
I dont have it in my end but maybe if you edit/add netbeans.conf (netbeans_default_options) somthing like this will help(?):
-J-Dawt.useSystemAAFontSettings=on
-J-Dswing.aatext=true
-J-Dsun.java2d.xrender=true
As root i edited the file located at
Code:
/opt/netbeans/etc/netbeans.conf
and it improved a bit the situation
 
Old 01-04-2024, 09:13 AM   #4
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 677
Blog Entries: 1

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Try to create or edit file named DefaultLookup in the NetBeans user directory (~/.netbeans/<version>). Add custom CSS rules example:
Code:
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

* {
    font-family: 'Roboto', sans-serif !important;
}
this example using Google Fonts API to import the "Roboto" font. You can replace it with any other font you prefer. Make sure to choose a font that is available through a web font service or one that is installed on your system. but example changes the font for all elements (*) in NetBeans to Roboto with a fallback to the generic sans-serif font family. But you are free to adjust the font family, size, or other properties according to your preferences.

Alternatively, if you prefer to use a different font, you can replace "Roboto" with the name of a font that is available on your system in the CSS rule. For example, if you have the "Liberation Sans" font installed, you can modify the rule like this:
Code:
* {
    font-family: 'Liberation Sans', sans-serif !important;
}
or
Code:
* {
    font-family: 'Liberation Mono', monospace !important;
    font-weight: bold !important;
}
run fc-list to find local nice view fonts
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want Linux source code for FAT file system in user readable form not in binary for anandyadav Linux - Newbie 1 04-22-2014 03:30 AM
Vista & Ext 3 HD Readable/Non-Readable HCour Linux - Newbie 1 01-19-2009 02:18 PM
LXer: Sun Announces the Latest in Open Source Tools with the Availability of NetBeans Visual Web Pack and NetBeans C/C++ Development Pack LXer Syndicated Linux News 1 12-31-2006 07:37 AM
RH9 and WinXP_seperate drives dual boot + XP wireless network hardly works anymore? andrewc Linux - General 3 06-17-2004 09:28 AM
I want Linux source code for FAT file system in user readable form not in binary form ramya272 Linux - Newbie 5 02-05-2004 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration