• 1 Post
  • 40 Comments
Joined 3 years ago
cake
Cake day: June 26th, 2021

help-circle
rss


  • FYI, you have 3 clipboards in X11. You have your standard clipboard usually used with Ctrl-C, Ctrl-V, like in Windows. You also have your primary clipboard, which copies any text you highlight and can be pasted with middle mouse button. The secondary clipboard is typically not used. If you don’t like the middle mouse paste, stick to the way you are used to. I learnt to make use of the primary clipboard and find that I always realise just how much I miss it when I need to use a windows system.














  • Sure. If you are using an nvidia optimus laptop, you should also add __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia at the start of the last line when running in hybrid mode to run mpv on the dgpu. You should have a file at ~/.wallpaperrc that contains wallpaper_playlist: /path/to/mpv/playlist. You may want to add this script to your startup sequence via your wm/de.

    #!/bin/sh
    
    WALLPAPER_PLAYLIST=$(cat ~/.wallpaperrc | grep -v '^\w*#' | grep 'wallpaper_playlist' | sed "s/wallpaper_playlist: //")
    
    
    xwinwrap -g 1920x1080 -ov -- mpv -wid WID --no-osc --no-audio --loop-playlist --shuffle --playlist=$WALLPAPER_PLAYLIST
    

    Hope this helps!