The /usr/bin and /usr/local/bin directories are part of the Unix/Linux filesystem hierarchy, and they both serve different purposes.
/usr/bin: This is the primary directory of executable commands on the system. It's managed by the system's package manager (apt, yum, dnf, etc.) and should only contain binaries provided and managed by the system's package management. When you update your system, updates to programs within this directory will be handled by your package manager.
/usr/local/bin: This is intended for executables that are local to the machine, i.e., not part of the system's standard distribution. This includes scripts and binaries installed manually by the system administrator. This directory is usually included in a user's PATH, meaning executables here can be run directly from the command line without specifying the full path.
The main reason for keeping custom scripts in /usr/local/bin instead of /usr/bin is to avoid interfering with the system's package manager.
If you were to place your custom scripts in /usr/bin, it could potentially be erased or overwritten when you update your system. Additionally, you might unintentionally replace a system command with one of your scripts, which could cause unexpected behavior.
Placing custom scripts in /usr/local/bin helps keep them separate from system-managed binaries and reduces the risk of conflicts.
You're really looking to use After=network-online.target instead of Requires=network.target. I'd recommend putting your custom script in /usr/local/bin/ instead of /usr/bin/. And then if your system is up for a while maybe use a timer service to rerun the script every 24 hours.
Create a systemd service unit file
Let's create a service unit file. You may create a file named wallpaper.service in the /etc/systemd/system/ directory. Note that you require root privileges to do so. Use a text editor like nano or vim to create and edit the file:
sudo nano /etc/systemd/system/wallpaper.service
Paste in the following, making sure to adjust paths if necessary:
[Unit]
Description=Downloads the APOD and saves it as Wallpaper
Wants=network-online.target
After=network-online.target
[Service]
ExecStart=/usr/local/bin/bg.sh
Restart=on-failure
[Install]
WantedBy=multi-user.target
Save and close the file.
Create a systemd timer unit file
Now we'll create a corresponding timer for our service. Create a new file /etc/systemd/system/wallpaper.timer:
sudo nano /etc/systemd/system/wallpaper.timer
Paste in the following:
[Unit]
Description=Runs bg.sh every day
[Timer]
OnBootSec=0min
OnUnitActiveSec=24h
[Install]
WantedBy=timers.target
In the [Timer] section, OnBootSec=0min means the service will run immediately after the system boots. OnUnitActiveSec=24h means the service will rerun 24 hours after it was last activated.
Save and close the file.
Reload systemd daemon and enable the timer
Next, reload the systemd daemon to make it aware of your new service and timer. Then, enable and start the timer:
Never used qtile, from my experience a session restart is all that's needed after new fonts are installed. The reason I recommend nerd fonts is for some of those oddball characters in fancy terminal setups.
You had failed to mount a filesystem to '/mnt'. The pacstrap command will have worked to install the base system to /mnt without having successfully mounted a separate filesystem. To try again, make sure /mnt is completely empty (i.e. unmounting /mnt/boot/ and "rm -rf /mnt/*") before mounting the target filesystem.
EDIT: also note the twinview blurb "You want only one big screen instead of two... ...This option should be used if you desire compositing. TwinView only works on a per card basis, when all participating monitors are connected to the same card."
A lot of gnome apps have changed their .desktop names (look under /usr/share/applications). For instance "Files" used to be called nautilus.desktop but is now renamed to org.gnome.Nautilus.desktop. If you open in a text editor one of the .desktop files you will see the "Icon=foo" reflects the name change. Outdated icon theme packs obviously do not reflect these changes.
So there are a couple things you can do to fix the icons. For starters you can make sure you're using the latest version of the icon theme. The other fix is to copy the .desktop file to /home/$USER/.local/share/applications/ then modify the "Icon=foo" line of the copied file to the appropriate application name of your choosing reflected by your icon theme in /usr/share/icons/$ICON_THEME/. Copying the .desktop to this directory overrides the file in /usr/share/applications/.
Personally I use this numix theme from aur and recompile about once a month to keep those pesky changes at bay.
Transmission (running transmission-daemon personally) I've seen can handle 10K+ just fine. In my "GUI only" days I have run into issues with deluge, years ago mind you, handling thousands of torrents.
Hmmm, the dependencies listed on the aur package are available for arm. You will have to tweak the PKGBUILD by adding 'armv7' to the "arch=" line. It might work.
If you want GPU hardware accelerated on the xu4, you're gonna have a bad time. The community has only the blobs to rely on and I've only really seen them working on the ubuntu image.
The
/usr/binand/usr/local/bindirectories are part of the Unix/Linux filesystem hierarchy, and they both serve different purposes./usr/bin: This is the primary directory of executable commands on the system. It's managed by the system's package manager (apt,yum,dnf, etc.) and should only contain binaries provided and managed by the system's package management. When you update your system, updates to programs within this directory will be handled by your package manager./usr/local/bin: This is intended for executables that are local to the machine, i.e., not part of the system's standard distribution. This includes scripts and binaries installed manually by the system administrator. This directory is usually included in a user'sPATH, meaning executables here can be run directly from the command line without specifying the full path.The main reason for keeping custom scripts in
/usr/local/bininstead of/usr/binis to avoid interfering with the system's package manager.If you were to place your custom scripts in
/usr/bin, it could potentially be erased or overwritten when you update your system. Additionally, you might unintentionally replace a system command with one of your scripts, which could cause unexpected behavior.Placing custom scripts in
/usr/local/binhelps keep them separate from system-managed binaries and reduces the risk of conflicts.You're really looking to use
After=network-online.targetinstead ofRequires=network.target. I'd recommend putting your custom script in/usr/local/bin/instead of/usr/bin/. And then if your system is up for a while maybe use a timer service to rerun the script every 24 hours.Create a systemd service unit file
Let's create a service unit file. You may create a file named
wallpaper.servicein the/etc/systemd/system/directory. Note that you require root privileges to do so. Use a text editor likenanoorvimto create and edit the file:Paste in the following, making sure to adjust paths if necessary:
Save and close the file.
Create a systemd timer unit file
Now we'll create a corresponding timer for our service. Create a new file
/etc/systemd/system/wallpaper.timer:Paste in the following:
In the
[Timer]section,OnBootSec=0minmeans the service will run immediately after the system boots.OnUnitActiveSec=24hmeans the service will rerun 24 hours after it was last activated.Save and close the file.
Reload systemd daemon and enable the timer
Next, reload the systemd daemon to make it aware of your new service and timer. Then, enable and start the timer:
Check the status of your timer
To make sure your timer is active and will trigger the service as expected, check its status:
That's it. Your script should now run at startup (with a delay until the network is up) and once daily.
the contents of cat /etc/modprobe.d/blacklist.conf should be
blacklist i915and the nvidia modules should be placed in /etc/mkinitcpio.conf as follows
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)and then run as root/sudo
mkinitcpio -Pideally to blacklist i915 as early as possible, you may want to add the following to your boot arguments:
module_blacklist=i915looks like there may be a solution in the comments https://forums.developer.nvidia.com/t/could-not-load-dynamic-library-libnvinfer-so-7/231606
Never used qtile, from my experience a session restart is all that's needed after new fonts are installed. The reason I recommend nerd fonts is for some of those oddball characters in fancy terminal setups.
In all likelihood you're missing some fonts. Try installing https://aur.archlinux.org/packages/nerd-fonts-complete
https://github.com/elFarto/nvidia-vaapi-driver/issues/126
The archlinux wiki may help shed some light on your fedora issue https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration
https://wiki.archlinux.org/title/Chromium#Chromium_stuck_at_60fps_when_using_a_144Hz_+_60Hz_monitor
To get the sensor (and gdm) working again you can downgrade fprintd from 1.92 back to 1.90 for the time being.
And then in /etc/pacman.conf perhaps add the line
to prevent it from upgrading again.
You had failed to mount a filesystem to '/mnt'. The pacstrap command will have worked to install the base system to /mnt without having successfully mounted a separate filesystem. To try again, make sure /mnt is completely empty (i.e. unmounting /mnt/boot/ and "rm -rf /mnt/*") before mounting the target filesystem.
https://wiki.archlinux.org/index.php/LightDM#Hiding_system_and_services_users
https://wiki.archlinux.org/index.php/GDM#Hide_user_from_login_list
adding
pcie_aspm=offto my boot options got rid of the error message for me.Can you post your xorg config?
https://wiki.archlinux.org/index.php/NVIDIA#Multiple_GPUs/SLI
EDIT: also note the twinview blurb "You want only one big screen instead of two... ...This option should be used if you desire compositing. TwinView only works on a per card basis, when all participating monitors are connected to the same card."
perhaps the package 'android-udev' could be helpful. You will have to reload udev for the rules to take affect.
or simply by restarting your machine
TERM=xterm perhaps?
Sounds like you may need to modify your x.org.conf.d files, here are some possible fixes from the arch wiki. For instance here'e my /etc/X11/xorg.conf.d/10-monitors.conf file.
A lot of gnome apps have changed their .desktop names (look under /usr/share/applications). For instance "Files" used to be called nautilus.desktop but is now renamed to org.gnome.Nautilus.desktop. If you open in a text editor one of the .desktop files you will see the "Icon=foo" reflects the name change. Outdated icon theme packs obviously do not reflect these changes.
So there are a couple things you can do to fix the icons. For starters you can make sure you're using the latest version of the icon theme. The other fix is to copy the .desktop file to /home/$USER/.local/share/applications/ then modify the "Icon=foo" line of the copied file to the appropriate application name of your choosing reflected by your icon theme in /usr/share/icons/$ICON_THEME/. Copying the .desktop to this directory overrides the file in /usr/share/applications/.
Personally I use this numix theme from aur and recompile about once a month to keep those pesky changes at bay.
Transmission (running transmission-daemon personally) I've seen can handle 10K+ just fine. In my "GUI only" days I have run into issues with deluge, years ago mind you, handling thousands of torrents.
Hmmm, the dependencies listed on the aur package are available for arm. You will have to tweak the PKGBUILD by adding 'armv7' to the "arch=" line. It might work.
If you want GPU hardware accelerated on the xu4, you're gonna have a bad time. The community has only the blobs to rely on and I've only really seen them working on the ubuntu image.
If it's GDM you're using, copy you monitors.xml file found in /home/$USER/.config/ to /var/lib/gdm/.config/ then reboot.
EDIT: I should also note monitors.xml is generated by the gnome "Displays" settings.
You're welcome, I've been using it for a solid 10 years now. I've got all my friends and family on it and they absolutely love it.
It's a 1:1 representation of your folder structure.