Change gedit's overview map width - gedit

I use gedit as my default editor for non-programming files like taking notes about something and for programmming competitions so editor dosn't bugs me with its suggestions etc. But yesterday while working I hit some key combination by mistake and ended up like this.
Image of gedit edit area to overview map ratio on my system
Now the overview map is way too large and I could not find anything about overview map. I searched the gedit settings in gsettings and could only find this related to minimap.
org.gnome.gedit.preferences.editor display-overview-map true
Does anybody know a way to restore the overview map width to default without reinstalling gedit?

Overview map width is depended on org.gnome.gedit.preferences.editor setting right-margin-position (which is by default 80). To make it smaller, lower the value of the setting. Reinstalling gedit would not help, since it doesn't touch the settings.

Related

Workable alternative to "Presentation Mode" in Intellij and Pycharm

As detailed in this YouTrack issue https://youtrack.jetbrains.com/issue/PY-40008 Presentation Mode is basically a one-way ticket: you can check in but you just can't leave.
One of the "misses" of returning to "normal" mode is that only the Editor panel is displayed: the Explorer, Debugger, etc. are all invisible.
That's a hassle to rectify in real time when presenting to a group of people. When I am actually giving presentations that include code snippet walk-throughs going back and forth between modes is mandatory so then Presentation Mode is a non-starter.
But then what? I code at a small font to view lots of code at one time. This is incompatible with displaying code on a projector. Here are some attempted band-aids:
Hit Command-+ a few times to increase the font. This does work, but if I switch to another file then I have to repeat that process: the new file does not "inherit" the zoomed-in preference. Then if I switch back to the first file it too has forgotten the zoom. That is very annoying for me and the audience
Change the Editor|Font .
This is a potentially better solution: at least it does affect all files and is "sticky". However I do find that the optimal resolution often requires tweaking for a given audience due to differing viewer characteristics e.g. Zoom vs Hangouts. So then I end up going into that dialog more than once with a gaggle of folks watching/waiting. Also not ideal.
The behavior is identical across recent releases of both Intellij (Ultimate 2019.3.1) and Pycharm (Ultimate 2019.2.3).
Anyone have alternative/better approaches?
I setup several Color Scheme Font schemes for desktop/laptop/presentation with different font sizes. I then use Ctrl-~ to quickly switch between them. Doesn't solve all the issues you mentioned, though.
I took a separate approach to fix this actually. When your font size is messed up after exiting the presentation mode, you can do the following.
Go to Preferences and then Appearance. Find the font size of the presentation mode and set it to the default font size (in my case it was 13). Then click Apply and you are good to go. Set the font size to 20 (or any other bigger size) back again for presentation mode.

IntelliJ text looks HUGE after update to 2019.2

I updated IntelliJ to 2019.2 this morning. After the update, all the fonts (actually, fonts and widgets) on the window look absolutely HUGE (even the splashscreen is much bigger when it starts). Main window has the look (in terms of the size of widgets) as being in presentation mode, more or less.
I tried decreasing the size of the fonts in Settings -> Appearance & Behavior - > Appearance (set it to 8) and in Settings -> Font (also set to 8). And the font in the text editor now is back to almost usable (still a little bigger that I'd like) and the menu text as well.... but everything else still looks too big (buttons, tabs, text on the tabs that are on the left side)... so, it's CRAZY. How can I get it back to normal?
I'm on ubuntu 19.04 (actually running KDE) and using OpenJDK.
PS I just downloaded 2019.1 and tried starting it. It looks normal, the way I expect it to. I'm downloading 2019.2 now and let's see what happens what I start it (not from the updated IDE directory).
Just checked starting 2019.2. It looks the way it looked when I started from the updated one. Will stick to using 2019.1 for the time being.
Please refer to the HiDPI configuration document, there were some changes in handling HiDPI on Linux with the move to JetBrains Runtime 11.
It may help if you switch to the IDE-managed HiDPI mode (legacy mode) by adding
-Dsun.java2d.uiScale.enabled=false
in Help | Edit Custom VM Options and restarting the IDE.

Settings for matching words box hightlight and odd green/blue bar to the right

I have troubles finding settings for these two things, as I just want them removed.
I'm using WebStorm 2017.3 EAP, but afaik, this would be the same in the other IntelliJ products.
Both issues are on both themes, however the default theme, be bounding box is not as apparent.
The white bounding box that appears on matching words (around services in the screenshot. I just want it dimmed a bit.
This looks like this is only Material UI, but could be related settings.
Far right green border. It's there in some files not in others, and I can't figure out what it actually represents. Some times it's blue. I just want it removed.
Note: This is not the no the hard wrap guide line, as I removed that already.
I've really tried looking through all settings, but I think I might not be using the correct terminology.
Thank you on beforehand, this is driving me nuts.
Edit: Updated images and with default theme + material theme eap.
Edit: Solved problem number 1. It's `Editor -> Color Scheme -> General -> Code -> Identifier under caret

True HiDPI in IntelliJ 15

I used to use IntelliJ 14 with the -Dhidpi=true flag in the vmoptions file and didn't have any problems with the scaling. I've just upgraded to 15 and it features "True HiDPI" but it doesn't seem to work on my Surface Pro 3. I chose to import my options from my previous build but I've checked the new vmoptions file and that flag wasn't copied over. The JetBrains site mentions that the flag isn't required anymore anyway. I've looked through the settings dialogs and the only relevant option seems to be the anti-aliasing settings which are defaulted to subpixel (sounds fine to me). Anyone have an idea how to get back to the 14-era scaling? Thanks.
Try changing "Override the default fonts by..." setting in Appearance & Behavior => Appearance tab. It scaled the menu and icons accordingly for me.
Actually, in addition to the setting in
Appearance & Behavior > Appearance
tab, the following font settings have to be changed, too:
Editor > Colors & Fonts > Font
Editor > Colors & Fonts > Console Font (Button Apply editor font setting)
I haven't found a clear and official recipe to get IntelliJ running correctly on a High DPI screen yet (and have also had a support request running a while ago on which I was repeatedly asked to provide new screen shots using new EAP releases), but I think this is the closest you can get with the IntelliJ 15.
Update 2017-20-17:
It looks like JetBrains has noticed that some people have problems with high-DPI screens. There is a new article (with discussion) that suggests some remedies (I haven't tested them yet, as my current setup is more or less usable):
https://intellij-support.jetbrains.com/hc/en-us/articles/115001260010

Unable to change some files in RubyMine project

Currently I'm having an issue where I cannot make any changes to some files in my project. When hitting the return or space bar key it will only select text and not create new lines or spaces respectively.
I'm fairly certain it has something to do with the VCS features but cannot seem to find any settings to correct the Read-Only issue I'm running into.
This issue did raise it head after installing the Dash plugin. Not sure if this is coincidental or related.
Thanks!
update: After further test it looks like some files go into a sort of preview mode. Return and Space bar keys will let you scan the file and hitting any other keys will wake up the edit function. Strange?
IdealVim caused this for me. Definitely plugin related.