• 0 Posts
  • 28 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
  • diff -y -W 200 file1 file2

    Shows a side by side diff of 2 files with enough column width to see most of what I need usually.

    I have actually aliased this command as diffy

    ctrl-r

    searching bash history

    du -sh * | sort -h

    shows size of all files and dirs in the current dir and sorts them in ascending order so you can easily see the largest files or dirt ant the end of the list

    ls -ltr

    Shows the most recently modified files at the end of the listing.


  • If you are going to dual boot and your computer has room for 2 drives. The way I would recommend doing it is to add a second drive for Linux, and disconnect to windows drive from the computer. Do a normal linux install. And then add the windows drive back in. Then you can set one of the drives as the default boot device and if you want to boot to the other just open the Boot options on boot.

    This keeps things totally separated and you can even remove one of the drives later if you want to single boot.



  • I was a poor kid living in Hawaii in the mid 90’s.

    Wendy’s in Hawaii had a salad bar. If you ordered the “dine in” salad bar, they gave you a fairly small plate and you were allowed one trip.

    If you ordered it to go, you still had the one trip restriction, but they would give you a big plastic clamshell to go container. They assumed you would put food in the bottom of the container and close it up and leave.

    Not me. I would order to go, but fill both halves of the container and eat it all at one of the tables. Usually one of the halves was mostly Chocolate pudding and cheezy crackers.




  • Every distro with gnome.

    Make RDP work as well as it does on Windows.

    I’m talking about remoting into the Linux system.

    Everytime the system is restarted you have to physically login to the system to unlock the keyring so that your RDP password is accessible or you won’t be able to get in. Or you have to remove your keyring password all together. Why is this different than the regular user password?

    Also it’s weird that it works like VNC where you are controlling the system remotely but anyone local can see what you are doing on the screen. It is also cool to have that option but it shouldn’t be the default.








  • I have some strange power issues with my laptop that may have a similar cause.

    I put an additional drive in my work laptop so I could debian for work without nuking the system drive.

    Shutting down usually always works properly but rebooting gets stuck sometimes. It’s like it gets to the bottom of the reboot cycle and loses the ability to say “okay boot back up now”. On my laptop, it’s obvious that it is still on because of the light on the power button. I hold it down for about 12 seconds until it goes off and then I can power it back on.

    I wonder if your surface is doing a similar thing where it is still powered on but not booted. You might try hiding the power button down for about 15 seconds and then hitting it again when it’s in this state.





  • Using RDP clients like Remmina is great. The problem is running a RDP server in linux.

    In order to connect you must already be logged in to the remote computer locally and have unlocked your keychain. If the remote computer lost power and rebooted you will not be able to get in unless you have set the computer to login automatically and have set the keychain password to be blank, which is not great for security.

    You can not use a different screen resolution in the client than you have setup in the server. This means that using “RD Client” on my Android phone to connect to my desktop computer with a resolution of 1920x1080 doesn’t work. I need to use an alternate RDP client on my phone where a I can specify a custom resolution of 1920x1080. And then the user interface is tiny and does not fill my screen.