|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
How to take screenshots?
What are you using to take screenshots in the 2nd image with the scrnshot-3 command? I like xfce4-screenshooter. Also, what command or program gives you that readout of your system specs alongside the puffy logo?
|
|
||||
The program that gives the readout is called Neofetch
To make my screenshots I use the ImageMagick, 'import' command, " scrnshot-3" is just a script, the others, as well are ksh scripts, but named different because they are slightly different. Code:
date print -n "Enter Screen shot name: "; read name; print "" if [ $name = "" ];then #print "Your welcome, ${name}." #elif [ $name = "" ];then print "Your screenshot will be ${name}" else import ${name} fi for file in *png; do new_file=`echo $file | sed 's/.png$//'` convert -resize 25% $file $new_file-tmb.png #jpegoptim ... $new_file-tmb.png #mv *.JPG-tmb.jpg tmb scp *.png me@XXmyserverIP:/path/to/www/images/ #put *.gif #mv *.png images/ done http://daemonforums.org/showthread.php?t=10470 Note: The 'scp' command , Code:
man scp
__________________
My best friends are parrots Last edited by PapaParrot; 6th October 2018 at 07:49 AM. |
|
|||
Quote:
|
|
||||
Yes , "scrot" will work as well, I am mostly used to using the 'import' command, but it works the same using "scrot":
__________________
My best friends are parrots |
|
|||
I had a look at the 7th comment here https://www.reddit.com/r/unixporn/co...random_images/ copied the raw "neofetch" script https://raw.githubusercontent.com/dy...aster/neofetch into a new document, installed bash..
$ which bash ..changed the first line of the script from "#!/usr/bin/env bash" to "#!/usr/local/bin/bash" and all good. I got some extra colours on the puffy logo too. |
|
|||
Literally there is a package of neofetch that does exactly this.
Code:
$ doas pkg_add neofetch |
|
||||
Well, that is good, those were the default colors on mine as well, but I did not like it that way, so I made some changes, I wanted it to stand out more , on a white background, so changed the yellow to black.
Any way, looks good.
__________________
My best friends are parrots |
|
|||
Yes I saw your other post and found it on ports.su http://ports.su/sysutils/neofetch but I don't seem to be able to install it with pkg_add..
$ doas pkg_add neofetch Oh I see, I found that too
Last edited by new2BSDlol; 8th October 2018 at 04:15 AM. |
|
||||
There is a sysutils/screenfetch but no port for neofetch:
http://openports.se/search.php?so=neofetch EDIT: or am I wrong about this? I'm running -current (updated 30 minutes ago) and I can't `pkg_add -D snap neofetch`. I use this to take screenshots: Code:
imlib2_grab scrot.png
__________________
Are you infected with Wetiko? Last edited by Head_on_a_Stick; 8th October 2018 at 06:03 AM. Reason: Added EDIT note |
|
||||
Something I have all ways wondered is how to get a screen shot of the console window, before any xwindows or display manager has been started, like these, but these are on a VM , so I could take the screen shots from the host system.
How, if there is a way to do this on the host system ? =============================================
__________________
My best friends are parrots Last edited by PapaParrot; 8th October 2018 at 11:37 AM. |
|
||||
Quote:
http://daemonforums.org/showthread.php?t=9993 You can do it on Linux via the framebuffer, IIRC. But not on OpenBSD. Quote:
This works in base. No packages/ports required: Code:
xwd -out screenschot.xwd |
|
|||
Quote:
Do not use openports.se to check on ports. We don't control it and it is wildly out of date and broken. Code:
$ doas pkg_add -Dsnap neofetch |
|
||||
Yes, I am, sorry about that, my mirror must have been slightly behind, it works now.
Thanks for the information about openports.se, that's good to know. EDIT: @fvgit, that's beautiful, thanks!
__________________
Are you infected with Wetiko? |
|
|||
What do you use to transcode the xwd screenshot to jpg or png? I used to fire up GIMP and save as png or jpg but... obviously a bit time consuming. I imagine a script that automatically transcoded the screenshot could make xwd more usable.
(I use $ xwd > screenshot.xwd or $ xwd -root > screenshot.xwd for a full screen capture)Thanks
|
|
||||
Quote:
Code:
convert xwd-scrnshot.xwd xwd-scrnshot.png ====================================== =========== edit ====== If one prefers, GraphicsMagick , also uses the 'convert' command, but it needs "gm" in front, IE: Code:
gm convert xwd-screenshot.xwd xwd-scrn.png
__________________
My best friends are parrots Last edited by PapaParrot; 8th October 2018 at 10:03 PM. Reason: additional note |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Your FreeBSD Screenshots | BSDKaffee | FreeBSD General | 181 | 26th November 2023 11:58 PM |
Updating Wikipedia screenshots | rpindy | OpenBSD General | 15 | 29th May 2011 09:14 PM |
How to take a screenshots in xfce? | aleunix | OpenBSD Packages and Ports | 11 | 2nd June 2008 04:42 AM |