• 0 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: September 7th, 2023

help-circle

  • For question 1: idk how to convert tex to svg, but maybe there’s a program called tex2svg . Often programs are named like that. However, if you want the contents of a file (which is basically markup text) in the clipboard from CLI you would use on Xorg X11 xclip or xclipboard like so:

    xclip -selection clipboard -in < myfile.txt

    … or on Wayland wl-copy from wl-clipboard like so:

    wl-copy < myfile.txt

    For question 3: after you have reviewed the potentially dangerous script, you would move it to a directory for non distribution files, eg. /usr/local/bin/ if it is for all users on your system. You would add that path to the PATH environment variable for all users who need it, but maybe better not for root. I mean you can, but make sure the permissions don’t allow non-root users to write or replace the file/dir so nobody can use it to escalate their privileges.


  • You can have multiple installed in parallel and you should be able to switch during login. Some are super small and fast. Not sure if it matters if you run Xorg or Wayland, but those are cool: WindowMaker (wmaker), enlightenment (version DR16 was the best, but has been discontinued), blackbox (extra small and fast), notion (a tiling WM that allows to do some things with the mouse and can be user scripted with Lua)





  • if they switch it will cause a lot of trouble at first. it’s used everywhere. some management software has .ssh/ hardcoded.

    they can’t be automatically backwards compatible, because it would mean an alternate location for a authorized_key file etc, which is dangerous. so, hosts updating need to be checked and migrated. some people will be locked out.

    however, after the initial chaos it should be fine.



  • yeah, that works. just small problems like maybe fixing the boot loader/efi or fstab because disks are enumerated differently or propietary drivers missing. you can also likely just export package manager selections, /etc, /var and your home dir as tarballs to change a fresh install of the same distro into yours.

    i also did the reverse: on a dual boot gentoo+debian with 2 HDs, i installed vmware in gentoo and configured the HD of the debian install as HD in the VM and it ran very well. the linux kernel autodetects all drivers at boot anyway. same for X or Wayland nowadays. (long ago, it was different and you would have needed to swap 2 X configs, for example, but nowadays it’s all very flexible and dynamic)