sooo ive recently installed zorin core17.the problem is that whenever i try to record or take a photo in cheese,it says theres an error with my webcam although it worked fine on windows.im 13 from pakistan and i tried troubleshooting it my self by trying ismod and others.it does appear as a device and has all the latest drivers plshelp.
niw the second prob.my headphone mic works fine in the recorder but when it comes to screen rec it doesnt work.also i have checked the setting but it still doesnt.
ill be waiting for mister Aravisian
Hi and welcome. In the meantime please open a terminal and enter:
sudo lshw -C video
and post back the results.
When you are screen recording what application are you using?
Zorin OS 17 is the first Zorin Edition to default to booting to the Wayland Display Protocol.
But the Cheese
application is much better supported in X11. The first thing you might try is just logging in on Zorin on Xorg
from the Log in screen.
If insistent on using Wayland, you can ensure that Pipewire and libcamera are installed
sudo apt install pipewire libpipewire-0.3-0 libcamera0
Then set Cheese to use Xwayland (Essentially, using Xorg behind Wayland) by modifying the .desktop file in /usr/share/applications
sudo -i
Launch Files;
nautilus
navigate to /usr/share/applications
and wheel down to teh org.gnome.cheese .desktop file. Open it with text editor and chance the exec line
Exec=env GDK_BACKEND=x11 cheese
Save the filee and close, then test Cheese.
Just a quick note to share that when I saw your suggestion to this person, I thought of trying it with OBS Studio, since the .DEB version of it inexplicably reverts the Adwaita cursor to the Breeze one when passing the mouse between OBS Studio and the Zorin desktop. Makes for an inconsistent visual experience. Annoying. In any case, I tried it (i.e., editing the desktop file and so on) for OBS Studio specifically, and nothing. Not sure why it wouldn't work, since in X11, the .DEB version shows the Adwaita mouse cursor perfectly (but not in Wayland). So I'm back to using the OBS Studio Flatpak as a solution. Weird. And thank you for posting this solution, too, for the other person. Didn't know this could be done. I learn new things about Linux thanks to you. I also didn't know about the "mask" command you posted about another time. I had done online searches prior, but nothing mentioned the same command. Anyway, yes. Just wish these things were more consistent across the board ...
OBS Studio does not use GDK, it uses Qt.
So specifying against GDK will not work.
You might instead test Exec=env QT_QPA_PLATFORM=xcb obs
Will try this a little later today. Thanks.
THUNDERATION! It worked!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you so much, @Aravisian! Wow.
So much to learn in the world of Linux. Gee.
@Aravisian - not to completely take away from the original poster's post (sorry!), but how in the HECK did you learn all of this stuff? I've done my due diligence in doing my own research about Linux and CLI stuff, but man, you are a genius when it comes to Linux. I bought a Linux book, and have read up on it some. I consult with Duck.ai when I'm in a never-before-seen situation, and ... yeah. My point is, I do my homework. When I thought I'd at least mastered the basics of Linux (emphasis: BASICS), here you come and teach us something NEW, and help fundamentally change our Linux experience. Again - how?! Thank you again.
For all the times I am stumped, or the obvious escapes me, I have a bit of a different perspective on my batting average.
But the above is a matter of env
environment variables.
I posted a couple days ago about how in Physics class in high school, I realized the power of rearranging an equation. In this case, it is similar: Some things are not a matter of rote memorization or looking up a specific command; but getting the lists of variables and applying them to anything that accepts parameters. e.g.:
https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html
Looking up the 'what" might be a viable method, but looking up the "why" may be a method to get more in depth answers if the "what" doesn't cut it.
I will look at the link later. Thank you again. Because of you, my Zorin install is once again a .DEB-only affair. No Flatpaks. Really do appreciate all your help. Cheers.
Update:
So I remembered about how I had issues with Brasero acting wonky in Wayland. The program window would keep moving its position in between sessions. So I gave up and installed Xfburn instead. I didn't like it, but I made do. Anyway, I gave this trick a try with Brasero (with GDK, not QT, because Brasero uses GTK). I modified the "ENV" (environment) variable to: "env GDK_BACKEND=x11 brasero %U" in the "EXEC" line. Boom! It worked. The program window shows consistent behavior in between sessions. Stays in one spot. Happy camper here. Cheers.
I think you have gotten more out of this thread than the O.P. has...
GDK_BACKEND=x11 variable is what I'm using to get Gimp and Inkscape to use global menu in Wayland on KDE
Haha! Right you are ...
@Aravisian has AI...
meaning Actual Intelligence
and we have been giving him a lot of interesting problems and issues for training his knowlege base over the years.
Aravisian in one of the best troubleshooters around here. Without him the forum would have had alot of open issues.
I don’t want to bash others who help here so don’t get me wrong.