[SOLVED]: Disable Conky

Forum Forums New users New Users and General Questions [SOLVED]: Disable Conky

  • This topic has 12 replies, 7 voices, and was last updated Nov 4-7:36 pm by astronut.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #92311
    Member
    astronut

      I am booting into and using Icewm and would like to stop Conky from starting up when the desktop loads. I know how to toggle it off but I would like to keep it from running at startup and still beable to toggle it on if I choose to do so. I have changed the .desktop-session.conf file to “LOAD_CONKY=”false” and the /etc/skel/desktop-session/desktop-session.conf file to the same #LOAD_CONKY=”false” but conky still loads on desktop startup. Does anyone have any advice on how to disable conky startup without un-installing conky? Thanks!

      • This topic was modified 6 months ago by Brian Masinick. Reason: SOLVED

      AntiX, Lilidog, PCLinuxOS, Mabox, SparkyLinux, Bodhi

      #92332
      Member
      oops
        Helpful
        Up
        0
        ::

        Hello,
        Have you tried , It does the trick here for me:
        conkytoggle.sh

        • This reply was modified 6 months ago by oops.
        • This reply was modified 6 months ago by oops.
        #92338
        Member
        user_x
          Helpful
          Up
          0
          ::

          in file $HOME/.desktop-session/desktop-session.conf
          line 67

          #Session load conky
          #This will load a window manager specific conky from ~/.conky
          #There must be a corresponding conkyrc in ~/.conky in the form of windowmanager-conkyrc
          #Else we will load conky without the -c parameter
          #Options: true | false
          LOAD_CONKY="false"

          File is available also by Menu->ControlCentre->Session->UserDesktopSession

          • This reply was modified 6 months ago by user_x.
          • This reply was modified 6 months ago by user_x.
          #92343
          Member
          user_x
            Helpful
            Up
            0
            ::

            🙂
            +
            line 4

            # set to yes if you want Conky to be forked in the background
            background no

            from $HOME/.conkyrc

            Menu->ControlCentre->Desktop->EditSystemMonitor(conky)

            #92344
            Member
            PPC
              Helpful
              Up
              0
              ::

              #LOAD_CONKY=”false”

              Lines starting with # in config files and bash scripts are usually considered comments and ignored.
              Also I think that files in “skel” are used only as default settings to generate config files, so altering files there probably won’t affect your system…

              On my system, if I follow user_x’s suggestion, Conky is disabled when I start/restart my session…

              P.

              #92351
              Member
              techore
                Helpful
                Up
                0
                ::

                Also I think that files in “skel” are used only as default settings to generate config files, so altering files there probably won’t affect your system…

                Correct. /etc/skel is used to create /home/[user] directory and defaults for new users.

                • This reply was modified 6 months ago by techore.
                #92353
                Member
                astronut
                  Helpful
                  Up
                  0
                  ::

                  The files I changed, I changed to LOAD_CONKY=”false”. In otherwords, I uncommented them by removing the # at the beginning of the line, saved the file and the conky still starts at desktop loadup. Even in the Control Center desktop session files the line is uncommented and conky still starts. I even changed the line 4 to background no and saved it. Still the same result, conky starts at desktop loadup. How do I use or impliment “conkytoggle.sh”?

                  AntiX, Lilidog, PCLinuxOS, Mabox, SparkyLinux, Bodhi

                  #92355
                  Member
                  PPC
                    Helpful
                    Up
                    0
                    ::

                    Hum… I can’t replicate your problem, but I can tell you about conkytoggle.sh – it’s present in the Menu, at it merely toggles conky on/off for the current session:

                    Here are it’s contents:

                    #!/bin/bash
                    # Filename:      conkytoggleflux.sh
                    # Purpose:       toggle conky on/off from fluxbox menu
                    # Authors:       Kerry and anticapitalista, secipolla for antiX
                    # Latest change: Wed March 24, 2010.
                    ################################################################################
                    
                    if pidof conky | grep [0-9] > /dev/null
                     then
                      killall conky 
                     else
                      conky 
                    fi

                    I’m assuming there’s some strange problem with your system, that forces conky to start, even if disabled, like you said you did…
                    A workaround could be trying to place a “killall conky” command (or something similar) on your startup file, forcing conky to close, but I’m unsure that will work…

                    Let’s see what the experts say about your problem…

                    P.

                    #92356
                    Forum Admin
                    anticapitalista
                      Helpful
                      Up
                      1
                      ::

                      Are you sure you haven’t added a conky startup elsewhere?

                      Post your $HOME/.desktop-session/desktop-session.conf

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

                      antiX with runit - leaner and meaner.

                      #92358
                      Member
                      astronut
                        Helpful
                        Up
                        0
                        ::

                        Here is the file anticapitalista asked for.

                        #This is the desktop-session config file.
                        #This is structured in a bash script format, so all options must be option=”desired-option

                        #Session service delay.
                        #This is to set how long to delay startup to give enough time for the wm to completely load.
                        #before starting to load other applications. This wait period will be started after the
                        #window manager has been found running.
                        #TIME is expressed in seconds
                        #Options: 0-9…
                        STARTUP_DELAY=”2″

                        #Session window manager check
                        #This is to set the amount of times desktop-session checks for a running window manager
                        #before giving up and denying the session to load.
                        #Options: 0-9…
                        TIMES_TO_CHECK=”20″

                        #Session give up override
                        #This is to set the override if the window manager is never found to be running by
                        #desktop-session. This will force the session to load if set to true.
                        #Options: true | false
                        FORCE_LOAD=”false”

                        #Session Protect.
                        #This is how to protect the user from automatic updating of any file within desktop-session.
                        #Examples are the menu, any file compare within file_compare, etc
                        #Options for this are:
                        #SESSION_PROTECT=”true #Strictly protect the user, leave the user to deal with any of the updating
                        #SESSION_PROTECT=”ask #Notify me at startup of any changes and allow me to choose what to update
                        #SESSION_PROTECT=”false #Just update me, I dont want to worry about falling behind.
                        SESSION_PROTECT=”false”

                        #Notification Dialog
                        #This is where to enable / disable the session loading dialog
                        #Options: true | false
                        NOTIFICATION_DIALOG=”false”

                        #Notification text or program
                        #This is where the text is set for the notification that the session is loading.
                        #This can be a specified text string or a program that will return a text string
                        #Examples:
                        #NOTIFICATION_TEXT=”Session is Loading, Please Wait…..”
                        #NOTIFICATION_TEXT=”/usr/games/fortune”
                        NOTIFICATION_TEXT=”Session is Loading, Please Wait…..”

                        #Startup Sound
                        #Play Sound when loading the desktop (uses terminal command play)
                        #Options: true | false
                        STARTUP_SOUND=”false”

                        #Startup Sound File
                        #Location of the file for the startup sound
                        STARTUP_SOUND_FILE=”$HOME/.desktop-session/startup.ogg”

                        #Startup Dialog
                        #This is where to enable / disable the session startup dialog
                        #Options: true | false
                        STARTUP_DIALOG=”false”

                        #Startup Dialog Command
                        #This is where to set the startup dialog command
                        #Examples:
                        #STARTUP_DIALOG_CMD=”leafpad ~/.startup-text”
                        #STARTUP_DIALOG_CMD=”yad –image=’info’ –text=’this is my startup dialog'”
                        #STARTUP_DIALOG_CMD=”/usr/local/lib/desktop-session/startup-dialog.py”

                        #Session load conky
                        #This will load a window manager specific conky from ~/.conky
                        #There must be a corresponding conkyrc in ~/.conky in the form of windowmanager-conkyrc
                        #Else we will load conky without the -c parameter
                        #Options: true | false
                        LOAD_CONKY=”false”

                        #Session load xdg autostart
                        #This will load any application that is setup to autostart via xdg autostart directories /
                        #.desktop files.
                        #Options: true | false
                        LOAD_XDG_AUTOSTART=”false”

                        #Session load of dbus-launch
                        #This will make it possible to start a session bus instance of dbus-daemon with the window manager
                        #Options: true | false
                        DBUS_SESSION_LAUNCH=”false”

                        #Session load startup
                        #This will load any application that is setup to autostart via /etc/desktop-session/startup
                        #Options: true | false
                        LOAD_STARTUP_FILE=”true”

                        #Session screen blank
                        #This is to set the amount of time that the screen stays visible.
                        #Desktop-session sets the dpms settings according to the screen blank value set here.
                        #TIME expressed in seconds
                        #Options: 0-9…
                        SCREEN_BLANK_TIME=”3600″

                        #Session other desktops window
                        #This is to set the other desktops window to pop up or not.
                        #true = pop up
                        #false = no pop up
                        OTHER_DESKTOPS_WINDOW=”true”

                        #Default Sound Level
                        #Set the sound volume level when starting up to default level when startup sound is true
                        #Set using amixer sset ‘Master’ -M
                        #Level is set from 0% – 100%
                        STARTUP_SOUND_LEVEL=”65%”

                        #Startup Dialog Command
                        #This is where to set the startup dialog command
                        #Examples:
                        #STARTUP_DIALOG_CMD=”leafpad ~/.startup-text
                        #STARTUP_DIALOG_CMD=”yad –image=’info’ –text=’this is my startup dialog'”
                        STARTUP_DIALOG_CMD=”/usr/local/lib/desktop-session/startup-dialog.py”

                        #Session load shutdown
                        #This will run desktop-session/shutdown on logout
                        #Options: true | false
                        LOAD_SHUTDOWN_FILE=”true”

                        #Session load conky
                        #This will load a window manager specific conky from ~/.conky
                        #There must be a corresponding conkyrc in ~/.conky in the form of windowmanager-conkyrc
                        #Else we will load conky without the -c parameter
                        #Options: true | false
                        LOAD_CONKY=”true”

                        Aha, I found the issue on line 126! Totally missed it as I stopped looking and editing the file at line 72. I changed that to false, saved the file and now it is not loading at startup of the desktop. Thanks for the help, I really appreciate!

                        • This reply was modified 6 months ago by astronut.

                        AntiX, Lilidog, PCLinuxOS, Mabox, SparkyLinux, Bodhi

                        #92360
                        Forum Admin
                        anticapitalista
                          Helpful
                          Up
                          1
                          ::

                          Try again

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

                          antiX with runit - leaner and meaner.

                          #92364
                          Moderator
                          Brian Masinick
                            Helpful
                            Up
                            1
                            ::

                            IF you are having problems posting attachments, copy and paste the content into the usual place where you type, then select all of the text and press the CODE tag above; this puts a box around the code and makes it pretty easy to look at and copy elsewhere (if needed).

                            --
                            Brian Masinick

                            #92366
                            Member
                            astronut
                              Helpful
                              Up
                              0
                              ::

                              I got it figured out, see my above post. Thanks all!

                              I dont know how to mark this thread solved so if someone could do it for me, I would appreciate it!

                              • This reply was modified 6 months ago by astronut.
                              • This reply was modified 6 months ago by astronut.
                              • This reply was modified 6 months ago by astronut.

                              AntiX, Lilidog, PCLinuxOS, Mabox, SparkyLinux, Bodhi

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