Search found 22970 matches

by xenopeek
Sun Aug 01, 2021 8:39 am
Forum: Scripts & Bash
Topic: What does $(( x^y )) actually do ?
Replies: 5
Views: 117

Re: What does $(( x^y )) actually do ?

1000 wrote:
Sun Aug 01, 2021 8:24 am

Code: Select all

Input   Input   |    Output
A 	B 	|    A OR B
_________________________
0 	0 	|    0
0 	1 	|    1
1 	0 	|    1
1 	1 	|    1 
Table - how " OR " working from: https://en.wikipedia.org/wiki/OR_gate
Irrelevant, this is about XOR.
by xenopeek
Sun Aug 01, 2021 6:23 am
Forum: Scripts & Bash
Topic: What does $(( x^y )) actually do ?
Replies: 5
Views: 117

Re: What does $(( x^y )) actually do ?

The manual says ^ is a bitwise exclusive OR operation: https://www.gnu.org/software/bash/manual/html_node/Shell-Arithmetic.html Bitwise exclusive OR means to compare each bit of the operands and set the corresponding bit in the result to 1 if the bits differ, or to 0 if they are equal. 0010 (2 decim...
by xenopeek
Sun Aug 01, 2021 5:56 am
Forum: Beginner Questions
Topic: Update manager has dissapeared
Replies: 1
Views: 48

Re: Update manager has dissapeared

Try starting Update Manager from the terminal. That may show an error that will provide a clue. Open terminal from your menu and run this command:
mintupdate

Copy any output and share it here. You can can select all & copy text through the terminal's Edit menu.
by xenopeek
Sat Jul 31, 2021 1:56 pm
Forum: Software & Applications
Topic: [closed] Backup Tool bug
Replies: 2
Views: 87

Re: Backup Tool bug

Backup Tool is for one-time backups of your personal files. Typical use of Backup Tool is to make a full backup of personal files before doing fresh Linux Mint install. For recurring backup of personal files you'd use a different backup program—use the right tool for the right job and all that. Simi...
by xenopeek
Sat Jul 31, 2021 5:54 am
Forum: Software & Applications
Topic: I couldn't get Google Chrome on Mint 20.2 and now I get this error
Replies: 4
Views: 135

Re: I couldn't get Google Chrome on Mint 20.2 and now I get this error

Usually with a manually downloaded .deb file you will indeed have to update it yourself. But Google Chrome, and certain other big name programs, do add their software repository to your system when you install the .deb file. You can check in Software Sources, you should find Google Chrome in additio...
by xenopeek
Sat Jul 31, 2021 5:28 am
Forum: Software & Applications
Topic: I couldn't get Google Chrome on Mint 20.2 and now I get this error
Replies: 4
Views: 135

Re: I couldn't get Google Chrome on Mint 20.2 and now I get this error

Then you made a mistake with step 3. To undo, simply delete that file: sudo rm -v /etc/apt/sources.list.d/google-chrome.list And instead then I suggest to use method 2. Basically: 1. Go to https://www.google.com/chrome/index.html 2. Download the .deb file, save to disk 3. Double-click the downloaded...
by xenopeek
Fri Jul 30, 2021 1:40 pm
Forum: Scripts & Bash
Topic: Conversation about the GUI for scripts.
Replies: 1
Views: 116

Re: Conversation about the GUI for scripts.

If you write programs and you wish to do nothing in code for 20 years and you wish the code was safe, so which language will be better for creating a GUI ? You want to do nothing to your GUI code for 20 years and still have it work after that time? I think that's not realistic. But, RedHat give 12 ...
by xenopeek
Fri Jul 30, 2021 12:19 pm
Forum: Chat about Linux Mint
Topic: Unable to donate via Paypal
Replies: 2
Views: 124

Re: Unable to donate via Paypal

Thanks for wanting to support the Linux Mint developers! Right now PayPal payments from your country can't be accepted by Linux Mint. Apologies. As a possible workaround you could instead use Patreon. You'll find the Patreon link on the same https://linuxmint.com/donors.php page. Patreon is for recu...
by xenopeek
Fri Jul 30, 2021 5:04 am
Forum: Cinnamon
Topic: Control Center is gone!
Replies: 4
Views: 176

Re: Control Center is gone!

Do other Python programs work? For example do Update Manager and Software Manager work ok? Can you recall what specifically Python related you installed and from where, or which guide you followed? Try if you can still open Users & Groups from the menu. If so, create a new user account. Log out ...
by xenopeek
Thu Jul 29, 2021 2:48 pm
Forum: Beginner Questions
Topic: installing programs
Replies: 1
Views: 94

Re: installing programs

It sounds like you have a 32-bit installation of Linux Mint 19.3. Google no longer supports 32-bit software, only 64-bit. There are no workarounds: you need a 64-bit installation of Linux Mint to be able to install Google Chrome. That would mean doing a fresh install of Linux Mint from a 64-bit ISO ...
by xenopeek
Thu Jul 29, 2021 2:13 pm
Forum: Cinnamon
Topic: Control Center is gone!
Replies: 4
Views: 176

Re: Control Center is gone!

Did you already try starting it from the terminal? If not, do that with command cinnamon-settings and see if there are any errors. It's written in Python so if you installed any Python versions or libraries from outside the Linux Mint software repositories (what all the Python programs in Linux Mint...
by xenopeek
Thu Jul 29, 2021 6:49 am
Forum: Open Chat
Topic: Do you see what I see?
Replies: 4
Views: 177

Re: Do you see what I see?

I don't know. How long is a piece of string?
by xenopeek
Thu Jul 29, 2021 6:09 am
Forum: Open Chat
Topic: Do you see what I see?
Replies: 4
Views: 177

Re: Do you see what I see?

Four year old story. What are you, an internet archeologist? Reposter supreme? I don't get it :)
by xenopeek
Wed Jul 28, 2021 4:22 pm
Forum: Software & Applications
Topic: A "WINE" for MacOS?
Replies: 12
Views: 358

Re: A "WINE" for MacOS?

There is, it's called Darling: https://www.darlinghq.org/. But it's not quite ready yet to run GUI programs according to the website. I don't know what the best approach for updating Garmin GPS units is on Linux. It might be simplest to keep a Windows machine around for that, until Garmin or a compe...
by xenopeek
Wed Jul 28, 2021 12:18 pm
Forum: Installation & Boot
Topic: Upgrade glitch 19.3 to 20: encrypted swap doesn't exist
Replies: 3
Views: 104

Re: Upgrade glitch 19.3 to 20: encrypted swap doesn't exist

So in both your point 3 and 4 above there is reference to an encrypted swap partition. In 4 it is mapped to cryptswap1 and in 3 it is mounted with that mapped name. Perhaps you already deleted that partition but I guess this is what mintupgrade stops on. Check the UUID from /etc/crypttab file and if...
by xenopeek
Wed Jul 28, 2021 10:28 am
Forum: Installation & Boot
Topic: Upgrade glitch 19.3 to 20: encrypted swap doesn't exist
Replies: 3
Views: 104

Re: Upgrade glitch 19.3 to 20: encrypted swap doesn't exist

Just to confirm, if you run the command swapon --show it returns nothing? The "encrypted swap: known issue" text I can't find in mintupgrade. Is that the exact message you got? Can you run the check again and copy all output from the terminal and share it here --- you can select all text a...
by xenopeek
Wed Jul 28, 2021 10:14 am
Forum: Open Chat
Topic: Brainteaser for those who like to have their brains bent
Replies: 14
Views: 482

Re: Brainteaser for those who like to have their brains bent

It's a false statement. Let's assume for a minute this statement is true, truth value being 1. "This statement is false" can then be simplified to 1 == 0. The question whether it's a false or true statement can then be calculated. In bash test 1 -eq 0 && echo true || echo false ans...
by xenopeek
Wed Jul 28, 2021 1:55 am
Forum: Beginner Questions
Topic: A '.desktop' architecture question
Replies: 1
Views: 159

Re: A '.desktop' architecture question

To be clear, neither the Linux Mint installer nor Software Manager put .desktop files in your home directory. They only install .desktop files in /usr/share/applications, if a package for a program includes a .desktop file. And mind the dates; most of these files were created in 2019. Bit of info th...
by xenopeek
Tue Jul 27, 2021 4:19 pm
Forum: Beginner Questions
Topic: [SOLVED] Using newest Python versions (Or: "When One plays with a Python, One usually gets bit...lol.")
Replies: 15
Views: 414

Re: Using newest Python versions (Or: "When One plays with a Python, One usually gets bit...lol.")

It's fine to install multiple Python versions on Linux Mint. What is not fine is replacing your system's default Python version (that is, leave the file /usr/bin/python3 untouched) or uninstalling it. If you're a Python programmer I'm not telling you anything new that newer versions of Python can ha...
by xenopeek
Tue Jul 27, 2021 11:19 am
Forum: Beginner Questions
Topic: Latest version of KDE
Replies: 9
Views: 331

Re: Latest version of KDE

If you're happy to experiment and reinstall if this blows up :!: you could try removing the backports repository and instead add the KDE Neon repository. Put these lines in your /etc/apt/sources.list file, or in the file /etc/apt/sources.list.d/neon.list: deb http://archive.neon.kde.org/user focal m...