When I run this gm I get "command not found". Did I miss a step?gm10 wrote: ↑Fri Nov 08, 2019 10:51 amJust keep using it then. In a terminal window:
You can then run the script like this:Code: Select all
mkdir ~/.local/bin wget https://raw.githubusercontent.com/antiX-Linux/advert-block-antix/master/block-advert.sh -O ~/.local/bin/block-advert chmod +x ~/.local/bin/block-advert apt install yad source ~/.profile
Code: Select all
sudo block-advert
Code: Select all
big@big-Latitude-E5430-non-vPro:~$ mkdir ~/.local/bin
big@big-Latitude-E5430-non-vPro:~$ wget https://raw.githubusercontent.com/antiX-Linux/advert-block-antix/master/block-advert.sh -O ~/.local/bin/block-advert
--2019-11-19 14:19:30-- https://raw.githubusercontent.com/antiX-Linux/advert-block-antix/master/block-advert.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.8.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.8.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6858 (6.7K) [text/plain]
Saving to: ‘/home/big/.local/bin/block-advert’
/home/big/.local/bi 100%[===================>] 6.70K --.-KB/s in 0.003s
2019-11-19 14:19:31 (2.38 MB/s) - ‘/home/big/.local/bin/block-advert’ saved [6858/6858]
big@big-Latitude-E5430-non-vPro:~$ chmod +x ~/.local/bin/block-advert
big@big-Latitude-E5430-non-vPro:~$ apt install yad
[sudo] password for big:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-mate-desktop gir1.2-mate-panel libllvm7 linux-headers-4.15.0-47
linux-headers-4.15.0-47-generic linux-headers-4.15.0-48
linux-headers-4.15.0-48-generic linux-headers-4.15.0-50
linux-headers-4.15.0-50-generic linux-headers-4.15.0-51
linux-headers-4.15.0-51-generic linux-headers-4.15.0-52
linux-headers-4.15.0-52-generic linux-headers-4.15.0-58
linux-headers-4.15.0-58-generic linux-headers-4.15.0-62
linux-headers-4.15.0-62-generic linux-headers-4.15.0-64
linux-headers-4.15.0-64-generic linux-image-4.15.0-47-generic
linux-image-4.15.0-48-generic linux-image-4.15.0-50-generic
linux-image-4.15.0-51-generic linux-image-4.15.0-52-generic
linux-image-4.15.0-58-generic linux-image-4.15.0-62-generic
linux-image-4.15.0-64-generic linux-modules-4.15.0-47-generic
linux-modules-4.15.0-48-generic linux-modules-4.15.0-50-generic
linux-modules-4.15.0-51-generic linux-modules-4.15.0-52-generic
linux-modules-4.15.0-58-generic linux-modules-4.15.0-62-generic
linux-modules-4.15.0-64-generic linux-modules-extra-4.15.0-47-generic
linux-modules-extra-4.15.0-48-generic linux-modules-extra-4.15.0-50-generic
linux-modules-extra-4.15.0-51-generic linux-modules-extra-4.15.0-52-generic
linux-modules-extra-4.15.0-58-generic linux-modules-extra-4.15.0-62-generic
linux-modules-extra-4.15.0-64-generic mint-backgrounds-tessa python-psutil
python-xapp
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
yad
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 160 kB of archives.
After this operation, 563 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 yad amd64 0.38.2-1 [160 kB]
Fetched 160 kB in 3s (58.1 kB/s)
Selecting previously unselected package yad.
(Reading database ... 576866 files and directories currently installed.)
Preparing to unpack .../yad_0.38.2-1_amd64.deb ...
Unpacking yad (0.38.2-1) ...
Setting up yad (0.38.2-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint6) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
big@big-Latitude-E5430-non-vPro:~$ source ~/.profile
big@big-Latitude-E5430-non-vPro:~$ sudo block-advert
sudo: block-advert: command not found
big@big-Latitude-E5430-non-vPro:~$ sudo block-advert
sudo: block-advert: command not found
big@big-Latitude-E5430-non-vPro:~$