[SOLVED] Octopi question 10 August 2020, 20:59:58 Hello,I have a question about octopi.I like it, but I would like to prevent Artix to connect at boot and check for updates. This messes my network connection a bit.My point is that Artix connects at boot to 209.126.11.233 and 130.225.254.116. I assume that Artix is checking for updates. I don't mind this but I would prefer if connection/updates checking would occur 10-15min after boot.If that is not possible I would have to set updates manually.Is it possible to keep octopi and run it manually only?Thank you Last Edit: 12 August 2020, 06:50:30 by SGOrava
Re: Octopi question Reply #1 – 10 August 2020, 21:14:06 You should be able to disable autostart of Octopi.The autostart is probably handled by xdg something, the desktop file is located at "/etc/xdg/autostart/octopi-notifier.desktop"You can either edit autostart applications with some GUI available in your system or you can do it manually:Code: [Select]cp /etc/xdg/autostart/octopi-notifier.desktop $HOME/.config/autostart/echo "Hidden=true" >> $HOME/.config/autostart/octopi-notifier.desktopTake this as an example, check Archwiki for more information about XDG Autostart:https://wiki.archlinux.org/index.php/XDG_Autostart
Re: [SOLVED] Octopi question Reply #3 – 11 August 2020, 01:27:27 AQuote from: tut – on 10 August 2020, 22:25:22Thank you. It worked.actually it does not work.So while octopi-notifications icon is gone, system still checks for updates, this time Discover is at work
Re: [SOLVED] Octopi question Reply #4 – 11 August 2020, 05:47:10 I don't think, that artix check for update during boot. For that you need a service /daemon.For that you should be have octopi-openrc/runit/s6 installed . And we provide no this services for octopi. Must be another service, which wait for network.
Re: [SOLVED] Octopi question Reply #5 – 11 August 2020, 07:08:46 Quote from: alium – on 11 August 2020, 05:47:10I don't think, that artix check for update during boot. For that you need a service /daemon.For that you should be have octopi-openrc/runit/s6 installed . And we provide no this services for octopi. Must be another service, which wait for network.The Octopi can have its own notifier starting when users logs in, it is normal feature of these programs.Discover might be the same, but I never used it so I dont know, maybe same steps can be applied? , or some other thing?
Re: [SOLVED] Octopi question Reply #6 – 11 August 2020, 08:32:03 Quote from: SGOrava – on 11 August 2020, 07:08:46The Octopi can have its own notifier starting when users logs in, it is normal feature of these programs.Discover might be the same, but I never used it so I dont know, maybe same steps can be applied? , or some other thing?He wrote at boot - not at login. Logically I think, he hang at starting networks, as happens in openrc often, for example. If he wrote at login, then Then it would make more sense, because as I wrote, octopi has no service to start at boot time, but as lot of programs it can be start automatically at login. I have no crystal ball, and if he wrote at boot, he think boot, not at login. 😄
Re: [SOLVED] Octopi question Reply #7 – 11 August 2020, 16:31:08 my bad,connections are made at login. I run netstat -pantuland I gettcp 0 0 xxx.xxx.xxx.xxx:41066 130.225.254.116:443 ESTABLISHEDtcp 0 0 xxx.xxx.xxx.xxx:43824 209.126.11.233:443 ESTABLISHEDwhen I block these with iptables, octopi/discover fail to connect update system, so these are related to octopi/discoverSo is there any way to prevent octopi/discover for making connections automatically?
Re: [SOLVED] Octopi question Reply #8 – 11 August 2020, 17:53:39 Quote from: alium – on 11 August 2020, 08:32:03He wrote at boot - not at login. Logically I think, he hang at starting networks, as happens in openrc often, for example. If he wrote at login, then Then it would make more sense, because as I wrote, octopi has no service to start at boot time, but as lot of programs it can be start automatically at login. I have no crystal ball, and if he wrote at boot, he think boot, not at login. 😄Sure, but he wrote octopi for which we do not provide any init scripts, so I thought that autologin is active and boot mean full start.
Re: Octopi question Reply #9 – 11 August 2020, 20:38:15 o.k.Let me start again:How can I stop Artix from checking automatically for the updates? How can set manual only updates?Thank you (and I am sorry for any confusion that I caused)
Re: Octopi question Reply #10 – 11 August 2020, 21:24:05 ok, i installed octopi now... (i used it never before), and in my DE cause no trouble yet. you use octopi-notifier? this green icon?you an disable autostart if you delete octopi-notifier.desktop in /etc/xdg/autostart/ and just run 'octopi-notifier' manually. Or you can set in settings of octopi-notifier (klick to green icon -> settings -> synchronisation) set when to update Last Edit: 11 August 2020, 21:39:06 by alium
Re: Octopi question Reply #11 – 11 August 2020, 21:50:12 I followed SGOrava's advice https://forum.artixlinux.org/index.php/topic,1684.msg11557.html#msg11557,octopi notifier icon is gone, but Artix is still making connections, I just got Discover notification that I have new updates waiting, so with or without octopi, another tool that is making connections is Discover.note:I followed the same pattern and edited:/etc/xdg/autostart/org.kde.discover.notifier.desktopI rebooted system twice and now it seems that no connections are made.I appreciate your patience.Thank you. Last Edit: 11 August 2020, 22:09:15 by tut
Re: Octopi question Reply #12 – 11 August 2020, 22:54:37 Quote from: tut – on 11 August 2020, 21:50:12I followed SGOrava's advice https://forum.artixlinux.org/index.php/topic,1684.msg11557.html#msg11557,octopi notifier icon is gone, but Artix is still making connections, I just got Discover notification that I have new updates waiting, so with or without octopi, another tool that is making connections is Discover.note:I followed the same pattern and edited:/etc/xdg/autostart/org.kde.discover.notifier.desktopI rebooted system twice and now it seems that no connections are made.I appreciate your patience.Thank you.It is best to do this per user and to not edit files in system folders, these files might or might not be overwritten after update.That is why my advice contained copying the file into your home folder.
Re: Octopi question Reply #13 – 11 August 2020, 23:56:30 Quote from: SGOrava – on 11 August 2020, 22:54:37It is best to do this per user and to not edit files in system folders, these files might or might not be overwritten after update.That is why my advice contained copying the file into your home folder.o.k. I will correct this.thank you