• 0 Posts
  • 216 Comments
Joined 10 months 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.




  • This is the wiki of an old game: wiki.spiralknights.com

    As you can see, on mibile the text is hard to read and you have to zoom and move around a lot to navigate. It’s the same software as wikipedia, but an older design.

    What responsive UI optimization does is it changes all of this into vertical scrolling and makes it readable right away. You just swipe up until you see what you wanted to. As you can see on the modernized en.m.wikipedia.org on mobile the search is right on top and the font size and zoom are easily readable. If you tilt your phone it auto rearranges some content for better readability. That’s what some people and designers want for sites nowadays.

    I have used the search of that old game a lot and I tell you: It sucks when you miss tapping the search box and hit a button instead. It loads a different page and the server is often slow. I could prevent it by pinch zooming beforehand, so it’s more easy to hit, but it’s unintuitive. I usually forget to do it.


  • 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)