How to add taskbar icon for PIA VPN access in IceWM

Forum Forums Orphaned Posts antiX-17 “Heather Heyer, Helen Keller” How to add taskbar icon for PIA VPN access in IceWM

  • This topic has 11 replies, 6 voices, and was last updated Apr 6-3:20 am by Anonymous.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #20118
    Anonymous

      I’m using AntiX 17 with IceWM and use PrivateInternetAccess VPN. Is there a line I can add to Preferences or a package I can install to make the PIA access tray icon appear in the TaskBar?

      #20120
      Moderator
      christophe
        Helpful
        Up
        0
        ::

        A launcher can be added easily. Is that what you’re asking?

        confirmed antiX frugaler, since 2019

        #20121
        Moderator
        christophe
          Helpful
          Up
          0
          ::

          IF you are looking to place a launcher on the toolbar (and already have the program installed):
          1. open Control Centre
          2. open Open IceWM Settings
          3. this opens a new instance of geany (text editor). click on the “toolbar” tab.
          4. It looks like this:

          # This is a default toolbar definition file for IceWM
          #
          # Place your personal variant in $HOME/.icewm directory.
          
          ### Commonly used applications
          prog "Unplug Removable Device" /usr/share/icons/Faenza-Cupertino-mini/actions/48/media-eject.png unplugdrive.sh

          5. add a new line in the format like the last line above: 4-parts (prog <popup label> <icon> <executable>)
          6. restart icewm

          I hope this is what you’re looking for.

          • This reply was modified 4 years, 1 month ago by christophe.

          confirmed antiX frugaler, since 2019

          #20126
          Anonymous
            Helpful
            Up
            0
            ::

            christophe:

            Thanks. I’m familiar with adding a launcher, but that’s not what I need. I have PIA running in the background, but I have no way of accessing its preferences. I need something similar to the Dropbox icon, for example, that appears in the bottom right beside the volume slider icon (see attachment) in the default Icewm layout.

            #20131
            Member
            loosewheel
              Helpful
              Up
              0
              ::

              I’m not familiar with the program you’re using, but generally a program puts itself into the system tray.

              If you know the name of the executable, have you tried:

              <prog> –help

              or

              man <prog>

              to see if it can be called with an option to display the preferences. Or perhaps a separate executable in the package for it. Then you could just make a launcher for that.

              #20140
              Forum Admin
              rokytnji
                Helpful
                Up
                0
                ::

                Is it already in Icewm pref startup?

                harry@biker:~
                $ cd .icewm
                harry@biker:~/.icewm
                $ ls
                keys  menu-applications  preferences  theme   toolbar
                menu  personal           startup      themes  winoptions
                harry@biker:~/.icewm
                $ cd startup
                bash: cd: startup: Not a directory
                harry@biker:~/.icewm
                $ cat startup
                #!/bin/bash
                spacefm -d &
                
                harry@biker:~/.icewm
                

                Or does it start up on its own. Htop will say I guess or grep.
                Like when I do grep | google-chrome. It opens another browser window.
                SearchMonkey or locate command for file search may assist you also in 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

                #20141
                Forum Admin
                SamK
                  Helpful
                  Up
                  0
                  ::

                  …make the PIA access tray icon appear in the TaskBar?

                  IceWM provides two ways to place an icon for running app in the system tray of the task bar.

                  Manually
                  Start the app for which a tray icon is wanted
                  Right click on the title bar of its window, or right click on its button in the task bar
                  Select tray icon

                  Clicking on the newly created icon in the tray will toggle the app window

                  Automatically
                  Add an entry in /home/USERNAME/.icewm/winoptions
                  There are various options that can be used which control the way the icon created. Have a look in the shipped IceWM manual to select the most suitable option variation.
                  Menu→Help→IceWM→IceWM Manual
                  In the Configuration Files section→winoptions
                  In the General Options section→tray

                  #20149
                  Anonymous
                    Helpful
                    Up
                    0
                    ::

                    SamK / Rokytnji: Thanks for your suggestions. SamK: I get what your saying, but the VPN starts on boot (I set that on first running of the program) and it runs in the background, so there is no title bar window. That is the problem. On my MX Linux running XFCE, the icon appears in the notification area. It’s similar to the controller icon of Dropbox. When Dropbox starts, there is no window, but there is a control icon in the system tray. I’m sorry if I’m not using the right terminology. Perhaps this is an issue I should take up with PIA, but if you have any other suggestions, I’m all ears.

                    #20151
                    Forum Admin
                    rokytnji
                      Helpful
                      Up
                      0
                      ::

                      MX has a startup secton in the menu. Is it in there? What does it say?

                      Edit: Though XFCE does more than Window Managers.

                      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

                      #20154
                      Anonymous
                        Helpful
                        Up
                        0
                        ::

                        MX has a startup secton in the menu. Is it in there? What does it say?

                        Yes, it’s there in MX (Name: Private Internet Access / Command: /opt/pia/run.sh –startup), but it’s not in AntiX startup, but it is starting on boot-up and htop confirms that. Should I try putting the same command in /.icewm/startup?

                        #20158
                        Moderator
                        caprea
                          Helpful
                          Up
                          0
                          ::

                          It sounds like the /opt/pia/run.sh is running on antiX at startup. What you need is the applet in the taskbar.
                          I would try the PIA support.It’s a known problem.
                          https://www.privateinternetaccess.com/archive/forum/discussion/28902/no-icons-or-control-in-notification-bar

                          #20163
                          Anonymous
                            Helpful
                            Up
                            0
                            ::

                            Yes, I did read about that and actually had the same issue with Elementary Linux a couple of years ago, but it eventually got sorted out. I just got a response from PIA basically saying they don’t support AntiX and they recommended I use an OpenVPN connection instead. Bummer.

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