No menu application after update

Forum Forums Official Releases antiX-21/22 “Grup Yorum” No menu application after update

  • This topic has 8 replies, 4 voices, and was last updated Apr 22-10:01 am by Lead Farmer.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #105044
    Member
    Lead Farmer

      Every time I update Brave browser in get this massage and I do desktop-menu –write-out-global after the update. but this time I got an error, and the menu applications is not showing.

      ~> desktop-menu --write-out-global
      Writing Menu: icewm
      Traceback (most recent call last):
        File "/usr/local/bin/desktop-menu", line 457, in <module>
          build_menu()
        File "/usr/local/bin/desktop-menu", line 287, in build_menu
          text = open((USER_HOME+"/"+Var.Conf_Dir+"/"+Var.App_File), "w")
      PermissionError: [Errno 13] Permission denied: '/usr/share/desktop-menu//.icewm/menu-applications'

      EDIT:
      adding a sudo fix it

      sudo desktop-menu --write-out-global

      • This topic was modified 1 week, 6 days ago by Lead Farmer.
      • This topic was modified 1 week, 6 days ago by Lead Farmer.
      #105049
      Forum Admin
      rokytnji
        Helpful
        Up
        0
        ::

        Permission denied

        Was why sudo was needed. /usr/local/bin files are not user writeable

        harry@scooter:/usr/local/bin
        $ ls -l
        total 11540
        -rwxr-xr-x 1 root root    1801 Jun  3  2014 add-desktop
        -rwxr-xr-x 1 root root   17280 Aug  9  2020 add-key
        -rwxr-xr-x 1 root root    3370 Sep 27  2017 alsa-set-default-card
        -rwxr-xr-x 1 root root     158 Jun 17  2015 amz
        -rwxr-xr-x 1 root root    5611 Jun  3  2020 android-device-usb-connect.sh
        -rwxr-xr-x 1 root root     166 May 10  2014 ansi-bars
        -rwxr-xr-x 1 root root     792 May 10  2014 ansi-colors
        -rwxr-xr-x 1 root root     420 May 10  2014 ansi-tput
        -rwxr-xr-x 1 root root     124 Jul 18  2021 antix
        -rwxr-xr-x 1 root root    1320 Aug 22  2019 antixccgrub.sh
        -rwxr-xr-x 1 root root   20504 Feb  9 09:32 antixcc.sh
        -rwxr-xr-x 1 root root   17792 Jun 23  2020 antiX-cli-cc
        -rwxr-xr-x 1 root root     767 Jul 18  2021 antiX-FileManager.sh
        -rwxr-xr-x 1 root root    2856 Feb 24 08:16 antix_firewall_toggle
        -rwxr-xr-x 1 root root     276 Apr 20  2014 antiX-paste
        -rwxr-xr-x 1 root root    5442 Oct 12  2021 antixscreenshot
        -rwxr-xr-x 1 root root  182753 Dec 21 11:28 antixscreenshot2
        -rwxr-xr-x 1 root root    5442 Oct 12  2021 antixscreenshot.sh
        -rwxr-xr-x 1 root root   23108 Jul 18  2021 antix-wifi-switch
        -rwxr-xr-x 1 root root    5213 Mar  6 15:00 antiX-workspace-manager
        -rwxr-xr-x 1 root root   22208 Mar  6 16:46 app-select
        -rwxr-xr-x 1 root root     195 Jan 25  2021 archive-create.sh
        -rwxr-xr-x 1 root root     237 Jan 25  2021 archive-extract.sh
        -rwxr-xr-x 1 root root    1733 Jun 17  2017 automount-antix
        -rwxr-xr-x 1 root root    7101 Mar  9 17:54 automount-config
        -rwxr-xr-x 1 root root    7208 Feb  4  2021 autoscale-antix
        -rwxr-xr-x 1 root root   19490 Jun 15  2019 backlight-brightness
        -rwxr-xr-x 1 root root   10186 Aug 24  2022 block-advert.sh
        -rwxr-xr-x 1 root root     800 Jul 18  2021 boot-log
        -rwxr-xr-x 1 root root    7053 Jun 28  2016 BroadcomStartup
        -rwxr-xr-x 1 root root    1513 Jun 19  2009 burniso
        -rwxr-xr-x 1 root root    6340 Oct  3  2021 check-lang-support
        -rwxr-xr-x 1 root root   28234 Nov 25  2019 chroot-rescue
        -rwxr-xr-x 1 root root   31570 Feb 28 12:45 chroot-rescue-scan
        lrwxrwxrwx 1 root root      18 Apr  7 05:32 chroot-rescue-select -> chroot-rescue-scan
        lrwxrwxrwx 1 root root       8 Jan 13  2020 clean-isomount -> isomount
        -rwxr-xr-x 1 root root   86462 Oct 13  2021 cli-aptiX
        -rwxr-xr-x 1 root root   19148 Aug 10  2022 cli-installer
        -rwxr-xr-x 1 root root     791 Mar 22  2016 colorview
        -rwxr-xr-x 1 root root    6552 Apr 19  2016 conky-colors
        -rwxr-xr-x 1 root root     367 Jul 10  2012 conkytoggle.sh
        -rwxr-xr-x 1 root root    3257 Feb  2  2014 connectshares
        -rwxr-xr-x 1 root root    2992 Feb  1  2014 connectshares-config
        -rwxr-xr-x 1 root root    9027 Feb  1  2014 connectshares-config.sh
        -rwxr-xr-x 1 root root   14221 Feb 22  2022 connectshares.sh
        -rwxr-xr-x 1 root root     348 Jun 21  2019 connmanctl
        -rwxr-xr-x 1 root root    6049 Jun 15  2019 console-font-select
        -rwxr-xr-x 1 root root   11943 Jun 15  2019 console-width-select
        -rwxr-xr-x 1 root root    1295 Aug  5  2022 createdesktopicon
        -rwxr-xr-x 1 root root     113 Jun 17  2015 ddg
        -rwxr-xr-x 1 root root   12058 Oct 23  2019 dd-live-usb
        -rwxr-xr-x 1 root root    3188 Jul 18  2021 desktop-defaults-run
        -rwxr-xr-x 1 root root   20879 Nov  6 11:01 desktop-defaults-set
        -rwxr-xr-x 1 root root    2840 Jan 30  2021 desktop-defaults-set-new
        -rwxr-xr-x 1 root root   19274 Jun  9  2022 desktop-menu
        -rwxr-xr-x 1 root root    1264 Jan 30  2021 desktop-menu-places
        -rwxr-xr-x 1 root root   18946 Apr 19 15:37 desktop-session
        -rwxr-xr-x 1 root root    1477 Feb 16  2019 desktop-session-exit
        -rwxr-xr-x 1 root root    6786 Mar 12 13:15 desktop-session-wallpaper
        -rwxr-xr-x 1 root root    7118 Dec 16  2020 desktop_tool.py
        -rwxr-xr-x 1 root root      53 Sep 25  2021 detect-init.sh
        lrwxrwxrwx 1 root root       8 Jan 13  2020 dfh -> isomount
        lrwxrwxrwx 1 root root       8 Jan 13  2020 dfh-watch -> isomount
        -rwxr-xr-x 1 root root     136 Jun 17  2015 dict-search
        -rwxr-xr-x 1 root root    2990 Feb  1  2014 disconnectshares
        -rwxr-xr-x 1 root root    5444 Feb  1  2014 disconnectshares.sh
        -rwxr-xr-x 1 root root   43603 Oct 12  2020 droopy
        -rwxr-xr-x 1 root root    6429 Nov  7  2016 droopy.sh
        -rwxr-xr-x 1 root root    5929 Mar 14 05:05 ds-mouse
        -rwxr-xr-x 1 root root   20074 Mar  5 04:41 ds-mouse.py
        -rwxr-xr-x 1 root root     723 Sep  8  2011 du-excludes
        -rwxr-xr-x 1 root root     264 Oct 10  2013 edit-as-root.sh
        -rwxr-xr-x 1 root root     907 Mar  9  2017 encrypt-antix
        -rwxr-xr-x 1 root root    3625 May 19  2021 env-info
        -rw-r--r-- 1 root root   16338 Jan 25  2021 fancy-prompts.bash
        -rw-r--r-- 1 root root   15841 Jan 25  2021 fancy-prompts.zsh
        -rwxr-xr-x 1 root root    1203 Nov 19  2016 fbxkb-start
        -rwxr-xr-x 1 root root   20528 Feb 22  2022 findshares
        -rwxr-xr-x 1 root root     192 Apr  7  2021 fstrim-antix
        -rwxr-xr-x 1 root root 8210397 May 28  2021 gdrive
        -rwxr-xr-x 1 root root      89 Oct 15  2022 gen-genericmenu
        -rwxr-xr-x 1 root root     101 Oct 14  2022 gen-longmenu
        -rwxr-xr-x 1 root root     173 Jun 17  2015 gf
        -rwxr-xr-x 1 root root     114 Jun 17  2015 gg
        -rwxr-xr-x 1 root root    3049 Dec  3  2015 guess-hwclock
        -rwxr-xr-x 1 root root   22600 Mar 21 14:42 icewm-manager-gui
        -rwxr-xr-x 1 root root    4288 Dec 30  2020 icewm-menu-Desktop.sh
        -rwxr-xr-x 1 root root    1106 Sep 20  2019 icewm-menu-drives.sh
        -rwxr-xr-x 1 root root    4555 Nov  8 09:33 icewm-menu-recentfiles.sh
        -rwxr-xr-x 1 root root   15724 Feb 24 08:27 icewm-quick-personal-menu-manager
        -rwxr-xr-x 1 root root    6367 Mar  6 15:01 icewm-remember-settings
        -rwxr-xr-x 1 root root   16287 Mar  6 15:02 icewm-toolbar-icon-manager
        -rwxr-xr-x 1 root root     132 Jun 20  2011 id_version
        -rwxr-xr-x 1 root root     117 Jun 17  2015 imdb
        -rwxr-xr-x 1 root root     420 Jun 17  2015 imdb-disc
        -rwxr-xr-x 1 root root     116 Jun 17  2015 imdbe
        -rwxr-xr-x 1 root root   17795 Apr 28  2021 inxi-gui
        -rwxr-xr-x 1 root root   62019 Oct 23  2019 isomount
        lrwxrwxrwx 1 root root       8 Jan 13  2020 isoumount -> isomount
        -rwxr-xr-x 1 root root    5515 Mar 31  2019 jwm-icon-paths
        -rwxr-xr-x 1 root root     625 Mar 31  2019 jwm-set-theme
        -rwxr-xr-x 1 root root      93 Mar 30  2019 jwm-update-components
        -rwxr-xr-x 1 root root     200 Mar 13  2018 lh-mouse
        -rwxr-xr-x 1 root root     194 Oct 11  2014 li
        -rwxr-xr-x 1 root root   16815 Jan  1 12:33 live-grubsave
        -rwxr-xr-x 1 root root   44737 Feb 28 04:33 live-kernel-updater
        -rwxr-xr-x 1 root root   27625 Mar 15  2022 live-remaster
        -rwxr-xr-x 1 root root  122503 Feb 25 11:45 live-usb-maker
        -rwxr-xr-x 1 root root   30367 Jun 18  2022 locale-antix
        -rwxr-xr-x 1 root root    9977 Sep 16  2021 login-config-antix
        -rwxr-xr-x 1 root root    8547 Aug 23  2021 menu_manager_applications.sh
        -rwxr-xr-x 1 root root   22495 Aug 23  2021 menu_manager_personal.sh
        -rwxr-xr-x 1 root root   14525 Aug 23  2021 menu_manager.sh
        -rwxr-xr-x 1 root root    2510 Apr 14  2021 mountbox.sh
        -rwxr-xr-x 1 root root     382 Apr  7  2016 mount-media
        -rwxr-xr-x 1 root root     149 Jul 28  2017 mpv
        -rwxr-xr-x 1 root root     129 Jul 15  2019 mx
        -rwxr-xr-x 1 root root     185 Oct 25  2019 my_installed_debs
        -rwxr-xr-x 1 root root    1247 Apr 18  2014 netpro
        -rwxr-xr-x 1 root root     431 Jan  8  2021 network-check-antix
        -rwxr-xr-x 1 root root   14352 Jan  8  2021 network-readiness-state
        -rwxr-xr-x 1 root root    8382 Oct 26  2019 nuke-modules
        -rwxr-xr-x 1 root root    2654 Sep 11  2013 open-with-menu.sh
        -rwxr-xr-x 1 root root     574 Mar 22  2016 paletterx
        -rwxr-xr-x 1 root root     460 Jul 10  2012 paneltoggle.sh
        -rwxr-xr-x 1 root root    7368 Nov 13  2019 persist-config
        -rwxr-xr-x 1 root root     118 Oct 22  2016 persist-enabled
        -rwxr-xr-x 1 root root   30798 Jan 10 06:23 persist-makefs
        -rwxr-xr-x 1 root root   10406 Jun 25  2021 persist-save
        -rwxr-xr-x 1 root root 1178648 Mar 28 17:37 pinxi
        -rwxr-xr-x 1 root root  196070 Nov 18  2021 pmrp
        -rwxr-xr-x 1 root root    2164 Sep  9  2017 process-reaper
        -rwxr-xr-x 1 root root    1047 Nov  3  2014 psg
        -rwxr-xr-x 1 root root    8351 May  3  2011 ps_initrd.sh
        -rwxr-xr-x 1 root root   23432 May 11  2020 ps_mem.py
        -rwxr-xr-x 1 root root     215 Sep  8  2021 rc-conf-wrapper.sh
        -rwxr-xr-x 1 root root    1377 Jun  3  2014 remove-desktop
        -rwxr-xr-x 1 root root    1126 Aug  5  2022 removedesktopicon
        -rwxr-xr-x 1 root root     200 Mar 13  2018 rh-mouse
        -rwxr-xr-x 1 root root     394 Mar  3  2020 rox-as-root.sh
        -rwxr-xr-x 1 root root      27 Dec 12  2020 roxuri
        -rwxr-xr-x 1 root root    2581 Dec 26  2021 Rox-Wallpaper
        -rwxr-xr-x 1 root root     791 Apr 17  2022 run-mksquashfs
        -rwxr-xr-x 1 root root   11218 Apr  2  2019 screenlight-menu.sh
        -rwxr-xr-x 1 root root    8481 Apr  2  2019 screenlight.sh
        -rwxr-xr-x 1 root root    6677 Jun 17  2015 search-bar
        -rwxr-xr-x 1 root root     743 Jun 17  2015 search-bar-icon
        -rwxr-xr-x 1 root root    7016 Jul 18  2021 set-desktop-theme
        -rwxr-xr-x 1 root root    4991 May  3  2021 set-dpi
        -rwxr-xr-x 1 root root    7412 Oct 31 08:13 set-screen-blank
        -rwxr-xr-x 1 root root    3012 Oct 28  2021 set_time-and_date.sh
        lrwxrwxrwx 1 root root       8 Jan 13  2020 show-isomount -> isomount
        -rwxr-xr-x 1 root root     125 Oct 25  2019 sort_by_size
        -rwxr-xr-x 1 root root   65018 May 22  2020 speedtest-cli.py
        -rwxr-xr-x 1 root root    3094 Oct  2  2017 splash-select
        lrwxrwxrwx 1 root root       8 Jan 13  2020 sqmount -> isomount
        lrwxrwxrwx 1 root root       8 Jan 13  2020 squmount -> isomount
        -rwxr-xr-x 1 root root    1620 Jan 28  2015 start-t
        -rwxr-xr-x 1 root root     121 Jun 17  2015 stp
        -rwxr-xr-x 1 root root    5612 Oct  4  2018 streamlight-gui-launcher.sh
        -rwxr-xr-x 1 root root   11987 Oct  4  2018 streamlight.sh
        -rwxr-xr-x 1 root root     428 Jul 18  2021 time-x-start
        -rwxr-xr-x 1 root root     582 Mar 15  2018 tinyradio
        -rwxr-xr-x 1 root root    2019 Sep 25  2016 toram-eject
        -rwxr-xr-x 1 root root   12918 Oct  3  2021 translation-info.sh
        -rwxr-xr-x 1 root root    2922 Jan 24 04:57 trash-manager
        -rwxr-xr-x 1 root root     746 Apr  7  2016 umount-media
        -rwxr-xr-x 1 root root   23112 Apr 11  2021 unpack-initrd
        -rwxr-xr-x 1 root root   36827 Dec  6  2021 unplugdrive.sh
        -rwxr-xr-x 1 root root     512 Mar 31  2019 update-jwm-themes.sh
        -rwxr-xr-x 1 root root    5183 Jul 15  2017 urxvt-style
        lrwxrwxrwx 1 root root       8 Jan 13  2020 usbmount -> isomount
        lrwxrwxrwx 1 root root       8 Jan 13  2020 usbumount -> isomount
        -rwxr-xr-x 1 root root   23441 Mar 12 13:15 wallpaper
        -rwxr-xr-x 1 root root   25012 Jun 28  2013 wgetpaste
        -rwxr-xr-x 1 root root     127 Jun 17  2015 wiki
        -rwxr-xr-x 1 root root    3110 Apr 29  2014 wingrid-bottomleft.sh
        -rwxr-xr-x 1 root root    3120 Apr 29  2014 wingrid-bottomright.sh
        -rwxr-xr-x 1 root root    3339 Apr 29  2014 wingrid-bottom.sh
        -rwxr-xr-x 1 root root    3531 Jul 24  2019 wingrid-center.sh
        -rwxr-xr-x 1 root root    1347 Apr 29  2014 wingrid-close.sh
        -rwxr-xr-x 1 root root    5590 Jul 24  2019 wingrid-grow.sh
        -rwxr-xr-x 1 root root    3279 Apr 29  2014 wingrid-left.sh
        -rwxr-xr-x 1 root root    1388 Apr 29  2014 wingrid-maximize.sh
        -rwxr-xr-x 1 root root    3289 Apr 29  2014 wingrid-right.sh
        -rwxr-xr-x 1 root root    4905 Jul 24  2019 wingrid-shrink.sh
        -rwxr-xr-x 1 root root    3077 Apr 29  2014 wingrid-topleft.sh
        -rwxr-xr-x 1 root root    3180 Apr 29  2014 wingrid-topright.sh
        -rwxr-xr-x 1 root root    3305 Apr 29  2014 wingrid-top.sh
        -rwxr-xr-x 1 root root     110 Jun 16  2013 xmms
        -rwxr-xr-x 1 root root      43 Dec 22  2015 yad
        -rwxr-xr-x 1 root root    1731 Dec 27  2021 yad-autoremove
        -rwxr-xr-x 1 root root    1561 Feb 28 12:38 yad-calendar
        -rwxr-xr-x 1 root root      41 Jun 21  2019 yad-color
        -rwxr-xr-x 1 root root     176 Jun 20  2019 yad-icons
        -rwxr-xr-x 1 root root    5716 Sep  8  2019 yad-pmrp
        -rwxr-xr-x 1 root root     424 Sep 23  2019 yad-recently-used-delete.sh
        -rwxr-xr-x 1 root root     607 Sep 23  2019 yad-recently-used-settings.sh
        -rwxr-xr-x 1 root root    7307 Mar 28 11:50 yad-updater
        -rwxr-xr-x 1 root root     342 Feb 28 12:39 yad-volume
        -rwxr-xr-x 1 root root    4921 Feb 28 12:37 zram 

        Hope that the above explains this.

        Sometimes I drive a crooked road to get my mind straight.
        Not all who Wander are Lost.
        I'm not outa place. I'm from outer space.

        Linux Registered User # 475019
        How to Search for AntiX solutions to your problems

        #105052
        Member
        Lead Farmer
          Helpful
          Up
          0
          ::

          @rokytnji I think it it a new change in latest update. one throwback is that option “Refresh Menu” in the menu, is not working because it need a sudo.

          #105066
          Member
          Robin
            Helpful
            Up
            0
            ::

            Permission denied

            Was why sudo was needed. /usr/local/bin files are not user writeable

            Hope that the above explains this.

            The files in /usr/local/bin are not involved in menu creation at all. So this actually doesn’t explain it.

            Please try instead:

            chown root:users /usr/share/desktop-menu/.*/menu-applications
            chmod 664 /usr/share/desktop-menu/.*/menu-applications

            (quoted from Dave’s posting)

            For some unknown reason sometimes the permission of these files are changed, and then the error LeadFarmer describes shows up. After this happens you always need sudo for updating the menu, until you restore the original permissions as described above to the files. Then no sudo is needed again anymore for desktop-menu write-out-global.

            This should also restore the refresh menu entry in the main menu working again.

            I wonder, since we had written and tested a fixed version of desktop-menu a year ago already for antiX 19, but the fixes obviously didn’t make their way into the antiX repos until now, not in antiX 21 and not in 22. Also all translations we have done meanwhile are still ignored by the version recently still used by antiX, even in antiX 23 beta.

            Windows is like a submarine. Open a window and serious problems will start.

            #105067
            Forum Admin
            anticapitalista
              Helpful
              Up
              0
              ::

              antiX-22 and antiX-23 are using the latest version of desktop-menu as far as I am aware. (There are no merge requests at Gitlab for this package).

              Philosophers have interpreted the world in many ways; the point is to change it.

              antiX with runit - leaner and meaner.

              #105069
              Member
              Robin
                Helpful
                Up
                0
                ::

                antiX-22 and antiX-23 are using the latest version of desktop-menu as far as I am aware. (There are no merge requests at Gitlab for this package).

                See: https://gitlab.com/antiX-Dave/desktop-menu-antix/-/merge_requests/7

                Then I presume @Dave is still working on it. Good things need time.

                Windows is like a submarine. Open a window and serious problems will start.

                #105070
                Forum Admin
                anticapitalista
                  Helpful
                  Up
                  0
                  ::

                  @Robin – ahh ok.

                  Why all the mo files?
                  There are no apps to translate in desktop-menu-antix

                  Philosophers have interpreted the world in many ways; the point is to change it.

                  antiX with runit - leaner and meaner.

                  #105073
                  Member
                  Robin
                    Helpful
                    Up
                    0
                    ::

                    Why all the mo files?
                    There are no apps to translate in desktop-menu-antix

                    These files are the translations of desktop-menu itself. See https://app.transifex.com/antix-linux-community-contributions/antix-contribs/desktop-menu/

                    (and this is also what my question #2 in latest email was about, concerning moving them to antiX-development)

                    Windows is like a submarine. Open a window and serious problems will start.

                    #105211
                    Member
                    Lead Farmer
                      Helpful
                      Up
                      1
                      ::

                      Update: after the latest update, there no need for sudo, thanks to the devs for fixing the problem.

                      ~> upk 4
                      2023-04-22 12:53:47 upgrade antix-user:amd64 2023.04.12 2023.04.16
                      2023-04-22 12:53:48 upgrade desktop-menu-antix:all 0.1.9 0.1.10
                      2023-04-22 12:53:48 upgrade icewm:amd64 3.3.3-1.0antix1 3.3.3-1.0antix2
                      2023-04-22 12:53:49 upgrade icewm-common:amd64 3.3.3-1.0antix1 3.3.3-1.0antix2
                      ~> desktop-menu --write-out-global
                      Writing Menu: icewm
                      Writing Menu: jwm
                      Writing Menu: fluxbox
                      ~> 
                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • You must be logged in to reply to this topic.