Skip to main content

Posts

Ubuntu 20 Microsoft Teams Unable to Share Screen or Black Screen on Share

Issue: On Ubuntu 20, when I tried to share my screen on  Microsoft Teams  (MS Teams), I didn't get the option to pick a window at all. Basically, we do "Share Screen" and then pick a window we want to share. Here, I could click on "Share Screen", but there are no windows to share. Solution:   This is because of Wayland environment. You have to use another environment and it will work fine. To choose another environment, come over to your login screen and check for that small wheel at the bottom right. You can see "Ubuntu" and "Wayland". Choose "Ubuntu" and you are done. This solution will also help if you have a case where you can share the screen but end up with a black screen and visible mouse pointer. Happy Meetings!
Recent posts

Ubuntu 20 - Launcher / Dock in Center - Auto Hide - Appear on Hover

To enable Launcher / Dock as we know to have the following effects Appear on Hover i.e. Auto Hide Icons in center Do as follows... First we need to enable the following options in Settings -> Appearance Even after this my launcher / dock icons were shifting to the left After this, the dock will now hide and appear when you hover your cursor on the bottom area. However, that gets irritating quickly, if you tend to have work at the bottom of the screen and the bar keeps popping up. Well, one could just stop 'Auto Hide' of the bar, and that would solve it. But... where's the beauty in it ;) ! Now, to unleash the beauty to the fullest! , we want to center the icons as well! To get them to the center, we need to do the following from the terminal gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false And, there it is <3 !

Formatting JSON in Kate - KDE Editor

Some years ago, I wrote a post on Formatting XML in Kate - KDE Editor . This one  below is for JSON format. Like the XML one this one also makes use of a tool installed on your machine and is invoked from Kate as a filter. TLDR;   Kate  is one awesome editor ( If you don't like  Vim  for its 'CLI'ness ) When working from the command line we can use a handy tool ' jq ' to format JSON files and pretty print them. Well, the good news is we can use the same from within Kate  as well But it is a tedious task to use it when you have some content in  Kate  ( more so if it is an unsaved file ) and want to format it. Incase, you don't have  jq  installed, simply hit sudo apt-get install jq and that will install it for you. If you use  jq  you would do something like this, Save File (  MySavedFile.xml  ) Go to Command Line cat MySavedFile.txt | jq '.' - > MySavedFile.txt and then reload our file in  Kate . If you wish to remain in  Kate  and get this done then

LibreCalc - Ubuntu How to print full sheet on single page in landscape mode - Latest

Problem: We use Librecalc to draft a pretty looking excelsheet and then we want to print it. You happily hit Ctrl + P,  just to see that the sheet has been split over multiple pages to print. What do you do now? For starters, you continue reading this post. 1. Go to 'Format' in the Menu bar, Go to 'Page', Choose 'Landscape' and set other borders etc. incase you wanna change that 2. Now under, 'Sheet' in the same window, look at this section 'Scale'. Choose 'Fit print range(s) on number of pages' and keep 'Number of pages' as 1. And we are done! And we are done here. Now when you print and choose Landscape orientation, you can see in the preview that the whole sheet is now printing on a single page.

How to actually shuffle songs on Spotify - Ubuntu Desktop App

So I am a big fan of Spotify for various reasons. However, one thing that always confused me was how such a great product can have such a shabby shuffle mechanism. Well, looks like I ( as well as plenty of people across the globe) are doing it wrong or atleast I have some steps I can use to workaround this issue.  Here is what we do when we start a playlist. Choose Playlist Click on 'Play' Press the 'Shuffle' button and expect it to 'Shuffle' and play songs. There is actually one more thing we have to do. Go to 'Queue' once the playlist starts playing. Press 'Shuffle' and see the songs shuffle in the queue. If you feel you haven't shuffled enough you can press 'shuffle' a couple of times and you will see a different sequence each time. Enjoy Shuffling! I tried this on my Ubuntu 20 with Spotify 1.1 Desktop App, but it will be same for any browser based Spotify as well.

Reduce font size in window, title bar of Google Chrome - Ubuntu

Problem: The fonts on the Chrome (Version 90) title window as well Chrome UI looks big compared to Mozilla Firefox on the same machine. Or even other window titles and UI on the same machine. There are no direct settings to manage this in Chrome and we changing the settings in Ubuntu will mess up other windows on the system too, making the fonts look smaller. So what we will do is set a property for scaling the UX font while launching the google chrome executable. My system details are as follows, Chrome Version 90.0.4430.212 (Official Build) (64-bit) Os Version Ubuntu 20.04.2 LTS Do the following, sudo vim /usr/share/applications/google-chrome.desktop You can even replace vim with any editor of your choice like, sudo kate /usr/share/applications/google-chrome.desktop OR sudo gedit /usr/share/applications/google-chrome.desktop Now search for the word 'Exec' This is what it looks like, Exec=/usr/bin/google-chrome-stable Change this to Exec=/usr/bin/google-chrome-stable --force-