Re: [gentoo-user] Bitwarden, anyone?
On Sunday, 14 June 2020 12:43:21 BST Peter Humphrey wrote: > Afternoon all, > > Has anyone some experience of bitwarden on Gentoo? It doesn't run for me, > and I suspect a java problem. I have icedtea here. > > I'm talking about the installed version, not the firefox extension, which > seems to work. I've found an overlay with bitwarden-cli-bin, which is now installed and ready to accept commands. -- Regards, Peter.
[gentoo-user] Re: Netflix Error Code O7355 with Opera
On 2020-06-12, Peter Humphrey wrote: > 1. I prefer stable, but Zoom requires a lot of testing packages: too >many for a mixed stable and testing system in my opinion. Yea, after looking at what was required to install Zoom, I decided to stick with the Kindle Fire for that. It will only show 4 video windows in gallery mode (or whatever it's called), but other than that it works perfectly. -- Grant
Re: [gentoo-user] Bitwarden, anyone?
On Sunday, 14 June 2020 19:06:36 BST Wynn Wolf Arbor wrote: > On 2020-06-14 18:45, Peter Humphrey wrote: > > Yes; this is what I get: > > > > $ ./Bitwarden*/opt/Bitwarden/bitwarden > > A JavaScript error occurred in the main process > > Uncaught Exception: > > Error: /tmp/.org.chromium.Chromium.QkN0cP: failed to map segment from > > shared object > > --->8 > > From what I remember this is caused by having /tmp mounted with noexec. > Sadly the app tries to execute a process directly from within the > temporary directory and fails. Try something like this to confirm: > > mkdir $HOME/.cache/bitwarden-tmp > TMPDIR=$HOME/.cache/bitwarden-tmp ./Bitwarden*/opt/Bitwarden/ bitwarden That was a good idea - but it didn't help, so that's not the answer. > To see whether you've mounted /tmp with noexec: mount | grep /tmp > > Should give something like this: > > tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime) > > Note that having /tmp mounted with noexec is usually a good idea. I used > to create a wrapper script that launched these kinds of app with a > special TMPDIR. > > > I haven't played with java before, so I'm trying to follow the gentoo > > wiki. My first question is whether I need a jdk as well as a jre. The > > wiki talks blithely about virtual machines, and I'm left to guess > > whether the jre is the jvm, as it seems. I'm currently installing > > openjre and openjdk; icedtea-bin is also installed. > > The JRE is the Runtime Environment. It includes all things necessary to > run a compiled Java program (so it does indeed include the JVM). The JDK > is the Development Kit - it includes the JRE, but also ships with the > javac compiler and a few other tools. So, if you intend to just run an > already compiled Java program (usually in the form of a .jar), you just > need the JRE. If you need to compile Java programs, you should instead > install the JDK (and can remove the JRE fully). That makes sense, and I'd supposed it to be so. It would be helpful if the wiki said so. > Regardless of that, JavaScript is not Java [1]. There's no need for the > JRE if you want to run JavaScript code. The Bitwarden desktop app does > not need a JRE or JDK. Yes, I understand that. > [1] https://en.wikipedia.org/wiki/JavaScript#Java -- Regards, Peter.
Re: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed
On Sun, 14 Jun 2020 22:07:20 +0200, n952162 wrote: > I see that there are new lines in the dependencies table that I've never > encountered before: > > [blocks B ] (" x11-base/xorg-proto-2019.2) > > I get these (using the emerge from the git repository) for all of > @world, @system, and portage. > > Is there a way to handle that? As you're now SSHing into the machine and don't need X to do the upgrade, I'd just unmerge randrproto. Once you have portage updage, the next world update will pull in the correct version if it's still needed. -- Neil Bothwick Deja Foobar: A feeling of having made the same mistake before. pgpku__CzMFpA.pgp Description: OpenPGP digital signature
Re: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed
On 2020-06-14 10:23, n952162 wrote: On 2020-06-14 00:05, n952162 wrote: cool! I'll give that a try tomorrow. Thank you. On 2020-06-13 21:42, Andreas K. Hüttel wrote: Am Donnerstag, 11. Juni 2020, 09:47:50 EEST schrieb n952162: I haven't clue what to do here. Can somebody supply a good URL or explanation? In the meantime a new ebuild format version (EAPI) has been introduced; your old portage can't process that, and as a result doesnt understand many new ebuilds. Portage disregards ebuilds where it doesnt know the format, but of course if these are needed to update Portage itself, you're somewhat screwed. Luckily there is a very simple workaround. Download a recent portage (the packager) tarball, or clone git master portage: https://anongit.gentoo.org/git/proj/portage.git Then run the "emerge" command inside that checkout, by giving its full path, the same way as you would otherwise run emerge. This updates your system and ideally afterwards your system portage is new and shiny, so you can delete the git clone again. Unfortunately, I couldn't get that to work, using this command, first with tgt=@world, then @system, then portage, I got thousands of lines of output before failure to calculate the dependencies. Log files attached (world contains both @world and @system). sudo $HOME/adm/gentoo/src/portage/bin/emerge -vuUD --backtrack=100 --with-bdeps=y $tgt I see that there are new lines in the dependencies table that I've never encountered before: [blocks B ]
Re: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed
I took the plunge and changed from NAT to "bridged adapter" and I was able to ssh in - thank you for giving me the impetus. There are consequences of that change, I'm not sure what they all are ... so I won't leave it like this, but in order to figure out how to get my system up-to-date, it'll be useful having a properly functioning terminal. On 2020-06-14 18:02, antlists wrote: On 14/06/2020 08:01, n952162 wrote: I think the problem is, vbox's NAT interface acts as a router, but only uni-directionally. That means, it will establish a "connection" for VM-initiated sessions, but there's no mechanism for establishing a session for external-initiated sessions. Somebody, please correct me if that is wrong or incomplete. I think that's true of any NAT interface. Can't remember what it's called (bridge, maybe?), but that asks your local LAN DHCP for an IP address, so you could ssh in from the local network. It *should* be as simple as going into VirtualBox and changing the setting. Cheers, Wol
Re: [gentoo-user] Bitwarden, anyone?
On 2020-06-14 18:45, Peter Humphrey wrote: > Yes; this is what I get: > > $ ./Bitwarden*/opt/Bitwarden/bitwarden > A JavaScript error occurred in the main process > Uncaught Exception: > Error: /tmp/.org.chromium.Chromium.QkN0cP: failed to map segment from shared > object > --->8 >From what I remember this is caused by having /tmp mounted with noexec. Sadly the app tries to execute a process directly from within the temporary directory and fails. Try something like this to confirm: mkdir $HOME/.cache/bitwarden-tmp TMPDIR=$HOME/.cache/bitwarden-tmp ./Bitwarden*/opt/Bitwarden/bitwarden To see whether you've mounted /tmp with noexec: mount | grep /tmp Should give something like this: tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime) Note that having /tmp mounted with noexec is usually a good idea. I used to create a wrapper script that launched these kinds of app with a special TMPDIR. > I haven't played with java before, so I'm trying to follow the gentoo > wiki. My first question is whether I need a jdk as well as a jre. The > wiki talks blithely about virtual machines, and I'm left to guess > whether the jre is the jvm, as it seems. I'm currently installing > openjre and openjdk; icedtea-bin is also installed. The JRE is the Runtime Environment. It includes all things necessary to run a compiled Java program (so it does indeed include the JVM). The JDK is the Development Kit - it includes the JRE, but also ships with the javac compiler and a few other tools. So, if you intend to just run an already compiled Java program (usually in the form of a .jar), you just need the JRE. If you need to compile Java programs, you should instead install the JDK (and can remove the JRE fully). Regardless of that, JavaScript is not Java [1]. There's no need for the JRE if you want to run JavaScript code. The Bitwarden desktop app does not need a JRE or JDK. [1] https://en.wikipedia.org/wiki/JavaScript#Java -- Wolf
Re: [Gentoo] : Re: [gentoo-user] [OT] splitting audio file at points of silence ?
On 06/14 01:35, elu6-u...@spamex.com wrote: > [snipped] > > Hi, > > I want to split an audio file containing crow calls at points > where no crow call is. The "silence" in between is not exactly > "silence" but some low level noise. > > [snipped] > > However, there is `mp3splt`, provided in the package > `media-sound/mp3splt`. > It's described in the question provided as a comment to your UNIX S.E.\ > link. > > [snipped] > > Jun 14, 2020, 04:43 by a...@suugaku.co.uk: > > mp3splt primarily works with mp3s, but can also support ogg, which can be > a > container format for flac. I've never used it myself, but it looks > promising, > providing you are OK with placing your flacs inside an ogg. > > [snipped] > > The package media-sound/mp3splt has use flag "flac". If set mp3splt can > directly read and write flac files. > > I have used mp3splt to successfully split podcast files for burning to a CD. > It has many options that allow tuning of the split points. I found it a pain > to setup, but now that setup in complete it works reliably. > > Tom Naujokas (elu6-u259 at spamex.com) > Hi Tom, thanks for the info! :) In the meanwhile I have used Audacity...it has a "Sound finder" and "Silence finder" tool under the "Analyse Tab", which has some very handy parameters. The result will be visualised before any split file is written and can be manually corrected per segment and to each segment can be listened separately beforhand. Cheers! Meino
Re: [gentoo-user] Bitwarden, anyone?
On Sunday, 14 June 2020 13:06:32 BST Wynn Wolf Arbor wrote: > Hi Peter, > > On 2020-06-14 12:43, Peter Humphrey wrote: > > Afternoon all, > > > > Has anyone some experience of bitwarden on Gentoo? It doesn't run for > > me, and I suspect a java problem. I have icedtea here. > > > > I'm talking about the installed version, not the firefox extension, > > which seems to work. > > Which installed version are you talking about? I don't see the Bitwarden > desktop or command line app in the tree - I guess you downloaded one > from their site? Yes, it isn't in the tree. I've tried both the Appimage version and the .rpm, the latter after rpm2targz. I installed them in my home directory. > I used to run the desktop app myself, and am pretty sure it does not > require a Java runtime. If you use the AppImage version, there might be > certain libs missing (tested it out just now, and it fails to start > because it cannot find libsecret). > > Have you tried running it from the command line to see what it says? Yes; this is what I get: $ ./Bitwarden*/opt/Bitwarden/bitwarden A JavaScript error occurred in the main process Uncaught Exception: Error: /tmp/.org.chromium.Chromium.QkN0cP: failed to map segment from shared object --->8 I haven't played with java before, so I'm trying to follow the gentoo wiki. My first question is whether I need a jdk as well as a jre. The wiki talks blithely about virtual machines, and I'm left to guess whether the jre is the jvm, as it seems. I'm currently installing openjre and openjdk; icedtea-bin is also installed. -- Regards, Peter.
Re: [Gentoo] : Re: [gentoo-user] [OT] splitting audio file at points of silence ?
[snipped] Hi, I want to split an audio file containing crow calls at points where no crow call is. The "silence" in between is not exactly "silence" but some low level noise. [snipped] However, there is `mp3splt`, provided in the package `media-sound/mp3splt`. It's described in the question provided as a comment to your UNIX S.E.\ link. [snipped] Jun 14, 2020, 04:43 by a...@suugaku.co.uk: mp3splt primarily works with mp3s, but can also support ogg, which can be a container format for flac. I've never used it myself, but it looks promising, providing you are OK with placing your flacs inside an ogg. [snipped] The package media-sound/mp3splt has use flag "flac". If set mp3splt can directly read and write flac files. I have used mp3splt to successfully split podcast files for burning to a CD. It has many options that allow tuning of the split points. I found it a pain to setup, but now that setup in complete it works reliably. Tom Naujokas (elu6-u259 at spamex.com)
Re: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed
On 14/06/2020 08:01, n952162 wrote: I think the problem is, vbox's NAT interface acts as a router, but only uni-directionally. That means, it will establish a "connection" for VM-initiated sessions, but there's no mechanism for establishing a session for external-initiated sessions. Somebody, please correct me if that is wrong or incomplete. I think that's true of any NAT interface. Can't remember what it's called (bridge, maybe?), but that asks your local LAN DHCP for an IP address, so you could ssh in from the local network. It *should* be as simple as going into VirtualBox and changing the setting. Cheers, Wol
Re: [gentoo-user] Bitwarden, anyone?
Hi Peter, On 2020-06-14 12:43, Peter Humphrey wrote: > Afternoon all, > > Has anyone some experience of bitwarden on Gentoo? It doesn't run for > me, and I suspect a java problem. I have icedtea here. > > I'm talking about the installed version, not the firefox extension, > which seems to work. Which installed version are you talking about? I don't see the Bitwarden desktop or command line app in the tree - I guess you downloaded one from their site? I used to run the desktop app myself, and am pretty sure it does not require a Java runtime. If you use the AppImage version, there might be certain libs missing (tested it out just now, and it fails to start because it cannot find libsecret). Have you tried running it from the command line to see what it says? -- Wolf
[gentoo-user] Bitwarden, anyone?
Afternoon all, Has anyone some experience of bitwarden on Gentoo? It doesn't run for me, and I suspect a java problem. I have icedtea here. I'm talking about the installed version, not the firefox extension, which seems to work. -- Regards, Peter.
Re: [gentoo-user] [OT] splitting audio file at points of silence ?
On 06/14 11:45, David Haller wrote: > Hello, > > On Sun, 14 Jun 2020, tu...@posteo.de wrote: > >I want to split an audio file containing crow calls at points > >where no crow call is. The "silence" in between is not exactly > >"silence" but some low level noise. > > > >Searching the internet for "split audio at silence" and similiar > >gives me this link > >https://unix.stackexchange.com/questions/318164/sox-split-audio-on-silence-but-keep-silence > > > >which uses a program called "silence" to detect the silence. > > > >Unfortunately I can't figure out, what package contains that program > >or from where I can download that program. > > You need 'media-sound/sox' and then use the silence effect. Note that > it is _one_ command on _one_line in that answer on stackexchange > > sox -V3 audiobook.mp3 audiobook_part_.mp3 silence \ > 1 0.5 0.1% 1 0.5 0.1% : newfile : restart > > See 'man 7 soxeffect' > > HTH, > -dnh > > -- > Ich glaube aber nicht, dass der DDR Ram hat. Er hat seinen Rechner doch erst > vor einem Jahr gekauft! Die werden Ihm da doch nicht uralt-Speicherbausteine > hereingesteckt haben. Maximal kann er also "Ex-DDR"-Speicher haben (Sprich > Infineon, denn die Produzieren ja auch in Dresden ...).-- Konrad Neitzel > Hi dnh, Oh..<"hand against my forhand"-effect> For me: Lesson 1: Reading ;) Thanks a lot for your help! Cheers! Meino
Re: [gentoo-user] [OT] splitting audio file at points of silence ?
Hello, On Sun, 14 Jun 2020, tu...@posteo.de wrote: >I want to split an audio file containing crow calls at points >where no crow call is. The "silence" in between is not exactly >"silence" but some low level noise. > >Searching the internet for "split audio at silence" and similiar >gives me this link >https://unix.stackexchange.com/questions/318164/sox-split-audio-on-silence-but-keep-silence > >which uses a program called "silence" to detect the silence. > >Unfortunately I can't figure out, what package contains that program >or from where I can download that program. You need 'media-sound/sox' and then use the silence effect. Note that it is _one_ command on _one_line in that answer on stackexchange sox -V3 audiobook.mp3 audiobook_part_.mp3 silence \ 1 0.5 0.1% 1 0.5 0.1% : newfile : restart See 'man 7 soxeffect' HTH, -dnh -- Ich glaube aber nicht, dass der DDR Ram hat. Er hat seinen Rechner doch erst vor einem Jahr gekauft! Die werden Ihm da doch nicht uralt-Speicherbausteine hereingesteckt haben. Maximal kann er also "Ex-DDR"-Speicher haben (Sprich Infineon, denn die Produzieren ja auch in Dresden ...).-- Konrad Neitzel
Re: [gentoo-user] [OT] splitting audio file at points of silence ?
Hi Dale, hi Ashley, thanks for all the help and informations! :) In the meanwhile I found another way to split that file "as is" (flac remains flac) with audacity. Audacity contains a "sound finder" and "silence finder" analysis tool, with which it is possible to set marks/regions in the file, which mark sound and silence. The tools are configurable. This way one can tinker with the parameters until a near perfect match as acchieved and then write out the files with File->Export->Multiple. The visual representation of sound and silence is by far better then test-listening all created files after each iteration with any cli solution. Cheers! Meino On 06/14 09:43, Ashley Dixon wrote: > On Sun, Jun 14, 2020 at 10:19:05AM +0200, tu...@posteo.de wrote: > > Searching the internet for "split audio at silence" and similiar > > gives me this link > > https://unix.stackexchange.com/questions/318164/ > > > > which uses a program called "silence" to detect the silence. > > > > Unfortunately I can't figure out, what package contains that program > > or from where I can download that program. > > There is no binary in Portage providing the binary "silence": > > $ e-file silence > > * net-irc/irssi >Available Versions:1.0.0 1.0.7 1.2.1 1.2.2 >Homepage: https://irssi.org/ >Description: A modular textUI IRC client with IPv6 > support >Matched Files: /usr/share/irssi/help/silence; > > However, there is `mp3splt`, provided in the package > `media-sound/mp3splt`. > It's described in the question provided as a comment to your UNIX S.E.\ > link. > [1] > > > The input audio is a flac file and I don't want to convert this into > > any lossy audio format to preserve as much as possible of the signal. > > mp3splt primarily works with mp3s, but can also support ogg, which can be > a > container format for flac. I've never used it myself, but it looks > promising, > providing you are OK with placing your flacs inside an ogg. > > Hope this helps. > > [1] https://askubuntu.com/questions/27574 > > -- > > Ashley Dixon > suugaku.co.uk > > 2A9A 4117 > DA96 D18A > 8A7B B0D2 > A30E BF25 > F290 A8AA >
Re: [gentoo-user] [OT] splitting audio file at points of silence ?
On Sun, Jun 14, 2020 at 10:19:05AM +0200, tu...@posteo.de wrote: > Searching the internet for "split audio at silence" and similiar > gives me this link > https://unix.stackexchange.com/questions/318164/ > > which uses a program called "silence" to detect the silence. > > Unfortunately I can't figure out, what package contains that program > or from where I can download that program. There is no binary in Portage providing the binary "silence": $ e-file silence * net-irc/irssi Available Versions: 1.0.0 1.0.7 1.2.1 1.2.2 Homepage:https://irssi.org/ Description: A modular textUI IRC client with IPv6 support Matched Files: /usr/share/irssi/help/silence; However, there is `mp3splt`, provided in the package `media-sound/mp3splt`. It's described in the question provided as a comment to your UNIX S.E.\ link. [1] > The input audio is a flac file and I don't want to convert this into > any lossy audio format to preserve as much as possible of the signal. mp3splt primarily works with mp3s, but can also support ogg, which can be a container format for flac. I've never used it myself, but it looks promising, providing you are OK with placing your flacs inside an ogg. Hope this helps. [1] https://askubuntu.com/questions/27574 -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA signature.asc Description: PGP signature
Re: [gentoo-user] [OT] splitting audio file at points of silence ?
tu...@posteo.de wrote: > Hi, > > I want to split an audio file containing crow calls at points > where no crow call is. The "silence" in between is not exactly > "silence" but some low level noise. > > Searching the internet for "split audio at silence" and similiar > gives me this link > https://unix.stackexchange.com/questions/318164/sox-split-audio-on-silence-but-keep-silence > > which uses a program called "silence" to detect the silence. > > Unfortunately I can't figure out, what package contains that program > or from where I can download that program. > > The input audio is a flac file and I don't want to convert this into > any lossy audio format to preserve as much as possible of the signal. > > Where can I get this program ? > > or > > How can I split an audio file at points of defineable > level of "silence" into several audio files in one go? > > > Cheers! > Meino > It doesn't look good. Either it isn't available or no one who has it installed uses pfl. It finds this but I don't think it is what you want. http://www.portagefilelist.de/site/query/listPackageVersions/?category=net-irc=irssi#result Mostly replying so that you can check out the pfl tool. It helps sometimes to find out where a command comes from. It's handy at times. Dale :-) :-)
[gentoo-user] [OT] splitting audio file at points of silence ?
Hi, I want to split an audio file containing crow calls at points where no crow call is. The "silence" in between is not exactly "silence" but some low level noise. Searching the internet for "split audio at silence" and similiar gives me this link https://unix.stackexchange.com/questions/318164/sox-split-audio-on-silence-but-keep-silence which uses a program called "silence" to detect the silence. Unfortunately I can't figure out, what package contains that program or from where I can download that program. The input audio is a flac file and I don't want to convert this into any lossy audio format to preserve as much as possible of the signal. Where can I get this program ? or How can I split an audio file at points of defineable level of "silence" into several audio files in one go? Cheers! Meino
Re: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed
On 2020-06-12 00:43, Jack wrote: On 2020.06.11 18:05, n952162 wrote: On 2020-06-11 23:59, Jack wrote: On 2020.06.11 17:22, n952162 wrote: On 2020-06-11 23:10, n952162 wrote: On 2020-06-11 23:05, Jack wrote: It would really help if you get rid of lots of extraneous messages in the emerge output by reading all the new news items (even if you already read them elsewhere) and finish updating your config files (or deleting the update files if you already updated the actual config files.) The more you can get emerge to stop saying, the easier it is to read what it does say. Okay, I'll give it a try ... actually, I did, back then. I'm not sure why it didn't get marked as read. But I'm really working blind on this machine. I can't see what I type (which is one of the reasons I'm trying to update) - Furthermore, it's in a VM and I don't have X up so I have to put everything in a file and scp it around. Ah, that does make things difficult. I assume you don't have sshd running on that VM. Being able to ssh in to a VM is often very helpful, but you need to have set it up before you have problems. Actually - if you can scp into the VM, you should be able to ssh. Can you? If you, you should be able to do all the edit and emerges that way. That's a great idea that I didn't think of, but the problem is, I'm set up for NAT and as far as I know, you can't ssh in that case ... maybe I could set up some kind of port-forwarding situation, or change my networking type ... I'm not sure which is easiest I hadn't expected that this was going to get this complicated ;- If you can scp you can ssh (or are you running scp from inside the VM?) If so, but sshd is running in the VM, then the trick is to find the right IP address to use to reach the VM. If you ssh from the VM to your working PC, then you should be able to see the IP address it is coming from. As long as it's the VM doing the NAT and the connection is not going through a separate router, you should be OK. The other way is to look at the list of connected devices on the router. You should be able to identify the VM and thus the IP address it is using. I would try a bit more on this ssh approach, but if it doesn't work fairly quickly, I would leave it alone and continue to concentrate on portage, and then upgrading the rest of the system, per Rich's suggestions. I think the problem is, vbox's NAT interface acts as a router, but only uni-directionally. That means, it will establish a "connection" for VM-initiated sessions, but there's no mechanism for establishing a session for external-initiated sessions. Somebody, please correct me if that is wrong or incomplete.