On 21/07/2021 13:38, Jonathan Ryshpan wrote:
> On Wed, 2021-07-21 at 12:36 +0800, Ed Greshko wrote:
> > On 21/07/2021 10:19, Jonathan Ryshpan wrote:
> > > I have build an old version of audacity (audacity-2.4) from
> > > source and placed the executable in ~/bin. When I start
> > > audacity from the command line (say):
> > > $ audacity-2.4 98.03.14-a.aup
> > > everything runs as it should. But when attempt to start
> > > audacity-2.4 from dolphin clicking
> > > dolphin->98.03.14-a.aup->rt-click/Open With->Other
Application-
> > > >audacity-2.4
> > > the program started is audacity not audacity-2.4 . Similarly
> > > it's not possible to start audacity-2.4 from the Start Button
> > > on the Panel.
> > >
> > > I don't have the problem with xv, which I also build from
> > > source and placed in ~/bin .
> >
> > Did you edit the audacity menu item in the KDE Menu (Lower Left)
> > to point to your version? And, if you had a favorite item
> > defined previously for audacity, did you delete that as well?
>
> I would think that audacity and audacity*-2.4 *are different
> programs, despite the similarity of their names. However if I
> rename audacity-2.4 as fred ($ mv audacity-2.4 fred) things work
> properly.
Let me ask a simple question using my fully updated F30 system as and
exmple.
If I type,
[egreshko@meimei ~]$ dnf info audacity
I get....
Last metadata expiration check: 0:02:07 ago on Wed Jul 21 16:11:39
2021.
Installed Packages
Name : audacity
Version : 3.0.2
Release : 3.fc34
Architecture : x86_64
Size : 43 M
Source : audacity-3.0.2-3.fc34.src.rpm
Repository : @System
From repo : updates
Summary : Multitrack audio editor
URL :
https://www.audacityteam.org/
License : GPLv2
Description : Audacity is a cross-platform multitrack audio editor.
It allows you
: to record sounds directly or to import files in
various formats. It
: features a few simple effects, all of the editing
features you
: should need, and unlimited undo. The GUI was built
with wxWidgets
: and the audio I/O supports PulseAudio, OSS and ALSA
under Linux.
But, if I type,
dnf info audacity-3
What do you think well happen?
[egreshko@meimei ~]$ dnf info audacity-3
Last metadata expiration check: 0:03:28 ago on Wed Jul 21 16:11:39
2021.
Error: No matching Packages to list
Can you imagine why that would be?
Is the -3 part of the program's name? Or part of the version?
The problem appears to be the ".4" in audacity-2.4 . I guess that KDE
thinks it is a type extension like ".txt". Is this a bug or a feature?
In any case, my problem is solved; just call the program audacity-2,
not audacity-2.4 .
An example:
$ type audacity audacity-2.4
audacity is /usr/bin/audacity
audacity-2.4 is /home/jonrysh/bin/audacity-2.4
< audacity cannot be started from the "Start" button.
$ mv bin/audacity-2.4 bin/audacity-2
$ type audacity audacity-2
audacity is /usr/bin/audacity
audacity-2 is /home/jonrysh/bin/audacity-2
<audacity can be started from the start button>
--
Sincerely Jonathan Ryshpan <jonrysh(a)pacbell.net>
Necessity is the excuse for every infringement of
human freedom. It is the argument of the tyrant
and the creed of the slave. -- Wm. Pitt the Elder