Graphical List of Directories using Tree

Use this to return a list of just the folders of current directory

Sample Usage

tree -L 1

Sample Output

├── Desktop
├── Documents
├── Downloads
├── Music
├── Pictures
├── Public
├── Templates
└── Videos

Example of using "prune" to show ONLY files container pom.xml files.

Refer: https://blog.mruckman.com/2019/10/tree-list-of-pom-xml-files/

tree --prune -P "pom\.xml"

Visual Studio Code – Workspace Color Themes and Keyboard Bindings

Don't open last folder

Refer: https://blog.mruckman.com/2019/09/visual-studio-code-dont-open-last-folder/

For your workspace

mkdir .vscode

Copy this file there

settings.json

{
    "cSpell.words": [],
    "editor.fontSize": 13,
    "window.zoomLevel": 1.2,
    "files.trimTrailingWhitespace": true,
    "workbench.colorTheme": "Monokai"
}

Update keyboard bindings

File, Preferences, Keyboard Shortcuts

Triple dot, upper right hand corner, Show User Keybindings

Then upper right hand corner, "Open Keyboard Shortcuts

Here's the current keybindings.txt

Refer: https://stackoverflow.com/questions/71225580/move-to-the-next-line-when-commenting-a-line-in-vs-code

Broken Icon on Ubuntu 22.04 with Parallels

The broken icon seems to be a symptom of Ubuntu and M1.

Refer: https://forum.parallels.com/threads/gear-icon-parallels-shared-clipboard-icon-in-ubuntu-22-04.358588/

I just found that you can work around this issue by disabling Wayland in Ubuntu and use the standard Xorg server that was the default in versions prior to 22.04. There are full instructions here, but you can simply edit the file

sudo gedit /etc/gdm3/custom.conf

and uncomment the line

#WaylandEnable=false

After a restart the gear icon goes away, focus stays in the window you where using when switching desktops, and shared clipboard still works.