dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] ML4W apps are not being installed

Open AllexWasTaken opened this issue 8 months ago • 7 comments

Describe the bug

Apps that were supposed to be installed at installation of dotfiles as well as manually installing each app

Steps to reproduce

the ML4W side app doesn't launch when clicking on the icon searching for the applications using rofi return nothing running the scripts to install the missing applications doesn't work

Expected behavior

applications should be installed at installtion of dotfiles applications should be installed after running the installation scripts for each missing app

Screenshots

No response

Distribution

Other (please specify below)

If Other, specify

Fedora 42

Additional context

rerunning the installation scripts is ineffective

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

AllexWasTaken avatar May 28 '25 16:05 AllexWasTaken

For me it helped running "ml4w-hyprland-setup -m update", does that work for you?

CommandCrafterx avatar May 29 '25 11:05 CommandCrafterx

Are the apps listed in your application launcher?

mylinuxforwork avatar May 29 '25 15:05 mylinuxforwork

no, re-attempting to install dotfies doesn't solve the problem

Did you run the exact command Like I said? Normal reinstalling with the normal Script also didnt work for me.

CommandCrafterx avatar May 29 '25 18:05 CommandCrafterx

I think I have the same issue. Applications show up. They are starting but only a black frame gets displayed. There seem to be missing some themes under ~/.config/waybar/themes/

SauerkrautSundae avatar May 30 '25 07:05 SauerkrautSundae

no, re-attempting to install dotfiles doesn't install the missing apps even if i run the command multiple times

AllexWasTaken avatar May 30 '25 16:05 AllexWasTaken

Are the apps listed in your application launcher?

no, the apps aren't listed on my app launcher

AllexWasTaken avatar May 30 '25 16:05 AllexWasTaken

no, re-attempting to install dotfies doesn't solve the problem

Did you run the exact command Like I said? Normal reinstalling with the normal Script also didnt work for me.

yeah, copied and pasted it

AllexWasTaken avatar May 30 '25 16:05 AllexWasTaken

Are the apps listed in your application launcher?

no, the apps aren't listed on my app launcher

Do you have curl installed on your system?

mylinuxforwork avatar Jun 03 '25 19:06 mylinuxforwork

yes, curl was installed on my system

AllexWasTaken avatar Jun 03 '25 19:06 AllexWasTaken

I will prepare something and come nack to you later for another test.

mylinuxforwork avatar Jun 04 '25 04:06 mylinuxforwork

@AllexWasTaken @CommandCrafterx Let's test with the Welcome App.

Can you run the following command in your terminal:

bash -c "$(curl -s https://raw.githubusercontent.com/mylinuxforwork/dotfiles-welcome/master/setup.sh)"

Then enter the following command to start the app

flatpak run com.ml4w.welcome

Please check also if the Welcome App is listed in your Apps Launcher.

mylinuxforwork avatar Jun 04 '25 06:06 mylinuxforwork

@AllexWasTaken @CommandCrafterx Let's test with the Welcome App.

Can you run the following command in your terminal:

bash -c "$(curl -s https://raw.githubusercontent.com/mylinuxforwork/dotfiles-welcome/master/setup.sh)"

Then enter the following command to start the app

flatpak run com.ml4w.welcome

Please check also if the Welcome App is listed in your Apps Launcher.

It works, the apps are now being installed correctly.

CommandCrafterx avatar Jun 06 '25 12:06 CommandCrafterx

Great. Thanks for testing

mylinuxforwork avatar Jun 06 '25 18:06 mylinuxforwork

the commands does install the ML4W welcome app but, dotfiles and hyprland settings option do not function also, the side bar icon doesn't function

AllexWasTaken avatar Jun 07 '25 17:06 AllexWasTaken

Yes. That’s correct. Was just a test to confirm that the welcome app is now installing correctly.

I have already updated the setup.sh script for all apps. You can install all apps manually if you don’t want to wait for a dotfiles update.

https://github.com/mylinuxforwork/dotfiles-sidebar

https://github.com/mylinuxforwork/dotfiles-settings

https://github.com/mylinuxforwork/dotfiles-calendar

mylinuxforwork avatar Jun 07 '25 18:06 mylinuxforwork

I just installed this on a fresh Fedora 42 install and the ml4w apps weren't installing for me either. I ran the above scripts and this is my output.

Only theory I have, is this is that these apps aren't supported on ARM?

bash-5.2$ bash -c "$(curl -s https://raw.githubusercontent.com/mylinuxforwork/dotfiles-welcome/master/setup.sh)"
:: Adding flathub
:: Downloading Public Key
Saving '/home/x/.cache/ml4w-apps-public-key.asc'
HTTP response 200  [https://mylinuxforwork.github.io/ml4w-flatpak-repo/ml4w-apps-public-key.asc]
ml4w-apps-public-key 100% [=======================================================================>]    3.08K    --.-KB/s
                          [Files: 1  Bytes: 3.08K [8.61KB/s] Redirects: 0  Todo: 0  Errors: 0      ]
:: Adding ml4w-repo
:: Installing com.ml4w.welcome
Looking for matches…
error: Nothing matches com.ml4w.welcome in remote ml4w-repo

:: Setup complete. Run the app with flatpak run com.ml4w.welcome
bash-5.2$ flatpak run com.ml4w.welcome
error: app/com.ml4w.welcome/aarch64/master not installed

italiczx avatar Jun 29 '25 05:06 italiczx

Thanks for your feedback. I will test today on Fedora 43.

mylinuxforwork avatar Jun 29 '25 07:06 mylinuxforwork

I just installed this on a fresh Fedora 42 install and the ml4w apps weren't installing for me either. I ran the above scripts and this is my output.

Only theory I have, is this is that these apps aren't supported on ARM?

bash-5.2$ bash -c "$(curl -s https://raw.githubusercontent.com/mylinuxforwork/dotfiles-welcome/master/setup.sh)"
:: Adding flathub
:: Downloading Public Key
Saving '/home/x/.cache/ml4w-apps-public-key.asc'
HTTP response 200  [https://mylinuxforwork.github.io/ml4w-flatpak-repo/ml4w-apps-public-key.asc]
ml4w-apps-public-key 100% [=======================================================================>]    3.08K    --.-KB/s
                          [Files: 1  Bytes: 3.08K [8.61KB/s] Redirects: 0  Todo: 0  Errors: 0      ]
:: Adding ml4w-repo
:: Installing com.ml4w.welcome
Looking for matches…
error: Nothing matches com.ml4w.welcome in remote ml4w-repo

:: Setup complete. Run the app with flatpak run com.ml4w.welcome
bash-5.2$ flatpak run com.ml4w.welcome
error: app/com.ml4w.welcome/aarch64/master not installed

Can you try to run the setup again?

mylinuxforwork avatar Jun 29 '25 07:06 mylinuxforwork

I just installed this on a fresh Fedora 42 install and the ml4w apps weren't installing for me either. I ran the above scripts and this is my output. Only theory I have, is this is that these apps aren't supported on ARM?

bash-5.2$ bash -c "$(curl -s https://raw.githubusercontent.com/mylinuxforwork/dotfiles-welcome/master/setup.sh)"
:: Adding flathub
:: Downloading Public Key
Saving '/home/x/.cache/ml4w-apps-public-key.asc'
HTTP response 200  [https://mylinuxforwork.github.io/ml4w-flatpak-repo/ml4w-apps-public-key.asc]
ml4w-apps-public-key 100% [=======================================================================>]    3.08K    --.-KB/s
                          [Files: 1  Bytes: 3.08K [8.61KB/s] Redirects: 0  Todo: 0  Errors: 0      ]
:: Adding ml4w-repo
:: Installing com.ml4w.welcome
Looking for matches…
error: Nothing matches com.ml4w.welcome in remote ml4w-repo

:: Setup complete. Run the app with flatpak run com.ml4w.welcome
bash-5.2$ flatpak run com.ml4w.welcome
error: app/com.ml4w.welcome/aarch64/master not installed

Can you try to run the setup again?

The entire dotfiles setup or just the above command again? Ran the command and had the same output as above.

italiczx avatar Jun 29 '25 07:06 italiczx

Just installed the rolling release on Fedora 43 with Gnome. No issues.

Can you try again and select rolling release?

mylinuxforwork avatar Jun 29 '25 11:06 mylinuxforwork

Just installed the rolling release on Fedora 43 with Gnome. No issues.

Can you try again and select rolling release?

I just installed Arch on my laptop and ran into this issue. The apps were not installing, so I ran the update command given in this thread "ml4w-hyprland-setup -m update". This installed the apps, but they seem to be none functional.

I decided to run the app through terminal to see if any errors pop up and got the following, when I tried to activate waybar :

flatpak run com.ml4w.welcome
ERROR: Could not read the file ~/.config/ml4w/version/name
ERROR: Could not read the file ~/.config/ml4w/settings/dotfiles-folder.sh
Traceback (most recent call last):
  File "/app/share/dotfiles-settings/dotfiles_settings/main.py", line 101, in do_activate
    self.win = DotfilesSettingsWindow(application=self)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/share/dotfiles-settings/dotfiles_settings/window.py", line 138, in __init__
    v = self.loadSettingBash(k + ".sh")
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/share/dotfiles-settings/dotfiles_settings/window.py", line 207, in loadSettingBash
    with open(self.dotfiles + "ml4w/settings/" + f, 'r') as file:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/loai/.config/ml4w/settings/waybar_timeformat.sh'
Traceback (most recent call last):
  File "/app/share/dotfiles-settings/dotfiles_settings/main.py", line 469, in on_waybar_toggle
    file = open(self.homeFolder + "/.config/ml4w/settings/waybar-disabled", "w+")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/loai/.config/ml4w/settings/waybar-disabled'

The dotfiles seem to be missing, even though the install script gave the following results :

:: The script will now remove existing directories and files from ~/.config/
:: and copy your prepared configuration from /root/.ml4w-hyprland/2.9.8.6 to ~/dotfiles-mine

:: Symbolic links will then be created from ~/dotfiles-mine into your ~/.config/ directory.

:: PLEASE BACKUP YOUR EXISTING CONFIGURATIONS in .config IF NEEDED!

:: SUCCESS - All files from /root/.ml4w-hyprland/2.9.8.6/ to ~/dotfiles-mine/ copied.

Checking the folders I can see the following :

sudo ls ~/.config
com.ml4w.dotfilesinstaller  go	    pulse	    user-dirs.locale
com.ml4w.hyprlandsettings   hypr     session	    yay
dconf			   kde.org  systemd
dolphinrc		   kitty    user-dirs.dirs

The "/root/.ml4w-hyprland/2.9.8.6/" file is empty. I checked it with the installer open right after I got the success msg.

Apologies for the huge dump. This is my first Linux install and I chose to go with ML4W, since it looks amazing. I hope I can get some help to get it going.

Meliods23 avatar Jul 01 '25 08:07 Meliods23

Can you please try the installation command for Arch from here https://mylinuxforwork.github.io/dotfiles/ And select rolling release to install the latest commit for 2.9.8.7?

mylinuxforwork avatar Jul 01 '25 10:07 mylinuxforwork

Can you please try the installation command for Arch from here https://mylinuxforwork.github.io/dotfiles/ And select rolling release to install the latest commit for 2.9.8.7?

I attempted both multiple times, with the rolling release and the main one. Both didn´t work. I chose to try re-installing arch to see if it would work and this time the install worked perfect. I´m not sure if this is the reason or not, but this time I installed arch without giving my home director a separate partition.

Meliods23 avatar Jul 02 '25 01:07 Meliods23

This could be the reason. Thank you very much for testing. What was the path with your home on a seperate partition?

mylinuxforwork avatar Jul 02 '25 07:07 mylinuxforwork

This could be the reason. Thank you very much for testing. What was the path with your home on a seperate partition?

I just mounted the partition to "/home" in the arch installer.

Meliods23 avatar Jul 03 '25 06:07 Meliods23