Search found 26623 matches

by xenopeek
Mon Oct 07, 2024 1:54 pm
Forum: Software & Applications
Topic: cron does not run my defined jobs
Replies: 4
Views: 57

Re: cron does not run my defined jobs

MSNBC wrote: Mon Oct 07, 2024 1:39 pm I don't use this 'Crontab' in terminal.
Why did you put it in the crontab commands then? I'd expect you'd use rkhunter --update as command in the crontab, not Crontab rkhunter --update.
by xenopeek
Mon Oct 07, 2024 1:34 pm
Forum: Software & Applications
Topic: cron does not run my defined jobs
Replies: 4
Views: 57

Re: cron does not run my defined jobs

#Clear swap 0,20 * * * * root Crontab /usr/sbin/swapoff -a && /usr/sbin/swapon -a #Clear cached RAM */15 * * * * root Crontab free && sync && echo 3 > /proc/sys/vm/drop_caches && free #Update Rootkit Hunter 0 0 * * 1 root Crontab rkhunter --update What is that Cronta...
by xenopeek
Mon Oct 07, 2024 11:17 am
Forum: Scripts & Bash
Topic: [SOLVED elegantly] Renaming files in a directory - with a small twist
Replies: 11
Views: 175

Re: [SOLVED elegantly] Renaming files in a directory - with a small twist

This is one case where ChatGPT is useful. If you ask it to: can you explain the regular expression 's/([0-9]+) +[0-9]+ +(.*)/\1 \2/' I think you'll get enough information from it to understand what's going on there. It doesn't understand bash extglob patterns correctly so it can't help with the othe...
by xenopeek
Mon Oct 07, 2024 9:24 am
Forum: Scripts & Bash
Topic: [SOLVED elegantly] Renaming files in a directory - with a small twist
Replies: 11
Views: 175

Re: [SOLVED elegantly] Renaming files in a directory - with a small twist

The ls argument +([0-9])+(\ )+([0-9])+(\ )*.jpg , also the 2nd argument to rename, is a shell extglob pattern. It selects which files to work on. Docs here: https://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html. Could have done *.jpg but with extglob you can select precisely only ...
by xenopeek
Mon Oct 07, 2024 8:04 am
Forum: Scripts & Bash
Topic: [SOLVED elegantly] Renaming files in a directory - with a small twist
Replies: 11
Views: 175

Re: Renaming files in a directory - with a small twist

First in that directory check if this command lists the files that need renaming:

Code: Select all

ls -1 +([0-9])+(\ )+([0-9])+(\ )*.jpg
If so you can run this command to do the rename for those files:

Code: Select all

rename -v 's/([0-9]+) +[0-9]+ +(.*)/\1 \2/' +([0-9])+(\ )+([0-9])+(\ )*.jpg
by xenopeek
Mon Oct 07, 2024 7:22 am
Forum: Scripts & Bash
Topic: [SOLVED elegantly] Renaming files in a directory - with a small twist
Replies: 11
Views: 175

Re: Renaming files in a directory - with a small twist

Are there literal brackets [] in the filenames?
by xenopeek
Mon Oct 07, 2024 7:20 am
Forum: Nederlands - Dutch
Topic: twee systeemschijven?
Replies: 12
Views: 245

Re: twee systeemschijven?

Je kunt met het Disks programma een nieuwe ext4 partitie aanmaken op de 120 GB schijf. Nadat je de partitie hebt aangemaakt, klik op die partitie in Disks en dan op de tandrad knop er onder. Dat opent een menuutje. Kies "Edit Mount Options". Ik weet niet wat de tekst in het Nederlands is m...
by xenopeek
Mon Oct 07, 2024 5:29 am
Forum: Beginner Questions
Topic: [SOLVED] HOW do I create partitions on a disk?
Replies: 15
Views: 270

Re: HOW do I create partitions on a disk?

It does not offer the ability to create a partition table when you format a new disk that comes without one :( That's nonsense. Click the disk on the left, click the menu button top right and select Format Disk. That lets you choose which partition table to format the disk with. Partitions created ...
by xenopeek
Sun Oct 06, 2024 5:09 pm
Forum: Software & Applications
Topic: LS command sorting questions
Replies: 3
Views: 81

Re: LS command sorting questions

With your sorting requirements at odds with collation rules and with ASCII order, I suppose you have 3 options if accepting how it works isn't an option: 1. write a wrapper program around ls, that parses its output and re-sorts it according to your rules 2. patch your ls to hard code those rules in ...
by xenopeek
Sat Oct 05, 2024 4:09 pm
Forum: Beginner Questions
Topic: Security concerns for Root
Replies: 4
Views: 142

Re: Security concerns for Root

Here's one from last year: https://www.phoronix.com/review/fedora-38-encryption. Most of the benchmarks show almost no difference in performance with real world use. On modern hardware it shouldn't be noticeable. The CPU does encryption/decryption faster than the data can be written to/read from the...
by xenopeek
Sat Oct 05, 2024 3:25 pm
Forum: Beginner Questions
Topic: Security concerns for Root
Replies: 4
Views: 142

Re: Security concerns for Root

Same as with Windows: if you don't use disk encryption, your files aren't encrypted and anybody with physical access to the computer can get your files. They do not need to know any password for that. Not on Windows, not on Linux. The Linux Mint installer offers full disk encryption (on the installa...
by xenopeek
Sat Oct 05, 2024 6:11 am
Forum: Forums Feedback
Topic: Forum: include System Information in support requests
Replies: 17
Views: 598

Re: Forum: include System Information in support requests

I've added a placeholder text when you make a new topic in the Beginner Questions, Hardware Support or Networking forums. In the area where you write the topic text it will now show this until you type something: Make sure to include your Linux Mint system information. (System Reports > System Infor...
by xenopeek
Sat Oct 05, 2024 3:49 am
Forum: Software & Applications
Topic: Where does nemo store directory specific display information?
Replies: 17
Views: 325

Re: Where does nemo store directory specific display information?

In filesystem metadata. You can run gio info -a metadata /path/to/directory to show the metadata for a directory.
by xenopeek
Fri Oct 04, 2024 2:21 pm
Forum: Other topics
Topic: Language support and flags
Replies: 3
Views: 101

Re: Language support and flags

I didn't know that the MATE edition also uses mintlocale https://github.com/linuxmint/mintlocale. That in turn uses iso-flag-png for the icons https://github.com/linuxmint/flags. For the minority languages, like Basque and Catalan, it has this simple code to make them use a different flag: https://g...
by xenopeek
Fri Oct 04, 2024 11:55 am
Forum: Other topics
Topic: Language support and flags
Replies: 3
Views: 101

Re: Language support and flags

These forums are for users-helping-users with Linux Mint problems. It's fine to ask here if you only want to change the flag for yourself. If you want to change it for all Occitan Linux Mint users you'll have to suggest it to the developers of whatever is the "language support screens". If...
by xenopeek
Fri Oct 04, 2024 5:38 am
Forum: Software & Applications
Topic: LM22: Archive Manager crashes (file-roller:83046): GLib-CRITICAL **)
Replies: 12
Views: 436

Re: LM22: Archive Manager crashes (file-roller:83046): GLib-CRITICAL **)

Linux Mint 22 uses an older, now unmaintained version of file-roller by default. As answered several times on similar topics, you can try if upgrading your file-roller to the Ubuntu 24.04 version solves the issues:

Code: Select all

apt install -t noble file-roller
by xenopeek
Thu Oct 03, 2024 12:24 pm
Forum: Nederlands - Dutch
Topic: twee systeemschijven?
Replies: 12
Views: 245

Re: twee systeemschijven?

faroud wrote: Thu Oct 03, 2024 12:06 pm Zover ik kan zien staan beide systemen linux mint 21.3 en de 22 op een en dezelfde partitie?
Er kan op 1 partitie maar 1 OS geïnstalleerd zijn. Zie bovenstaand output van lsblk; LM 22 staat op sda, LM 21.3 dus op sdb.
by xenopeek
Thu Oct 03, 2024 5:04 am
Forum: Nederlands - Dutch
Topic: twee systeemschijven?
Replies: 12
Views: 245

Re: twee systeemschijven?

Je systeemschijf is de 120 GB schijf. De 240 GB schijf zou je opnieuw kunnen partitioneren met het Disks (gnome-disks) programma en dan er een nieuwe, lege ext4 partitie op aanmaken. In Disks de schijf links kiezen en dan rechtsboven de menu knop klikken en kiezen om de schijf te formatteren. Daarna...
by xenopeek
Thu Oct 03, 2024 3:04 am
Forum: Chat about Linux Mint
Topic: The update frequency of Mint's Firefox: an increasing security concern?
Replies: 42
Views: 1999

Re: The update frequency of Mint's Firefox: an increasing security concern?

Iconian wrote: Thu Oct 03, 2024 1:55 am Do the Mint devs have to update Brave periodically as well?
No. Brave is not available from the standard repositories. You either installed it from Flathub or added the Brave repository and installed it from there. It's updated by Brave developers in either case.
by xenopeek
Wed Oct 02, 2024 3:48 pm
Forum: Non-technical Questions
Topic: My comments on the monthly blog posts are not showing up. Am I being censored?
Replies: 4
Views: 263

Re: My comments on the monthly blog posts are not showing up. Am I being censored?

Email is on the main website (top right corner email icon). Else if you're on Matrix you can try the development channel.

Go to advanced search