ClemaX

@ClemaX@lemm.ee

Software developer interested into security and sustainability.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ClemaX,

From Archwiki > xrandr:

Tip: Both GDM and SDDM have startup scripts that are executed when X is initiated. For GDM, these are in /etc/gdm/, while for SDDM this is done at /usr/share/sddm/scripts/Xsetup. This method requires root access and mucking around in system configuration files, but will take effect earlier in the startup process than using xprofile.

ClemaX,

Mount the drive with the user or group as plex. See mount options uid and gid. You can also set precise permissions on the mount point (using options at mount time) to let plex access a subdirectory.

ClemaX,

Try this:


<span style="font-weight:bold;color:#a71d5d;">for</span><span style="color:#323232;"> file </span><span style="font-weight:bold;color:#a71d5d;">in</span><span style="color:#323232;"> ./</span><span style="font-weight:bold;color:#a71d5d;">*
</span><span style="font-weight:bold;color:#a71d5d;">do
</span><span style="color:#323232;">    </span><span style="color:#62a35c;">echo </span><span style="color:#183691;">"$</span><span style="color:#323232;">file</span><span style="color:#183691;">"
</span><span style="font-weight:bold;color:#a71d5d;">done
</span>

To do some substitution operation om the filename you can use Bash Parameter Expansion.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fightinggames
  • All magazines