DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st February 2020
victorvas's Avatar
victorvas victorvas is offline
Real Name: Victor
Fdisk Soldier
 
Join Date: May 2019
Posts: 65
Post 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!
Reply With Quote
  #2   (View Single Post)  
Old 2nd February 2020
ibara's Avatar
ibara ibara is offline
Brought VNs to OpenBSD
 
Join Date: Jan 2014
Posts: 725
Default

Don't forget to pick a good font. One that has all the UTF-8 code points you plan on using.
Reply With Quote
  #3   (View Single Post)  
Old 2nd February 2020
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,343
Default

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
Reply With Quote
  #4   (View Single Post)  
Old 2nd February 2020
Prevet Prevet is offline
Shell Scout
 
Join Date: Oct 2017
Posts: 124
Default

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.
Reply With Quote
  #5   (View Single Post)  
Old 2nd February 2020
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,343
Default

Quote:
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 ....
I like misc/mc. It is written is C, ncurses, dual panel and snappy. It has its own *.txt viewer/editor or you can configure an external editor. You can also customize file associations
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.
Reply With Quote
  #6   (View Single Post)  
Old 2nd February 2020
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 907
Default

lynx ?
Reply With Quote
  #7   (View Single Post)  
Old 2nd February 2020
ripe's Avatar
ripe ripe is offline
Shell Scout
 
Join Date: Feb 2013
Location: Occitanie, France
Posts: 126
Default

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...
Reply With Quote
  #8   (View Single Post)  
Old 2nd February 2020
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 185
Default

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
Reply With Quote
  #9   (View Single Post)  
Old 2nd February 2020
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,593
Default

I never used 'texlive' but for writing and documents I like Asciidoctor. From https://asciidoctor.org/ :
Quote:
Asciidoctor is a fast, open source text processor and publishing toolchain for converting AsciiDoc content to HTML5, DocBook, PDF, and other formats. Asciidoctor is written in Ruby and runs on all major operating systems. The Asciidoctor project is hosted on GitHub.
Together with pandoc, written in Haskell, you can convert from and to a big number of formats.

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
Reply With Quote
Old 2nd February 2020
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,343
Default

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.&nbsp BangGood</a></li>
<li><a href="https://www.gearbest.com/">9.&nbsp 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>
and ~/.config/vimb/config

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.
Reply With Quote
Old 2nd February 2020
ip6ix's Avatar
ip6ix ip6ix is offline
Fdisk Soldier
 
Join Date: Sep 2017
Posts: 63
Default

Quote:
Originally Posted by victorvas View Post
I will appreciate any suggestions of better packages, especially for terminal emulator with UTF-8 support. Thanks!
I would definitely recommend x11/rxvt-unicode as an excellent terminal emulator. From the package description:

Code:
rxvt-unicode is a clone of the well known terminal emulator rxvt,
modified to store text in Unicode (either UCS-2 or UCS-4) and to
use locale-correct input and output. It also supports mixing multiple
fonts at the same time, including Xft fonts.

Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org>

WWW: http://software.schmorp.de/pkg/rxvt-unicode.html
__________________
dc -e '[q]sa[ln0=aln256%Pln256/snlbx]sb12247225403800449909543746snlbxq'
Reply With Quote
Old 3rd February 2020
Prevet Prevet is offline
Shell Scout
 
Join Date: Oct 2017
Posts: 124
Default

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:
Originally Posted by shep View Post
I like misc/mc. It is written is C, ncurses, dual panel and snappy. It has its own *.txt viewer/editor or you can configure an external editor. You can also customize file associations
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
Thanks. I tried mc late last year. I think why I passed on it was because I couldn't see how to get it to spawn a new shell when you open a file. So it only let me open one file at a time.

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.
Reply With Quote
Old 3rd February 2020
victorvas's Avatar
victorvas victorvas is offline
Real Name: Victor
Fdisk Soldier
 
Join Date: May 2019
Posts: 65
Smile

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:
Originally Posted by Prevet View Post
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.
...
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.
Thanks, yank seems to be a great program. From what I understand, it automatically accepts newline character as a delimiter inside text files. Delimiters can be any characters of the same type, that surround a block of text. Example, search JavaScript file for expression inside brackets:
Code:
yank -d \(\) <menu.js
You have to escape brackets with \ character in shell.
() 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 ^.+$
yank copies into * register, so in vim you press "*p to paste from it (vim must be compiled with clipboard support, or gvim).

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
Reply With Quote
Old 3rd February 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,973
Default

For those times when I need to edit unicode characters, I use gvim, available with vim--gtk3.
Reply With Quote
Old 4th February 2020
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 250
Default

Quote:
Originally Posted by victorvas View Post
Window manager: i3wm
Of course.
Quote:
Music: mpd
I like Aqualung. Simple and functional.
Quote:
Pictures: ImageMagick
I use feh and gpicview.
Reply With Quote
Old 4th February 2020
Prevet Prevet is offline
Shell Scout
 
Join Date: Oct 2017
Posts: 124
Default

Quote:
Originally Posted by victorvas View Post
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!

Thanks, yank seems to be a great program. From what I understand, it automatically accepts newline character as a delimiter inside text files. Delimiters can be any characters of the same type, that surround a block of text. Example, search JavaScript file for expression inside brackets:
Code:
yank -d \(\) <menu.js
You have to escape brackets with \ character in shell.
() 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 ^.+$
yank copies into * register, so in vim you press "*p to paste from it (vim must be compiled with clipboard support, or gvim).

mc works for me, try
Code:
pkg_delete mc -ac
pkg_add mc
Thanks for that it is working now. Turns out it was a file called mc.keymap that was left behind when I last installed it.

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.
Reply With Quote
Old 4th February 2020
acampbell acampbell is offline
Real Name: Anthony Campbell
Shell Scout
 
Join Date: Sep 2014
Location: London, UK
Posts: 138
Default

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/
Reply With Quote
Old 4th February 2020
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 162
Default

Quote:
Originally Posted by victorvas View Post
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
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.
__________________
Linux is for people who hate Windows. BSD is for people who love UNIX.
Reply With Quote
Old 5th February 2020
ntx ntx is offline
New User
 
Join Date: Feb 2020
Posts: 9
Default

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.
Reply With Quote
Old 5th February 2020
Prevet Prevet is offline
Shell Scout
 
Join Date: Oct 2017
Posts: 124
Default

Quote:
Originally Posted by ripe View Post
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...
If you like ed you might like to try edbrowse.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 08:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick