On Wed, 2021-07-21 at 16:16 +0800, Ed Greshko wrote:
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.aupeverything runs as it should. But when attempt to start audacity-2.4 from dolphin clickingdolphin->98.03.14-a.aup->rt-click/Open With->Other Application->audacity-2.4the 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 audacityI get....Last metadata expiration check: 0:02:07 ago on Wed Jul 21 16:11:39 2021.Installed PackagesName : audacityVersion : 3.0.2Release : 3.fc34Architecture : x86_64Size : 43 MSource : audacity-3.0.2-3.fc34.src.rpmRepository : @SystemFrom repo : updatesSummary : Multitrack audio editorLicense : GPLv2Description : 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-3What do you think well happen?[egreshko@meimei ~]$ dnf info audacity-3Last metadata expiration check: 0:03:28 ago on Wed Jul 21 16:11:39 2021.Error: No matching Packages to listCan 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>
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@xxxxxxxxxxx> 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
_______________________________________________ kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure