Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Wednesday, March 12, 2025

Ubuntu 22.04 Wayland share screen

 After switching to Dell XPS 13 which running Ubuntu 22.04, I noticed that trying to share screen through Google Meet, it shows this:-

 


 This - Use operating system settings, I never saw it before. Usually here we will be presented the windows that we want to share.

 It turned out that screen sharing in Ubuntu 22.04 indeed an issue, due to the use of Wayland instead of Xorg as its display server. Many suggested to disable wayland and back to use Xorg. I try to avoid that since Wayland seems to works fine so far.

After some searching, the conclusion seems we can make this working by installing some packages.

sudo apt install xdg-desktop-portal xdg-desktop-portal-gnome

But it turned out that I have already installed the packages! So what were the problems?

 Well, turn out it's more psychological than technical. Since the pop up is different than what I'm used to before, I never click the allow button. But clicking the allow button we will see this:-

 


Which is what I'm looking for - a way to specify which window I want to share.



Sunday, September 18, 2011

Bluetooth modem in Ubuntu 10.04

Finally work with my Samsung GT-E2230M. Although I'll not be using this since there're abundant of much cheaper and faster 3G connections, who know I'll need it some day so it's good to know that it could. The blueman package in the standard repositories so far provided all the bluetooth functionalities that I need so far.

Connecting up to PPP with the handphone as a modem is as simple as right click the respective phone in the bluetooth manager and navigate to "Serial Ports" => "Dial Up Networking". First time trying this it managed to established the connection but subsequent tries greet me with socket error. Then I have a good luck by clicking the setup assistant (the gear icon) and go through the 2 step wizard. Once connected, I can see the ppp0 interface is up with IP address assigned but I can't ping any public IP address. Checking the route, the routing table is empty. Try adding some default gateway "route -a [ppp0 ip addres] gw default" but still can't ping outside address.

Finally found what I need in this blog post. The ppp0 must be set as a default connection.
# ip route change default via [ppp0 ip address] dev ppp0.
Voila ! I'm connected to the Net now.