inverted scrolling (natural) in vscode - visual-studio-code

I have set touch-pad-scrolling to inverted (natural) on my laptop. It works everywhere (pdf, browser, etc) but in vscode, which insists on normal scrolling. Going through the settings file of vscode didn't reveal an appropriate entry.
System: Ubuntu 16.04 64

You can try the trick in the settings:
"editor.mouseWheelScrollSensitivity": -1,
to flip the scroll direction.

Related

cursor size emacs installed through guix

I have an Arch-linux system and I just installed guix. Using Guix, I installed emacs. When I use the pacman-installed emacs all is well but when I use the guix-installed emacs, the mouse cursor gets really small every time the mouse hover over the emacs window.
I have an hidpi screen which should be the cause but I don't know why the mouse does not recognize the dpi of the system when using guix-installed emacs.
emacs version is 28.1 (same as the system-wide version of emacs)
I use i3 wm
EDIT: I did the test and the problem does not happen when I use sway (Wayland wm) instead of i3. I guess this is a problem between Xorg and guix.
I'm on Debian and I have the same issue as you. I've tried the regular ways to increase cursor size like setting Xcursor.size in ~/.Xresources, but to no avail. Then, I realized that Guix set a XCURSOR_PATH. My fix was to set XCURSOR_PATH manuall in .xinitrc to both the path from Debian and Guix:
export XCURSOR_PATH=/usr/share/icons/:/home/munen/.guix-profile/share/icons

Netbeans 12.2: horizontal scroll not working

When I'm opening any type of file in Netbeans and I'm trying to horizontally scroll with two fingers from the touchpad, it is not working.
I am using a MacBook (13 inch, Mid 2010) with Debian 10 ("Buster"), GNOME 3.30.2 as desktop and Apache Netbeans 12.2.
Maybe you know a solution? Thank you.
Many macOS users often don't restart their IDE for days. Try quitting NetBeans (make sure it doesn't show up on the force quit menu as well; if it does, then just force quit it from there as well). After this, restart your computer and make sure to uncheck the box that asks whether you'd like the OS to re-open your open windows. This should fix the horizontal scrolling issue.
Alternatively, try holding shift and scrolling vertically. This would work best with a mouse with a scroll wheel.

VSCode Minimap isn't working, is my machine too old?

Minimap is present, but doesn't render any content.
This is on my 2006 Mac Pro, running El Capitan (my hardware won't support any further upgrades).
I have VSCode running with the exact same settings on my MacBook Pro, which is running the latest OSX, and the minimap is working fine there.
The minimap on my Mac Pro displays on the right side, with the correct width and semi-transparent background, it even scrolls properly as I scroll through my code. It just doesn't display any content whatsoever.
I've tried Toggle Minimap - that works properly, shows and hides as you'd expect, except still no content when it's turned on.
I've tried different fonts, changing minimap column width, Render Characters Off (to use color blocks instead), and changed sides (right and left), I've tried running VSCode with all extensions disabled. Obviously tried restarting VSCode, and even rebooting.
Nothing I've done has made the minimap render any content, which makes me wonder if either my hardware is too old & not supported for this, or I have a broken/missing library.
It's fine if I can't get it working, but it would be nice. Any thoughts or advice are appreciated.

How to set new window position to default in Ubuntu 16.04?

My new window always shifts into task bar (see image).
How do I fix it?
Resolution:FULL HD, Task bar size:52
use compiz config setting manager to adjust it. in window management->place windows->placement mode->smart or center, and then enable place windown. My system version is ubuntu 16.04.
My system: 16.04, Mate edition.
Using ccsm, in my case, didnt work. Most apps would still open # upper left. Few were all over the place, no rhyme/reason.
What did work 100%, was going setting:
control-center -> look and feel -> windows -> placement -> center
What a relief. My monitor is 49" 4K :), was getting serious neck sprain just having to look all the way up and drag the windows down into better position.
On Ubuntu 16.04 Unity, use the Onboard Settings utility - Window, Docking
- UNcheck Dock to Screen Edge

Gnome shell two monitors full screen apps

I'm working on the Ubuntu 16.04 whit Gnome Shell version 3.18.5 and I'm using two monitors. Issue which I have regarding aplications opend in the full screen mode.
For expample if I open on the monitor number 1 my browser and on the monitor number 2 terminal in full screen mode plus some additional application such as a code editor(not full screen). Now when I'm focus on the code editor which is on the top of the terminal it's ok but when I click on my broser window(monitor 1) then the code editor gose behind the terminal automatically.
I've prepared some video to better show this problem:
In this video you can see correct behaviour when I'm using one monitor.
Here is video showing incorrect behaviour. Don't care about the elements which are above the terminal on the left screen. Terminal was set to full screen.
Dose anybody know how to change this behaviour? I was looking for solution in google but without success. Thank you.
That's the expected behavior when things are in focus/out of focus. Try resizing your windows so they don't block one another; thus, nothing will be "behind" anything else when you shift focus by clicking here or there.