How to disable connectshares flash screen

Forum Forums New users New Users and General Questions How to disable connectshares flash screen

Tagged: 

  • This topic has 7 replies, 4 voices, and was last updated Apr 24-6:47 pm by berghsg.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #59033
    Member
    atxdude

      Hello,

      New Antix user here (also newish in general with linux!). I’m wondering if anyone knows how to disable the Connectshares app’s flash screens that show up on logging in the desktop? I went through the Control Center’s various options but didn’t see anything. Also search the forum without any relevant result.

      Thanks in advance!

      atxdude

      #59040
      Anonymous
        Helpful
        Up
        0
        ::

        click the FAQ link in the forum header, then click the “connectshares” navigation link in the faq page.
        http://download.tuxfamily.org/antix/docs-antiX-19/FAQ/connectshares.html
        Recommend you skimread the entire page, but if you are in a hurry today, just search for “start” in that page.

        #59050
        Member
        seaken64
          Helpful
          Up
          0
          ::

          So, we’re assuming you don’t want those shares active anymore? Or you just don’t want to see the report on screen?

          Seaken64

          #59056
          Member
          atxdude
            Helpful
            Up
            0
            ::

            Thnaks for the pointers. Do I edit the startup script to decrease the sleep second to 0 instead of 2? Will that disable the startup flash screen? That won’t disable to the auto mount of the shares I have specified to automount, right? Or am I missing something in the Faq?

            #59057
            Member
            atxdude
              Helpful
              Up
              0
              ::

              Sorry I wasn’t clear in my question. I only wanted the startup flash screen not to show up at loggin. I do want my remote shares to still be auto mounted. I can always check my home or the mnt directories to make sure is thing go wrong. Thanks for taking time to help!

              #59062
              Anonymous
                Helpful
                Up
                0
                ::

                To eliminate the “success” dialogboxes, try this (I did not test):

                edit /usr/local/bin/connectshares.sh
                and outcomment the line(s) which spawn those dialogs

                dialog --title "Summary"                   \
                       --no-shadow                         \
                       --sleep 5                           \
                       --cr-wrap                           \
                       --infobox "\n$(cat $TEMPFILE1) \n " \
                       17 60
                #59074
                Member
                atxdude
                  Helpful
                  Up
                  0
                  ::

                  Thanks for the tip. I’ll give it a try and report back the outcome.

                  To eliminate the “success” dialogboxes, try this (I did not test):

                  edit /usr/local/bin/connectshares.sh
                  and outcomment the line(s) which spawn those dialogs

                  dialog --title "Summary"                   \
                         --no-shadow                         \
                         --sleep 5                           \
                         --cr-wrap                           \
                         --infobox "\n$(cat $TEMPFILE1) \n " \
                         17 60
                  #105369
                  Member
                  berghsg
                    Helpful
                    Up
                    0
                    ::

                    The best way is to uninstall the whole program, I find connectshares too much hassle and prefer using command line typed on the client PC such as:
                    sudo mount -t cifs -o username=’username-on-server’,vers=2.0 //ip-address-of-server/shared-folder-on-server /mount-point-on-client
                    Note: the server needs to have samba installed and share setup in /etc/samba/smb.conf

                    How to remove connectshares on Antix21 (may apply on Antix 19), refer below:

                    Start menu > Control Centre > Software > Manage Packages >

                    Run apt-get update now?
                    > yes
                    > no

                    select no

                    Please select an action
                    > Upgrade 167 packages now
                    > View a list of packages to be upgraded
                    > Ignore these upgrades for now
                    > Update package index (last update Sat Mar 4 17:28:56 SAST 2023)
                    Press <Enter> to select the highlighted entry
                    Use ‘h’ for help, ‘r’ to redraw, ‘q’ to go back to the main menu

                    select Ignore these upgrades for now

                    Main Menu
                    > Search for packages to mark or install
                    > View a list of 84 suggested Command Line packages
                    > View a list of 165 suggested GUI packages
                    > Search for antiX kernels
                    > Search for all kernels
                    > Update package index (last update Sat Mar 4 17:28:56 SAST 2023)
                    > Edit the repo source files
                    > View or perform 167 upgrades now
                    > Quit
                    Press <Enter> to select the highlighted entry

                    Select Search for packages to mark or install

                    Please enter the term you want to search for
                    Standard globbing wildcards ‘*’ and ‘?’ work

                    Use an empty string or q<Enter> to return to main menu
                    >

                    enter the keyword “connectshares”
                    Enter

                    Please select an action
                    > Show more information about package connectshares-antix
                    = Uninstall package connectshares-antix
                    > Do a different search

                    Select Uninstall package connectshares-antix

                    Please choose an action for this package
                    > Un-install package [remove package but not its config files]
                    = Purge package [remove package AND its config files]
                    > Reinstall package [even if it is up to date]
                    > Install package [only if it is not up to date]

                    Select Purge package [remove package AND its config files]

                    Quit

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • You must be logged in to reply to this topic.