Score:0

What is the best way to temporarily set an enviornmental varabile?

au flag
j0h

I'm building a breathalyzer for my computer. If the breathalyzer fails, I want to set an environmental variable to make all instances of the web-browser to open in incognito mode.

Im debating whether I should try to set this up as a cronjob using the at command, but I'm wondering of there is a better way.

This is a novelty project for the lulz.

waltinator avatar
it flag
Environment variables that you set affect only your process and its child processes. Maybe a file in `/var/run`? You will have to modify the `firefox` script to pick a profile based on the file. You'll have to predefined incognito and normal Firefox profiles.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.