Since I recently changed from Chrome to Firefox, I’ve realized that Firefox does not make switching profiles as easy as Chrome does. You either need to
Launch Firefox with the -P command line parameter
Navigate to about:profiles and launch it from there
I wanted to have two separate taskbar icons that can help me differentiate between my profiles. In my case, Work and Personal.
I recently switched back over to Firefox again. As of yesterday I was using Firefox for Personal browsing and Chrome for work. Firefox doesn’t have a nice way to switch profiles on the fly and having to have a dedicated .desktop file with the “-p” option was a no go.
What I ended up figuring out was that in Linux Mint, I can modify the .desktop file that Firefox ships with to add an additional option to the right-click menu on the grouped window taskbar applet.
The default options that Firefox ships with are great but I want to add another for “Select a Profile”.
At the time of writing, Linux Mint stores it’s firefox.desktop (and a lot of other .desktop files) in the /usr/share/applications folder.
Let’s edit that file. You will first see a [Desktop Entry] on the first line. Scroll down until you see:
Today I had a customer report that on their Snom IP phones (specifically the D735 and D785 in my case), when they set the volume, after some time, it gets reset to max. Since they are a small office and have a ring-all ring group, it gets loud.
I suspected that the phone must be pulling it’s config periodically and that the provisioning template may be overriding what the user has set.
I logged into the web interface of one of the phones and manually set the volume to 1. I then manually provisioned the phone via PBXacT and it did indeed change the value to the max.
To stop this from happening, we will need to edit the base file of the template.
Go to Endpoint Manager > Basefile Edit and choose your template. Next choose the model of phone that you’d like to fix from the list on the left side.
Search the XML for vol_ringer and click on that line.
On the popup, edit the Perm field, which should be blank, and add a !
It should look like this:
The ! means that if the user has modified this setting, the phone should keep the modified option by the user. If the user has not modified this option, then the phone should take the provisioned value.
I have a web camera that has a built-in mic. It sometimes happens that my application will use that mic vs my headset mic because of reasons unknown.
I wanted to be able to disable the system from allowing the mic driver to be loaded so that it can never be used. To accomplish this I used the Linux udev rules to stop the kernel from loading the audio drivers for my device specifically.
Step 1: Find your device’s ID
$ lsusb | grep -i 'camera\|dualshock' Bus 001 Device 016: ID 0c45:636b Microdia USB 2.0 Camera Bus 001 Device 009: ID 054c:09cc Sony Corp. DualShock 4
sudo printf "# Block Mic from Webcam\nSUBSYSTEM==\"usb\", DRIVER==\"snd-usb-audio\", ATTRS{idVendor}==\"0c45\", ATTRS{idProduct}==\"636b\", ATTR{authorized}=\"0\"" | sudo tee /etc/udev/rules.d/01-webcam-mic.rules
sudo printf "# Block Mic from Dual Shock 4\nSUBSYSTEM==\"usb\", DRIVER==\"snd-usb-audio\", ATTRS{idVendor}==\"054c\", ATTRS{idProduct}==\"09cc\", ATTR{authorized}=\"0\"" | sudo tee /etc/udev/rules.d/02-dualshock-mic.rules
For the past few weeks I have had this very annoying issue with my new 2022 Thelio from System 76. The issue was that, when I would leave my desk for a bit and my monitors would turn off, sometimes, the right monitor would no longer be configured as part of the Join Display setting.
I would have to go into the settings or type Super+P to get it joined again which, over the course of a day, can be many times.
I worked with System 76’s support team and we were able to resolve it.
I wanted to share the solution in-case anyone runs into this issue in the future.
The following command, as the man page states, “disables DPMS (Energy Star) features”.
I ran into an issue installing spotifyd on my Linux Mint PC and I wanted to document what was required to fix this.
The error:
error[E0658]: use of unstable library feature 'bool_to_option'
--> src/config.rs:636:57
|
636 | .map(|path| Cache::new(Some(&path), audio_cache.then_some(&path), size_limit))
| ^^^^^^^^^
|
= note: see issue #80967 <https://github.com/rust-lang/rust/issues/80967> for more information
To me this werror meant nothing. Apparently, according to a github issue, there is a bug in the Rust compiler. To fix this we need to uninstall rust from the Ubuntu/Lint repository and install it using a different command.
The rsync command above is what I used. Keep in mind that since the /docker path was owned by root, I had to temporarily add the following to my sudoers file:
I recently ran into an issue where my Media Keys were not working on Linux Mint. They would work if I rebooted, however, they would eventually stop working.