Howto: Popular AppImages one click away

Post tutorials, HOWTO's and other useful resources here.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#211 by Rava » 28 Sep 2022, 05:44

Now one question remains: How can audacity be convinced to use a different coloured GUI than the bright one?
must the ./audacity-linux-3.2.0-x64.AppImage be hacked?

While it can be switched in Preferences Interface from "light" to "dark", that is only for the main window.
All the menus and "side/settings" windows are still "light":
Image
:wall:

Added in 9 minutes 41 seconds:
Same with high contrast:
Image
:cry:
Last edited by Rava on 28 Sep 2022, 07:22, edited 2 times in total.
Cheers!
Yours Rava

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Howto: Popular AppImages one click away

Post#212 by gnintilgyes » 28 Sep 2022, 07:24

ncmprhnsbl wrote:
28 Sep 2022, 05:29
gnintilgyes wrote:
28 Sep 2022, 03:00
There's a new version of Audacity available, v3.2 which claims to have VST3 plug-in support, pretty heady I say. Will have to test it although I don't like that format LOL, I prefer the older VST2 and 32-bit for my music creation. That's what works best with Wine anyway.
needs libthai to run : libthai-0.1.28-x86_64-2smt.txz
Thank you for this. One more module to create and load. If I were less tolerant I would have stuck with the older version of AppImage which didn't need anything else. :/

Probably the funky visuals aren't a "hack", just a vain attempt to make the program look less like it did ten years back, or earlier.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#213 by Rava » 28 Sep 2022, 07:33

There is a thing called Arc-DarK theme (Arc-Dark with DarK icons) but unfortunately, I have no clue how one does install it. :cry:
In the thread https://forum.audacityteam.org/viewtopi ... 24#p421814 there are screenshots, and it looks just like I want my audacity to look like, but since the registration email for https://forum.audacityteam.org never arrived (usually my email provider receives such emails instantaneously or it takes at most 30 seconds) [yes, I also checked the Spam folder; I also instructed forum.audacityteam to resend the email, to no avail] I could not ask in forum.audacityteam.
Hopefully on here someone knows how one does install such thing in audacity?
Cheers!
Yours Rava

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Howto: Popular AppImages one click away

Post#214 by M. Eerie » 28 Sep 2022, 09:05

See the Audacity's Wiki theming section...
Create a folder called "Theme" (without the quotes) in Audacity's folder for application data then place your modified .png file in there. Your modified file must be named ImageCache.png (otherwise it won't be found by Audacity.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#215 by Rava » 28 Sep 2022, 10:04

^
thanks. Currently on my i586 machine with Port 4.0 (kernel from Port 3.1) . I will do it later.
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Howto: Popular AppImages one click away

Post#216 by beny » 28 Sep 2022, 17:12

hi Rava if you choose the adwaita dark theme or another dark theme you have all the menu in dark mode also in audacity try or install it

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#217 by Rava » 28 Sep 2022, 17:28

@beny
I use Adwaita-dark theme, and all programs display menus and such nice dark, but not Audacity.
Now I am back on the x86-64 machine (I had some internet issues so it took me longer to be back on here than anticipated) - now I try M. Eerie's tip with creating a folder called "Theme" in Audacity's folder and safe the PNG as ImageCache.png … and report back if it worked.

Added in 16 minutes 42 seconds:

Code: Select all

guest@porteus:/$ ls -o  ~/.config/audacity/Theme/ImageCache.png
-rw-r--r-- 1 guest 82831 2022-09-28 09:19 /home/guest/.config/audacity/Theme/ImageCache.png
As you can see, I put the file in the folder Theme as ImageCache.png - and choose "dark" or "Custom", but to no prevail - it looks just like it did in my screenshots above.
I will look into the wiki as quoted by M. Eerie if there is a mention if it makes a difference if you use an AppImage or a regular installed package when using a custom colour theme.
Cheers!
Yours Rava

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Howto: Popular AppImages one click away

Post#218 by gnintilgyes » 29 Sep 2022, 03:32

It needs to be instead in "/home/guest/.audacity-data". I'm not sure, there should be two directories with ".audacity" in the name, the longer of the two.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#219 by Rava » 29 Sep 2022, 04:49

^
After I started audacity-linux-3.2.0-x64.AppImage there was only one audacity folder in guest's ~ :

Code: Select all

guest@porteus:~$ ls .audacity*
/bin/ls: cannot access '.audacity*': No such file or directory
guest@porteus:~$ ls -d .config/audacity*
.config/audacity
guest@porteus:~$ ls -d .config/.audacity*
/bin/ls: cannot access '.config/.audacity*': No such file or directory
I try creating folders ~/.audacity-data/Theme …

Added in 3 minutes 20 seconds:
Done: (again /welt/ is a local symlink, that will not work on your system)

Code: Select all

guest@porteus:~$ mkdir -p ~/.audacity-data/Theme
guest@porteus:~$ cp /welt/programmieren/ArcDark_Audacity2022-04-20.png ~/.audacity-data/Theme/ImageCache.png
guest@porteus:~$ l ~/.audacity-data/Theme/ImageCache.png 
-rw-r--r-- 1 guest 82831 2022-09-28 09:19 /home/guest/.audacity-data/Theme/ImageCache.png
and started audacity-linux-3.2.0-x64.AppImage - and it did not work as well.

Now I try instead of ~/.audacity-data/Theme/ImageCache.png ~/.config/audacity-data/Theme/ImageCache.png …

Added in 9 minutes 9 seconds:
Interestingly enough, this time there already is a ~/.config/audacity-data/ folder (probably because I changed the interface settings in audacity-linux-3.2.0-x64.AppImage):

Code: Select all

guest@porteus:~$ mv ~/.audacity-data/ .config/audacity-data/
guest@porteus:~$ l .config/audacity-data/
Macros/             audacity.cfg        pluginregistry.cfg
Plug-Ins/           crashreports/       pluginsettings.cfg
Theme/              lastlog.txt         
guest@porteus:~$ l .config/audacity-data/Theme/
total 84
drwxr-xr-x 3 guest    80 2022-09-29 06:50 .
drwxr-xr-x 6 guest   200 2022-09-29 06:51 ..
-rw-r--r-- 1 guest 82831 2022-09-28 09:19 ImageCache.png
drwxr-xr-x 2 guest    40 2022-09-29 06:50 custom
but… it still would not work. Whyyyy? :cry:
Seems /home/guest/.config/audacity-data/Theme/ImageCache.png is also not correct. :crazy:

Added in 6 minutes 48 seconds:
I checked both https://wiki.audacityteam.org/wiki/Theming_HowTo and https://manual.audacityteam.org/man/pre ... tml#stored
In https://manual.audacityteam.org/man/pre ... tml#stored it claims

Code: Select all

You can find audacity.cfg inside Audacity's folder for application data as follows: 
[…]
 Linux: ~/.audacity-data/
No, that is not correct on my system.
The saved audacity.cfg is not in ~/.audacity-data/audacity.cfg but in ~/.config/audacity-data/audacity.cfg :

Code: Select all

guest@porteus:~$ l ~/.config/audacity-data/audacity.cfg 
-rw-r--r-- 1 guest 6168 2022-09-29 06:51 /home/guest/.config/audacity-data/audacity.cfg
Maybe they changed some details and now what it says in its https://wiki.audacityteam.org/ and/or https://manual.audacityteam.org/ is outdated?

Did anyone of you manage to get a custom colours scheme working in audacity-linux-3.2.0-x64.AppImage ?
If so, where is your audacity.cfg located?


Added in 4 minutes 50 seconds:
I wish my registration of the account on https://forum.audacityteam.org would work… but letting forum.audacityteam.org resend my conformation email when 2 of these did never arrive seems futile. :(
Cheers!
Yours Rava

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Howto: Popular AppImages one click away

Post#220 by gnintilgyes » 29 Sep 2022, 05:30

/home/guest/.audacity-data/Theme/custom/ImageCache.png

That's how I have it on my system. Porteus v5 MATE.

Screenshot below is from Manjaro MATE, but it has the directory of my Porteus installation:
Image

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#221 by Rava » 29 Sep 2022, 05:32

^
ahhh
audacity-data/Theme/custom/ImageCache.png and not audacity-data/Theme/ImageCache.png

I try once again…
Cheers!
Yours Rava

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Howto: Popular AppImages one click away

Post#222 by gnintilgyes » 29 Sep 2022, 05:37

I was going to add to my previous post that my whole configuration for Audacity was put in "/home/guest/.audacity-data" and not in "/home/guest/.config". Double-checked to make sure.
There was also a "/home/guest/.audacity" but there is only one directory there for "crash reports". It seems this new version of Audacity put the "crash reports" with the other directories in the config LOL.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#223 by Rava » 29 Sep 2022, 05:46

I think it differs slightly between DEs. In XFCE at least the audacity config audacity.cfg is saved as /home/guest/.config/audacity/audacity.cfg and not as /home/guest/.audacity-data/audacity.cfg

Interestingly enough, now I have two audacity.cfg but only one gets updated:

Code: Select all

guest@porteus:~/.config/audacity-data$ l /home/guest/.config/audacity-data/audacity.cfg /home/guest/.config/audacity/audacity.cfg 
-rw-r--r-- 1 guest 6168 2022-09-29 06:51 /home/guest/.config/audacity-data/audacity.cfg
-rw-r--r-- 1 guest 6161 2022-09-29 07:34 /home/guest/.config/audacity/audacity.cfg
Therefore I presume my config folder should be /home/guest/.config/audacity/ and so the custom themes should be in /home/guest/.config/audacity/Theme/custom/ImageCache.png

For now I quit audacity, remove all previous audacity config folders, start audacity anew and look what gets created anew and work from there…

Added in 10 minutes 53 seconds:
After starting and exiting audacity anew:

Code: Select all

guest@porteus:~$ l .audacity*
/bin/ls: cannot access '.audacity*': No such file or directory
guest@porteus:~$ echo .config/audacity*
.config/audacity
guest@porteus:~$ l .config/audacity*
total 56
drwxr-xr-x  2 guest   100 2022-09-29 07:47 .
drwxr-xr-x 44 guest   500 2022-09-29 07:46 ..
-rw-r--r--  1 guest  6161 2022-09-29 07:47 audacity.cfg
-rw-r--r--  1 guest 41215 2022-09-29 07:46 pluginregistry.cfg
-rw-r--r--  1 guest    26 2022-09-29 07:46 pluginsettings.cfg
I created the folders accordingly and copied the png file and even checked the png with my image viewer viewnior

Code: Select all

guest@porteus:~$ mkdir -p .config/audacity/Theme/custom/
guest@porteus:~$ cp /welt/programmieren/ArcDark_Audacity2022-04-20.png .config/audacity/Theme/custom/ImageCache.png
guest@porteus:~$ l .config/audacity/Theme/custom/ImageCache.png
-rw-r--r-- 1 guest 82831 2022-09-28 09:19 .config/audacity/Theme/custom/ImageCache.png
guest@porteus:~$ viewnior .config/audacity/Theme/custom/ImageCache.png
Still, it would not work.

Why?
Obviously, on my system audacity uses ~/.config/audacity/ to store its settings:

Code: Select all

guest@porteus:~$ l ~/.config/audacity/audacity.cfg 
-rw-r--r-- 1 guest 6161 2022-09-29 07:52 /home/guest/.config/audacity/audacity.cfg
Added in 21 minutes 32 seconds:
As you can see, there are no
/home/guest/.audacity
nor
/home/guest/.audacity-data
nor
/home/guest/.config/audacity-data

but only
/home/guest/.config/audacity/

When I move /home/guest/.config/audacity/ to /home/guest/.audacity-data/ it at least loads the custom theme, but still gets the menus and sub-windows wrong.
Most probably these error messages at startup of audacity give a hint

Code: Select all

(process:8570): GdkPixbuf-CRITICAL **: 08:13:19.903: gdk_pixbuf_new_from_data: assertion 'data != NULL' failed

(process:8570): Gdk-CRITICAL **: 08:13:19.903: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(process:8570): Gdk-CRITICAL **: 08:13:19.903: IA__gdk_drawable_get_display: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(process:8570): Gdk-CRITICAL **: 08:13:19.903: IA__gdk_cursor_new_from_pixbuf: assertion 'GDK_IS_DISPLAY (display)' failed

(process:8570): GLib-GObject-CRITICAL **: 08:13:19.903: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Maybe it's because I use XFCE 4.12 and not the more current 4.16…

Or do you folks get similar error messages when you start up the AppImage (via terminal, or else you would not see any messages)

Added in 16 minutes 53 seconds:
Aside from the menus and sub-windows still all be in light theme… the custom theme "ArcDark_Audacity2022-04-20.png" (when saved with the appropriate file name and path) is still messed up:

I highlighted with the red outline box the messed up icons:
Image
As you can see, it is indeed the "ArcDark_Audacity2022-04-20.png" theme, but messed up…

And this is the same with a sub-window:
Image

Compared to the internal dark theme:
Image
that also gets the menus and sub-windows wrong, but at least the theme itself is not messed up.

Most probably sometimes I will deactivate my xfce-4.12 module and use the standard xfce one which is 4.16 and try again. Then I see if my presumption of XFCE 4.12 being responsible was accurate or not.
I will not use a different DE just for audacity to get the menus or sub-windows correct. That would be utter madness. :crazy:
Cheers!
Yours Rava

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Howto: Popular AppImages one click away

Post#224 by gnintilgyes » 29 Sep 2022, 19:05

Rava wrote:
29 Sep 2022, 06:35
When I move /home/guest/.config/audacity/ to /home/guest/.audacity-data/ it at least loads the custom theme, but still gets the menus and sub-windows wrong.
It's not any different from me. The toolbars are messed up. It means the "skinning" feature of Audacity isn't ready yet.

We might have to be able to join their forum to get a different PNG file. But LOL you want to belong there so much while you're so important here! :D

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Howto: Popular AppImages one click away

Post#225 by Rava » 29 Sep 2022, 19:22

gnintilgyes wrote:
29 Sep 2022, 19:05
We might have to be able to join their forum to get a different PNG file. But LOL you want to belong there so much while you're so important here! :D
I would only be there to solve my skin issue or at least report the issue and hopefully it can be solved…
But I would only be there on rare occasions, I also am on palemoon forum or linuxquestions forum, but mainly I am on https://forum.porteus.org and I am sure to stay, Porteus is my OS and therefore here is my main base. :)
gnintilgyes wrote:
29 Sep 2022, 19:05
you want to belong there so much
Like I said, I only want to solve one specific issue… and it is annoying when registering on a forum will not work. That goes against the very idea why there is a forum in the first place.
Cheers!
Yours Rava

Post Reply