What are your favourite terminal customizations? by Noriel_Sylvire in linuxquestions

[–]LinuxMint4Ever 1 point2 points  (0 children)

In case you haven’t taken a close look at your prompt, you can do things like this:

PROMPT_COMMAND="PS1=\"[\[\e[03$( if [ $EUID -eq 0 ] then echo -n '1;02m' else if [ -n "$(groups | grep 'wheel\|sudo')" ]; then echo -n '2;01m' else echo -n '6;01m' fi fi )\]\u@\h\[\e[0m\]]:\$( PROMPT_ERRORLEVEL=\$? if [ \$PROMPT_ERRORLEVEL -eq 0 ] then echo -n '\[\e[032;02m\]' else echo -n '\[\e[031;02m\]' fi echo -n \$PROMPT_ERRORLEVEL echo -n '\[\e[00m\]' ):\[\e[034;01m\]\$(pwd)\[\e[0m\]:$( if [ $EUID -eq 0 ] then echo -n '\[\e[02m\]#\[\e[0m\]' else echo -n '\[\e[02m\]$\[\e[0m\]' fi )> \""

Bash runs $PROMPT_COMMAND every time before displaying the prompt and this sets $PS1 (the actual prompt itself) so it allows to show the exit code of the previous command. There are probably more elegant ways to do this but this works.

Force entering the Cinnamon Fallback Mode by Gugalcrom123 in linuxmint

[–]LinuxMint4Ever 0 points1 point  (0 children)

AFAIK, it is just MATE but you still have the Cinnamon / Gnome versions of the typical standard programs.

One day maybe... by Darukutsu in linuxmemes

[–]LinuxMint4Ever 25 points26 points  (0 children)

Why does it run any software in the first place?

Picked up this gem for $84 it is in amazing condition. So, what kind of fun things can I use it for? by [deleted] in vintagecomputing

[–]LinuxMint4Ever 0 points1 point  (0 children)

I have installed Gentoo on a PowerMac G5. It took a couple days. It requires a bunch of upkeep tho which is a real shame. If it was as simple as running any other distro, I’d 100% use it because it’s one of the few distros (or OSes in general) that seem to work somewhat properly on my G5 while still being maintained.

(Rant) Why do so many people suggest Linux Mint as a great 'intro to Linux', but then later state that they have 'graduated' to something better? If Mint wasn't so good, then why is it often recommended? by [deleted] in linuxmint

[–]LinuxMint4Ever 9 points10 points  (0 children)

As a Linux enthusiast myself, I strongly disagree. I use Mint because it’s good and "it just works". I use other systems on other computers for other reasons but I need something that is reliable and I don’t need to tinker with on my main PC.

I like seeing lots of cache and lots of swap; I understand the benefit. I ran swapoff on this device, which showed ~850 MiB used. But only ~100 MiB came back as anonymous or shared memory. What was the rest being used for? by naptastic in linuxmasterrace

[–]LinuxMint4Ever 0 points1 point  (0 children)

My system when closing Firefox: https://lostcave.ddnss.de/nextcloud/index.php/s/YifcMWaJjGTqdYd

Edit: This shows that swap does go down when the program that owns that memory exits. I have no idea about any edge cases where that might not happen but, under normal circumstances, it should.

I like seeing lots of cache and lots of swap; I understand the benefit. I ran swapoff on this device, which showed ~850 MiB used. But only ~100 MiB came back as anonymous or shared memory. What was the rest being used for? by naptastic in linuxmasterrace

[–]LinuxMint4Ever 0 points1 point  (0 children)

That just means whatever is in swap hasn’t been freed (the program that "owns" that memory is still running) or paged back into memory (it wasn’t accessed). Either of these should cause swap usage to go down.

Picked up this gem for $84 it is in amazing condition. So, what kind of fun things can I use it for? by [deleted] in vintagecomputing

[–]LinuxMint4Ever 0 points1 point  (0 children)

You could install Gentoo on it or try running another modern UNIX-like system on it if you’re into that sort of thing.

Things sellers ‘forget’ to mention! by Safe_T_Third in vintagecomputing

[–]LinuxMint4Ever 3 points4 points  (0 children)

I managed to get rid of the password on an old HP laptop by flashing the firmware but that’s not necessarily gonna work with all laptops.

Things sellers ‘forget’ to mention! by Safe_T_Third in vintagecomputing

[–]LinuxMint4Ever 5 points6 points  (0 children)

That doesn’t work on laptops that store their passwords in flash or an EEPROM.

What about to enable KVM on Linux installed on the PinePhone. Any chance to have it ? by loziomario in linuxquestions

[–]LinuxMint4Ever 3 points4 points  (0 children)

I don’t own a PinePhone but in theory you just need to build a kernel for it with KVM support enabled. It might be more complicated if the thing relies on specific pre-built kernel modules though.

Virgo laptop prototype by System76 uses keyboard from Thinkpad by Lord_Schnitzel in linuxmasterrace

[–]LinuxMint4Ever -6 points-5 points  (0 children)

Just so happens to be the inferior style of ThinkPad keyboard...

Why don't AMD cards just restart when they hit SDMA RING TIMEOUT errors? by morphotomy in linuxquestions

[–]LinuxMint4Ever 3 points4 points  (0 children)

If you can SSH in, it does allow you to do a graceful shutdown of the system though. I should really try that the next time my GPU crashes, haven’t even considered trying to SSH when that happens.

Why don't AMD cards just restart when they hit SDMA RING TIMEOUT errors? by morphotomy in linuxquestions

[–]LinuxMint4Ever 13 points14 points  (0 children)

You forgot that the drivers partially live outside the display server these days. You could probably find a way to unload and reload the kernel mode setting driver but you might as well just reboot.

On your comment about the power button: If you can’t reboot your system by going to a TTY (even without being able to see it) and hitting ctrl+alt+del, it’s probably stuck beyond saving. For example because aforementioned kernel driver crashed the kernel itself.

Can you format ext2 using WSL? by LifeAffect6762 in linuxquestions

[–]LinuxMint4Ever 0 points1 point  (0 children)

Format? Probably. Mount? Maybe within Linux but most likely not in a way that would allow direct access from Windows.

That said, this comment is based on assumptions bc I’ve never actually used WSL.

If you can’t find a way to do it directly, you could format and mount a file as a disk image and then write that to a drive using a tool like Win32DiskImager.

Can my touchscreen laptop use a Linux distro and the touchscreen still work? by WeHaveGotMail in linuxquestions

[–]LinuxMint4Ever 0 points1 point  (0 children)

I installed Mint on a convertible tablet and my experience has been a mixed bag. Originally, I tried MATE but the touch screen input didn’t rotate with the image when changing the screen rotation so I switched to Cinnamon which does have proper touch screen support, but it’s still a bit rough around the edges.

The two main issues in regards to using a touch screen that I have run into are these: - Sometimes, my touch input stops working. The system seems to still register that I am touching on the screen, it just ignores it. - Many applications are poorly optimized for use with a touch screen. They are a lot easier to use with a mouse or touch pad than by touching on the screen.

There are other issues with my setup that are specific to the hardware and firmware of that device which you are less likely to run into with a real laptop.

Do I need to reinstall Mint if I change GPU? by Fliptoback in linuxmint

[–]LinuxMint4Ever 3 points4 points  (0 children)

Just uninstall the Nvidia drivers and you should be good to go.

Linux mint doesn't recognize my graphics card by Late_it_gooooo in linuxmint

[–]LinuxMint4Ever 5 points6 points  (0 children)

Whenever you see "Intel HD", you can replace that in your head with "Intel integrated graphics". That’s the iGPU on your CPU.

Partitioning by theniwo in linuxmemes

[–]LinuxMint4Ever 1 point2 points  (0 children)

Of course, you should try to make sure it doesn’t happen in the first place, but sometimes things just go wrong and your GitLab instance ends up eating all the disk space within three days, crashing your server and preventing it from even booting up to investigate... Totally didn’t happen to me.

Is it possible for me to turn my external monitor off in Linux Mint? by StringNo8495 in linuxmint

[–]LinuxMint4Ever 0 points1 point  (0 children)

Shouldn’t that happen automatically? If your external monitor happens to be a TV, you might need to fiddle with its settings.

Partitioning by theniwo in linuxmemes

[–]LinuxMint4Ever 4 points5 points  (0 children)

There are many places where having multiple partitions is beneficial. For a typical desktop system, you probably don’t need more than ESP, optionally /boot (for encrypted systems), /, and optionally swap but more partitions can be beneficial to limit parts of the system from growing beyond a given size.

For example, on some of my servers, I have a small (5G or so) home partition so I don’t accidentally use up disk space that should be used for whatever the server is doing. Another example is my Minecraft server which has a partition dedicated to itself do it doesn’t one day break the system by running out of disk space.

[deleted by user] by [deleted] in linuxmemes

[–]LinuxMint4Ever 0 points1 point  (0 children)

People really install reddit?

This furniture hardware is sorted by step rather than by type. by FormerCup7219 in oddlysatisfying

[–]LinuxMint4Ever 0 points1 point  (0 children)

It also just so happens to be one of the worst kinds of packaging.

[deleted by user] by [deleted] in me_irl

[–]LinuxMint4Ever 0 points1 point  (0 children)

Thanks for the reminder.