Skip to content

Commit

Permalink
quick fix of header text for installs, some devops package updates, a…
Browse files Browse the repository at this point in the history
…nd some documentation updates (#117)

* quick fix of header text for installs

* remove unused import

* tick up version so that it makes it out to pipy

* some more notes on rdp

* more rdp notes

* fix mailcap for neomutt

* add onboardme to standard packages to update, and update devops packages to include smol-k8s-lab and docker
  • Loading branch information
jessebot authored Dec 13, 2022
1 parent ff2a01b commit 217c69e
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/email/neomutt/opening_attachments.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Create `~/.config/neomutt/mailcap` with this line:

```bash
# I'm using sixel with w3m, but you could use any image renderer of your choice
text/html; w3m -sixel -o auto_image=TRUE -o display_image=1 -T text/html %s; nametemplate=%s.html; needsterminal; copiousoutput
text/html; w3m -sixel -o auto_image=TRUE -o display_image=1 -T text/html %s; nametemplate=%s.html
```

### Display images in neomutt, in an iterm2 split (macOS only)
Expand Down
40 changes: 40 additions & 0 deletions docs/screen_sharing/rdp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
layout: default
title: RDP
parent: Screen Sharing
permalink: /screen-sharing/rdp
description: "Everything we know about RDP"
---

# RDP

## RDP from macOS to Debian based distros

Make sure the remote ssh server supports X11. Make sure these lines are in your `/etc/ssh/sshd_config` file:

```sshconfig
X11Forwarding yes
X11UseLocalhost yes
```

Install an X11 server and an RDP client on your mac with:

```bash
brew install --cask xquartz
brew install freerdp
```

*Then you should reboot 🤷*

(Xquartz provides a telnet app which sets the `$DISPLAY` variable. This is why you reboot.)


Finally, you can use the freerdp client:

```bash
xfreerdp /u:youruser /p:yourpassword /v:hostnameoripaddr
```

## References and Further Reading

- [Using x11 apps in mac os x](https://medium.com/@toja/using-x11-apps-in-mac-os-x-c74b304fd128)
1 change: 0 additions & 1 deletion onboardme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from importlib import import_module
from importlib.metadata import version as get_version
import logging
from rich.console import Console
from rich.logging import RichHandler
from .help_text import RichCommand, options_help
from .env_config import check_os_support, OS, process_configs, USR_CONFIG_FILE
Expand Down
8 changes: 8 additions & 0 deletions onboardme/config/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ apt:
- colortest
# help fix locale issues
- "locales-all"
devops:
- docker-ce
- docker-ce-cli
- containerd.io
gui:
- flatpak
- youtube-dl
Expand Down Expand Up @@ -265,6 +269,10 @@ pip3.11:
# - dbus
# makes neovim work with vim's python3 interface
- pynvim
# keep ourselves up to date
- onboardme
macOS:
# this is for hacking on the iterm2 python api
- iterm2
devops:
- smol-k8s-lab
2 changes: 1 addition & 1 deletion onboardme/pkg_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def run_pkg_mngrs(pkg_mngrs=[], pkg_groups=[]):
if any(check in pkg_groups for check in available_pkg_groups):

pkg_emoji = pkg_mngr_dict['emoji']
msg = f'{pkg_emoji} [green][b]{pkg_mngr}[/b][/] app Installs'
msg = f'{pkg_emoji} [grn][b]{pkg_mngr}[/b][/grn] app management'
print_header(msg)

# commands for listing, installing, updating, upgrading, & cleanup
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "onboardme"
version = "0.15.14"
version = "0.15.15"
description = "An onboarding tool to install dot files and packages including a default mode with sensible defaults to run on most computers running Debian based distros or macOS."
authors = ["Jesse Hitch <[email protected]>"]
license = "AGPL-3.0-or-later"
Expand Down

0 comments on commit 217c69e

Please sign in to comment.