|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Packages suggestions? (amd64)
Hello, everyone!
I finally decided to completely switch from GNU/Linux to OpenBSD on my main laptop, and I'm looking into configuring my system for maximum productivity. I'm interested in doing everything by using keyboard (without frequent use of mouse). Currently I'm thinking about using these packages: Window manager: i3wm Terminal emulator: st Text editor: Vim or Neovim Documents: texlive Music: mpd Pictures: ImageMagick Video: mpv or ffmpeg Email: mutt or neomutt (with msmtp and isync) I will appreciate any suggestions of better packages, especially for terminal emulator with UTF-8 support. Thanks! |
|
|||
Don't forget to pick a good font. One that has all the UTF-8 code points you plan on using.
|
|
|||
All the packages you listed are available in ports. The base distribution provides xterm and 3 Window managers. Of the base WM's, cwm is keyboard driven.
If you are looking for a deep dive in OpenBSD, opensmtpd is also in base. It may be worth your while to web search these options. https://dl1ngo.de/posts/2018/07/opensmtpd/ https://www.youtube.com/watch?v=csq3hXx5nl8 |
|
|||
I use Ranger as a file browser and music player, but it is kind of laggy due to it being made in Python and its settings scripts are very complicated. I would like to replace it with nnn, but the maker of nnn has this philosophy where he does not like file previews. All I would want from nnn is a text file preview and I would switch. I see someone is updating it now, so it could have better features than the one I tried.
If you can write simple shell scripts, I'd recommend fuzzy finder and this script: https://dmitryfrank.com/articles/shell_shortcuts It is good for jumping around your file system quickly. fzf can be used for a lot of other things. https://github.com/junegunn/fzf Simple X Image Viewer https://github.com/muennich/sxiv This is a nice image viewer that can be operated with the keyboard. Last edited by Prevet; 2nd February 2020 at 02:38 AM. |
|
|||
Quote:
https://www.linuxquestions.org/quest...ations-551499/ Here's a screenshot with some of the keyboard commands. https://www.linode.com/docs/tools-re...ight-commander Last edited by shep; 2nd February 2020 at 03:56 AM. |
|
||||
Music/video for youtube: http://daemonforums.org/showthread.php?t=10432
ed (which can open door to use sed and potentially to Awk via regular expression) Unless you have problem, be moderate: use mouse time to time: Stellarium, games (Flare engine, Xonotic, RedEclipse, Urban Terror, Manaplus, OpenTTD, Widelands...), LibreOffice, Gimp... |
|
|||
Using "midnight commander" & "neomutt" on one of my linux box's, as well as
"wireshark". All should be available with OpenBSD. Last edited by frcc; 2nd February 2020 at 12:15 PM. Reason: condense response |
|
|||
I never used 'texlive' but for writing and documents I like Asciidoctor. From https://asciidoctor.org/ :
Quote:
I have to admit that at this moment, with not having an OpenBSD box available, I use two programs on FreeBSD. So on OpenBSD your mileage may vary ;-)
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
For a keyboard browser, I use www/vimb. It is also written in C and the webkitgtk4 engine is now getting security updates. My configuration opens a home *.html page that consists of news, weather, forum and hardware links that I regularly follow. Others use python based www/qutebrowser.
My partially redacted home page. You can modify to add more url's and categories. ~/.config/hotlist.html Code:
<!DOCTYPE html PUBLIC "//W3C/DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=en_US.UTF-8"> <title>Vimb HomePage</title> </head> <body> <div style="float: left; width: 50%;"> <font size="4"> <ul> <h3><u>BSDs</u></h3> <ul> <li><a href="https://www.freebsd.org">1. FreeBSD</a></li> <li><a href="http://www.netbsd.org/">2. NetBSD</a></li> <li><a href="http://cdn.netbsd.org/">3. NetBSD CDN</a></li> <li><a href="http://pkgsrc.se/">4. NetBSD pkgs</a></li> <li><a href="https://mirrors.sonic.net/pub/OpenBSD/">5. OpenBSD Sonic.net</a></li> <li><a href="https://openports.pl/">6. OpenBSD Packages</a></li> <li><a href="http://undeadly.org/cgi">7. OpenBSD Journal</a></li> </ul> <h3><u>Computer Hardware</u></h3> <ul> <li><a href="https://www.banggood.com/">8.  BangGood</a></li> <li><a href="https://www.gearbest.com/">9.  GearBest</a></li> <li><a href="https://www.newegg.com/">10. NewEgg</a></li> <li><a href="http://www.outletpc.com/">11. OutletPC</a></li> </ul> <h3><u>Forums</u></h3> <ul> <li><a href="http://daemonforums.org/">12. DaemonForums</a></li> <li><a href="http://forums.debian.net/">13. Debian Forums</a></li> <li><a href="https://forums.freebsd.org/">14. FreeBSD Forums</a></li> <li><a href="http://marc.info/">15. MARC</a></li> </ul> <h3><u>News</u></h3> <ul> <li><a href="http://twitter.com/bloomcounty?lang-en/">16. BloomCounty</a></li> <li><a href="http://www.cnn.com/business/">17. CNN Business</a></li> <li><a href="http://www.msnbc.com/">18. MSNBC</a></li> <li><a href="https://www.nytimes.com/">19. NYTimes</a></li> <li><a href="https://www.washingtonpost.com/">20. Washington Post</a></li> </ul> </div> <div style="float: right; width: 50%;"> <h3><u>OpenSource</u></h3> <ul> <li><a href="https://archlinux.org/">22. Arch Linux</a></li> <li><a href="https://crux.nu/">23. Crux</a></li> <li><a href="https://www.debian.org/security">24. Debian Security </a></li> <li><a href="https://www.distrowatch.com/">25. DistroWatch</a></li> <li><a href="https://www.kernel.org/">26. Linux Kernel</a></li> <li><a href="http://openwrt.org./">27. OpenWRT</a></li> </ul> </ul> </font size> </div> </body> </html> Code:
# Homepage that vimb opens if started without a URI. set home-page=file:///home/jsh/.config/hotlist.html # Path to the default download directory. If no download directory is set, # download will be written into current directory. The following pattern will # be expanded if the download is started '~/', '~user', '$VAR' and '${VAR}'. set download-path=~/Downloads/ # User Agent set user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763 # UI set stylesheet=on #set dark-mode=on set smooth-scrolling=on set status-bar=on set default-zoom=120 set default-font=DejaVu Sans set monospace-font=DejaVu Sans Mono set sans-serif-font=DejaVu Sans set font-size=16 set monospace-font-size=13 # Command with placeholder '%s' called if form field is opened with $EDITOR to # spawn the editor-like `x-terminal-emulator -e vim %s'. To use Gvim as the # editor, it's necessary to call it with `-f' to run it in the foreground. set editor-command=xterm -e "vim %s" # If enabled the inputbox will be hidden whenever it contains no text. set input-autohide=true # Do not remember History set history-max-items=1 set html5-database=false set html5-local-storage=true # Enable or disable the spell checking feature. set spell-checking=true # Set comma separated list of spell checking languages to be used for # spell checking. set spell-checking-languages=en # Enable or disable support for WebGL on pages. set webgl=true # Prevent links opening new vimb window #set prevent-newwindow=true # Enable Hardware Acclerations set accelerated-2d-canvas=on set hardware-acceleration-policy=always # While typing a search command, show where the pattern typed so far matches. set incsearch=true # Shortcuts allow the opening of an URI built up from a named template with # additional parameters. shortcut-add ddg=https://duckduckgo.com/?q=$0 shortcut-add gog=https://encrypted.google.com/search?q=$0 shortcut-add ytb=http://www.youtube.com/results?search_query=$0 # Set the shortcut as the default, that is the shortcut to be used if no # shortcut is given and the string to open is not an URI. shortcut-default duck # Map page zoom in normal mode to keys commonly used across applications # + (zoom in), - (zoom out), = (zoom reset) nmap + zI nmap - zO nmap = zz # GUI color settings # Color scheme: Base16 Eighties (https://github.com/chriskempson/base16) set completion-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono; set completion-hover-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono; set completion-selected-css=color:#d3d0c8;background-color:#515151;font:12pt DejaVu Sans Mono; set input-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono; set input-error-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono; set status-css=color:#ffcc66;background-color:#393939;font:12pt DejaVu Sans Mono; set status-ssl-css=color:#99cc99;background-color:#393939;font:12pt DejaVu Sans Mono; set status-ssl-invalid-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono; Last edited by shep; 2nd February 2020 at 01:34 PM. |
|
|||
I found a program called yank in ports which looks pretty cool. It helps you copy text out of the terminal screen without a mouse. Unfortunately I can't figure out how its delimiters work. It says in its manual to use codes like /n for new line, but that matches the letter n. I also had problems with fzf's delimiters, so there must be something about them I am not understanding.
http://openports.se/sysutils/yank Quote:
After your suggestion I installed mc and and tried starting it by typing 'mc', but for some reason this year it starts but doesn't clear, or draw its GUI in the terminal, so I press Ctrl-c to end it. Last edited by Prevet; 3rd February 2020 at 12:55 AM. |
|
|||
Thanks everyone for the suggestions, there is a lot for me to try out and to find which programs better fit my needs. My biggest concern is the terminal emulator, I'm trying to find the best one, that I will use all the time. rxvt-unicode looks really good to me, thanks!
Quote:
Code:
yank -d \(\) <menu.js () will be delimiters as well as all special characters that are present inside the file (\n, \t etc.) Pattern to match a whole line: Code:
df | yank -g ^.+$ mc works for me, try Code:
pkg_delete mc -ac pkg_add mc Last edited by victorvas; 3rd February 2020 at 07:42 AM. Reason: added something about vim and pattern |
|
|||
Quote:
I also figured out the delimiters in fzf. You have to put the delimiter character in single quotes. So to match the tab character, you would add -d'\t' to the command line. |
|
|||
On the question of window managers mentioned by the OP: i3 is nice but I prefer spectrwm. I have a detailed comparison here: https://acampbell.uk/wp/2019/06/15/i...trwm-compared/
|
|
||||
Urxvt is indeed very nice but xterm is part of the base system (and so audited by the devs), can do almost everything urxvt can (apart from true transparency and clickable URL redirection to the browser), supports UTF-8 and it also has truecolour support, which urxvt lacks.
__________________
Are you infected with Wetiko? |
|
|||
keepassxc and surf (from suckless.org, the creators of st and dwm) are pretty much the things I use the most, alongside `st` and `dwm`.
Surf is extremely lightweight so it's great to have webapps on without having to run something as "large" as Firefox, if you use discord or telegram or even a mastodon instance on. I don't normally have more than 2-3 tabs open, and the different dwm tags work wonderfully as "tabs" for surf. I use alpine right now for checking my gmail account and surf for checking my protonmail account, but I was wondering if I should move back to neomutt. |
|
|||
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inkscape not in snapshots/packages/amd64 | gustaf | OpenBSD Packages and Ports | 6 | 7th November 2017 06:44 AM |
10 000 buildable packages for OpenBSD/amd64 in pkgsrc | e1-531g | News | 0 | 12th September 2015 02:45 PM |
Can't find packages for amd64 -current | Daffy | OpenBSD Packages and Ports | 6 | 8th June 2011 02:44 PM |
missing: 4.9/packages/amd64/SHA256? | jsmith6134 | OpenBSD Installation and Upgrading | 3 | 9th May 2011 08:05 PM |
Current Missing some amd64 Packages | shep | OpenBSD Packages and Ports | 3 | 5th March 2010 03:50 PM |