You are not logged in.
unless you are using that kernel i dont see the harm in getting rid of that modules directory.
This website seems to work fairly good. Alternative to google.
snork wrote:[sarcasm]Awesome... I'm sure they're dropping FTP in order to make room for great new features like Bonzi Buddy![/sarcasm]
No - even better (or worse depending on your viewpoint): "Firefox 88 now supports PDF forms that have JavaScript embedded in PDF files... Apparently JS in PDF is a thing for form validation and other interactive elements." https://www.phoronix.com/scan.php?page= … 8-Released
I mean - what could possibly go wrong?
good reason to never use the inbuilt FF pdf reader.
How about making a "yt-webm" or "yt-opus" (or similar) for downloading and playing lower-quality audios. For downloading lectures and podcasts where quality doesn't matter but getting a small file size is more important. I use this option a lot with the NewPipe app on my phone, which gives me a 50kbps opus option as the lowest quality download. Would there be many changes to make in your method besides the --audio-format option?
That seems a bit trickier to accomplish into a directory of its own say /home/dice/podcasts using a config as i cant see an option to properly just download the available audio formats instead of downloading and converting the video, cause we dont want the best audio download of say 160M, which is what --audio-quality 0 to 9 will do in the config, even at 9 the file i downloaded was 160MB whereas the audio only in opus was 58M.
man youtub-dl says,
Video Format Options:
-f, --format FORMAT Video format code, see the "FORMAT SELECTION" for all the info
--all-formats Download all available video formats
--prefer-free-formats Prefer free video formats unless a specific one is requested
-F, --list-formats List all available formats of requested videos
--youtube-skip-dash-manifest Do not download the DASH manifests and related data on YouTube videos
--merge-output-format FORMAT If a merge is required (e.g. bestvideo+bestaudio), output to given container format. One of mkv, mp4, ogg, webm, flv. Ignored if no merge is
required
example using youtube-dl -F to inspect formats.
~$ youtube-dl -F https://www.youtube.com/watch?v=cq1g8czIBJY
[youtube] cq1g8czIBJY: Downloading webpage
[info] Available formats for cq1g8czIBJY:
format code extension resolution note
249 webm audio only tiny 54k , webm_dash container, opus @ 54k (48000Hz), 58.23MiB
250 webm audio only tiny 74k , webm_dash container, opus @ 74k (48000Hz), 79.40MiB
140 m4a audio only tiny 129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 138.29MiB
251 webm audio only tiny 152k , webm_dash container, opus @152k (48000Hz), 163.14MiB
160 mp4 256x144 144p 14k , mp4_dash container, avc1.4d400c@ 14k, 24fps, video only, 15.05MiB
278 webm 256x144 144p 39k , webm_dash container, vp9@ 39k, 24fps, video only, 42.63MiB
133 mp4 426x240 240p 26k , mp4_dash container, avc1.4d4015@ 26k, 24fps, video only, 28.18MiB
242 webm 426x240 240p 62k , webm_dash container, vp9@ 62k, 24fps, video only, 66.48MiB
134 mp4 640x360 360p 39k , mp4_dash container, avc1.4d401e@ 39k, 24fps, video only, 42.01MiB
243 webm 640x360 360p 119k , webm_dash container, vp9@ 119k, 24fps, video only, 128.01MiB
135 mp4 854x480 480p 57k , mp4_dash container, avc1.4d401e@ 57k, 24fps, video only, 61.75MiB
244 webm 854x480 480p 186k , webm_dash container, vp9@ 186k, 24fps, video only, 198.95MiB
136 mp4 1280x720 720p 78k , mp4_dash container, avc1.4d401f@ 78k, 24fps, video only, 83.70MiB
247 webm 1280x720 720p 314k , webm_dash container, vp9@ 314k, 24fps, video only, 335.58MiB
137 mp4 1920x1080 1080p 262k , mp4_dash container, avc1.640028@ 262k, 24fps, video only, 280.76MiB
248 webm 1920x1080 1080p 642k , webm_dash container, vp9@ 642k, 24fps, video only, 685.82MiB
18 mp4 640x360 360p 253k , avc1.42001E, 24fps, mp4a.40.2 (44100Hz), 271.26MiB
22 mp4 1280x720 720p 207k , avc1.64001F, 24fps, mp4a.40.2 (44100Hz) (best)
The best i could come up with below hoping that most audio only formats are in the same format code that being 249 for the lowest possible download and lowest possible bitrate? So this way im only download and converting webm to opus and the total download is 58M not 160M. Note that thumbnail embedding cant be done with opus, not sure about webm.
mkdir -p ~/Music/podcasts
mkdir -p ~/.config/yt-podcasts/
config..
# Save all podcasts inside music directory in your home directory
-o ~/Music/podcasts/%(title)s.%(ext)s
--metadata-from-title "(?P<artist>.+?) - (?P<title>.+)"
--add-metadata
--no-warnings
--ignore-errors
--restrict-filenames
--extract-audio
--audio-format opus
--format 249
alias..
alias yt-podcasts='youtube-dl --config-location ~/.config/yt-podcasts/config'
Hope that made sense, maybe someone smarter than me knows a better way.
ahh just saw your edit: always use su - due to this bug report. https://bugs.debian.org/cgi-bin/bugrepo … bug=918754
Im not 100% certain but i believe this might be due to the UsrMerge scheme adopted by debian. I always choose not to merge during installation.
modprobe and halt are in /sbin/ so not on your $PATH by the looks of it, not broken just missing input.
edit: for my roots $PATH atleast i have /sbin/
root@beowulf:~# $PATH
-bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
fsmithred wrote:Wicd is gone, and nothing currently replaces it.
I suggest doing away with wicd for desktop installs, and use connman instead. connman-gtk for gtk DEs like XFCE, and cmst for QT like LXQT.
and switch to iwd for connman backend
Thanks for the link to ytfzf, i will give it try. Good tool to negate visiting youtube.com in the browser.
Edit: just installed ytfzf, that is awesome
Lets start with mp3. Requires ffmpeg
#create youtube-dl directory for Music first.
mkdir -p ~/Music/ytdl
#create mp3 config directory
mkdir -p ~/.config/yt-mp3/
# create yt-mp3 config
# Save all music under Music directory in your home directory
-o ~/Music/ytdl/%(title)s.%(ext)s
--metadata-from-title "(?P<artist>.+?) - (?P<title>.+)"
--add-metadata
--embed-thumbnail
--no-warnings
--ignore-errors
--restrict-filenames
--extract-audio
--audio-format mp3
--audio-quality 0
in bashrc or aliases file, do ...
alias yt-mp3='youtube-dl --config-location ~/.config/yt-mp3/config'
# command
yt-mp3 https://www.youtube.com/watch?v=WA2gBEDFaJo
Edit: files.devuan.org is s - l - o - w . Unless you want to party like it's 1999, choose a faster mirror. They're listed on this page: https://www.devuan.org/get-devuan
#2
Expert install on old (2011) Thinkpad. It asks twice for me to supply the wireless firmware on a usb. I already know that the iso contains the exact firmware I need, so I decline. Twice.I unplugged the ethernet cable to make sure I could do a wireless install. Installer loads the firmware and detects the nearby wireless signals. I could not authenticate with my router. It turns out that it works fine with no wireless password or if I change the password to one that contains only lower case letters. The original pass had numbers and special characters.
It's not done yet, but it seems to be going along fine.
#1
Full desktop install in qemu yesterday worked. Wicd is gone, and nothing currently replaces it. Wired connection was working with dhcp automatically set up in /etc/network/interfaces.Xfce did not ask on first login if I wanted default layout or bare layout. Launchers on lower panel exist but are not set to anything. I'll see if I get the same thing on the second install.
The speed probably varies from country to country, but i was getting 2mb per second download speed which to me is fast.
I didnt have any issues with wireless connection, iwlwifi loaded and i was only asked once to supply usb firmware.
I had a different experience it seems, my wifi password contains numbers, lower and upper case letters and special characters and this was accepted. I used the amd64 iso, what iso did you use?
steve_v wrote:Yeah, that'll take a while.
Sure, one night; but I was sleeping.
MLEvD wrote:My dad wrote a home accounting program in 1K on the ZX81.
I wrote software for ZX81, but never could run it because I had no money then to buy one computer, not even that humble ZX81.
What was the ZX81 worth back then where you come from?
I read in wikipedia they were around $100 in 1981 in the US. Goes to show how much a dollar was worth back then.
Heads up.
Working fine for me, installed to bare metal no problems.
You might be better off using something like ventoy.
They have a persistence plugin which is what you are looking for to store data files.
https://www.ventoy.net/en/index.html
https://www.ventoy.net/en/plugin_persistence.html
edit: ventoy is ok, but follow fsmithreds advice in post below. Might try this myself.
Yes, that's right.
Here's mine:
COM =\ components/battery\ components/datetime\ components/load_avg
I also cut up the load_avg component so that it only displays the first value (from the last minute)
Got it down to this.
-rwxr-xr-x 1 root root 23336 Apr 15 22:14 /usr/bin/slstatus
REQ = util
COM =\
components/battery\
components/datetime\
components/run_command\
components/volume\
Thanks for the tips.
Did you remove the unwanted stuff from the components directory and delete the lines relating to them in the Makefile? That reduces the size of the binary considerably.
so just delete the components not needed in the Makefile as well?
wouldnt deleting the lines in the makefile be enough?
eg;
REQ = util
COM =\
components/battery\
components/cpu\
components/datetime\
components/disk\
components/entropy\
components/hostname\
components/ip\
components/kernel_release\
components/keyboard_indicators\
components/keymap\
components/load_avg\
components/netspeeds\
components/num_files\
components/ram\
components/run_command\
components/separator\
components/swap\
components/temperature\
components/uptime\
components/user\
components/volume\
components/wifi
ive got volume via dev/mixer and cpu temp which bumps my settings up somewhat.
-rwxr-xr-x 1 root root 31784 Apr 15 22:14 /usr/bin/slstatus
static const struct arg args[] = {
/* function format argument */
{ vol_perc, " V: %s % | ", "/dev/mixer" },
{ run_command, " C: %s | " , "/home/dice/bin/temp" },
{ battery_perc, "B: %2s %% | ", "BAT1" },
{ datetime, "T: %s", "%R" },
};
Any web page that doesn't render reasonably in a terminal-based web browser is fundamentally broken IMO.
The UK government website is tested with elinks and so is perfectly usable in all browsers.
even when you need to log in to services?
The best way to create .deb packages is with the debmake command.
dice wrote:any good tutorials
Have you seen https://www.debian.org/doc/manuals/debmake-doc/?
I made a package for slstatus a while ago, here's a link to my debian directory tarball: https://download.opensuse.org/repositor … ian.tar.xz
dice wrote:ln -s slstatus.1.gz debian/slstatus/usr/share/man/man1/slstatus.default.1.gz
Was the man page not installed automatically by dh_installman(1)?
EDIT: corrected download link.
Thanks.
I fear any package for slstatus will be mostly personal via source, but its good to have a binary for easy installation. What features does your package have as default settings?
The default debian/rules were not enough to successfully build the deb so i borrowed the rules from apt source dwm and modified to suit. It would have picked up man page with dh_installman i suppose.
gmni package here: https://software.opensuse.org//download … ckage=gmni
@OP: I like your capsule but EMACS? Really? #vimftw
Looks like gmni have moved to BearSSL.
Thanks Ogis, glad it worked for you.
Distrutube has made his main website a capsule on Gemini - gemini://distro.tube
Nice, this is definitely on my list of things to do. Would love to see a version of distrowatch.com on gemini too.
can see the new marked SOLVED link in op too, nice addition admin.
Thanks for the hints. Figured it out somewhat from dwm apt source.
slstatus-1.0/debian/rules
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
SHELL := sh -e
%:
dh ${@}
override_dh_auto_clean:
rm -f config.h
$(MAKE) clean
override_dh_auto_install:
$(MAKE) install DESTDIR=$(CURDIR)/debian/slstatus PREFIX=/usr
mv debian/slstatus/usr/bin/slstatus debian/slstatus/usr/bin/slstatus.default
ln -s slstatus.1.gz debian/slstatus/usr/share/man/man1/slstatus.default.1.gz
Im wanting to have a try at creating .deb for the slstatus package but not sure how.
Could i just git clone slstatus and use dh_make from there or would be better off downloading the tar?
I successfully created a .deb of a shell script but a git repo is a bit daunting, is there any good tutorials for this type of build?
Edit: Ive read the f'ing manual but still confused im stuck at debian/rules
dh_usrlocal: debian/slstatus/usr/local/bin/slstatus is not a directory
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed