Font too small for linux applications launched using Xming on windows - windows

I installed ROS under windows, following the instructions here: https://janbernloehr.de/2017/06/10/ros-windows. However on running Ubuntu under windows and launching a GUI based linux application like rviz, the font size is too small to read.

The applications are launched using Xming. Though it would seem that the Linux application is launched on windows, the truth is that they are being launched under xWindows, on windows. So changing the DPI of Xming will fix the font size in the application you launch.
To change the dpi of Xming, do the following:
Find the location of Xming. Do this by searching Xming in the windows search box. Right click on the Xming result and select "Open File location"
At the file location, right click on Xming and select properties. In the window that pops up, edit the contents of shortcut -> target to add in the dpi option. In my case the contents of target looked like this: "C:\Program Files\Xming\Xming.exe" :0 -clipboard -multiwindow -nolisten inet6 -dpi 180
Restart Xming - to do this find it on the system tray on the bottom right of the screen. Restart Xming and try and start the offending application again. The font sizes will be larger

Related

Display and change active keymap

I have a very complex setup:
German keyboard
Windows laptop
Through VDI web client to a windows machine
To an emacs running on VDI
All tools in the Windows VDI see the correct keymap, but my emacs does not. I am not talking about key bindings (yet, that will be the next problem). I am talking about the simple keypresses: I press a z and emacs sees a y
What puzzles me is that emacs is the only tool with this problem: it seems it does not recognize the selected keymap in the windows vdi.
How can I check what keymap is active in emacs? How can I change it?
I am NOT talking about key bindings.

Blurry X11 forwarding via MobaXTerm

I have established an ssh connection from Win10 to RedHat machine via MobaXTerm. I have also enabled X11 forwarding, but when I launch eclipse or gedit or anything else the application window looks blurry, i.e. not really crystal sharp as it would look be it run natively. Below is how it looks like when forwarded from a linux machine. Any clue how to make it look more sharp?
right click mobaxterm executable or shortcut
go to compatibility tab
go to high dpi settings
check the box override dpi table
leave dropdown to application
apply
restart mobaxterm
launch the app
I found a similar issue when working with VcXsrv and the solution for that one worked for me in MobaXTerm as well.
I'm going to guess that your screen is a high DPI one as it seems like that's where most people seem to have this issue.
Try going to the MobaXTerm executable, right-click it and go to properties.
Inside properties, click on the Compatibility tab and then mark the check to disable display scaling on high DPI.
I had the same problem with blurry Mobaxterm windows on Win10. Try to change scale and layout of the monitor in Windows to 100% like in
this image, and it worked for me.
I have 125% display scale and the same issue. In MobaXTerm (21.4) I've changed the following setting to make applications look sharper:
MobaXTerm / Settings / X11 / DPI: auto

Open control panel from notepad in windows 8.1

How to open control panel from notepad , I have stuck in a blue screen problem in windows 8.1. I tried a lot of things in advance options but nothing works . I tried system restore it pop up a message that an antivirus program is running , uninstall it and then continue. There is a option for cmd there I open notepad from there , now I have to open control panel , how to open it?
To open Control Panel you just have to type control in your open CMD window.
Here you can find a quickstep guide how to uninstall programms via command prompt in Windows 8.1
But you have to be Administrator to do this!
This also won't work if you are in Startup and repair mode!

Why is the system tray icon for my program not visible in Windows 7?

I'm unable to find system tray icon for my program after the installation . I could see that In Windows XP, it works just fine: the user can launch a program by clicking on the same.
However, in Windows 7 (both Home and Ultimate editions), the icon is not shown in system tray , but it works after I reboot my machine.
I have tried putting the code to refresh shell icons in the installer script, but this does not seem to have fixed the problem.
Can anyone help me on this??
PS: I use NSIS script for my installer.
Is it simply hidden in the pop-up that opens when you click the little arrow?
If not, is your program actually running at all?
If your program is running, use Process Explorer to check its integrity level (the Integrity column in Process Explorer). After you reboot and the icon appears, does the process have the same integrity level as when it didn't appear?

Task bar icons missing

I have tried to install a shell DLL in Windows7 using innosetup (installation script). To apply the shell changes I have restarted the explorer by using batch file (during installation).
It seems working on WindowsXP and Windows2003 without any issue. But in Windows7 once the explorer restarted all the taskbar icons like skype, google talk,.. (except Network and Audio icons) are closed. But all those applications are running fine. Even I click on the particular application (say skype) in start menu, it wont appear on taskbar. Only way is, need to stop the application in taskbar and again start it.
Is there any way to fix this.
Note:
I am running the installer with admin rights. Also I have tried to run the following commands in Windows7 'Administrator Command Prompt' to restart the explorer.
taskkill /f /im explorer.exe
explorer.exe
The same results happen. All the icons are closed in taskbar. But if I start the explorer via taskmanager this issue wont occur.
Note sure whether it is related to my installation setup (the same commands I am using in my batch file and used to run during installation)
Is there any way to fix this issue.?? I want to install without closing the taskbar icons..
Is it possible that your icon is in the overflow area? Click on the little "uparrow" chevron on the left of the notification area and see if your icon is in there.

Resources