Posts

Showing posts from December, 2024

Writing and Testing in C# in Linux with Visual Studio Code.

Image
  Visual Studio Code is an open source IDE useful for developing in many different languages on nearly any platform. If you've ever used Eclipse, you'll find it similar.  There are many extensions you can add to it to allow you to debug, run, and test using nearly any tool you can think of. Since I'm focusing on C#, one of the first things you'll need is dotnet.  Using the Extension Manager, I've installed: .NET Extension Pack (from Microsoft) .NET Install Tool (from Microsoft) C# (from Microsoft) C: Dev Kit (from Microsoft) With those installed, you can now open the command pallet (cntrl+shift+p) and do things like create new projects.  However, to get access to some of the useful "Visual Studio Explorer" style menu items, you'll need to install that separately from Microsoft. It's available here: https://code.visualstudio.com/docs/?dv=linux64_deb What this extension allows you to do, is right click on a project and "add a reference" to ...

Limiting a Wacom Stylus to one screen in Ubuntu 24.04

Image
 I've been trying to switch from Windows to Linux, because Windows 10 is going out of support soon and they refuse to let me keep using my older, but perfectly functional PC. Much of my day-to-day development can be done on Linux with no problem. However, some of my tools need to change.   To that end, I have a Wacom stylus tablet that I like to use for writing notes. In order to use it properly, it needs to be limited to one screen. I have 5, and I'm using an NVidia driver, so many of the online solutions to make this work, did not work for me.  This did.  To find the active Wacom devices, make sure you either plug your Wacom device in, or configure it with a bluetooth adapter.  Then, open a terminal and type xsetwacom --list devices This will give you a list like this.  Yours will look different.  Next, you might want to see a list of your monitors.  To do that, you us xrandr --l...

Resolving "cmdline-tools component is missing" in Ubuntu 24.04 with VisualStudio for Flutter Development

Image
 I've recently been trying to switch from working mainly in Windows to working mainly in Linux, mostly because I'm currently running Windows 10, and would have to completely rebuild my PC in order to upgrade to Windows 11. My PC works just fine, and runs Ubuntu great.  That being said, I've ran into a few snags getting Flutter working on Ubuntu. Following the generic tutorials from the Flutter Docs  (here)  got me most of the way there.  The problem I ran into stems from (I think) the fact that Ubuntu switched from .deb packages to these things called SNAPS, which are self-contained apps. When searching for resolutions for specific problems, most of the online source has information that's now outdated.  That brings me to my issue. When I ran Flutter Doctor, I got an error complaining that the android "cmdline-tools component is missing" After much googling without luck, mostly showing me those "type this nonsense into your terminal", I found the ans...