Skip to content
Follow
Ubuntu Linux

How to Enable Media Sharing in Ubuntu Linux

Richard
Written by
Richard
Sep 13, 2022 Updated Jul 14, 2026 3 min read
How to Enable or Disable Microsoft Defender Cloud Protection
How to Enable or Disable Microsoft Defender Cloud Protection

Enabling media sharing in Ubuntu Linux lets you stream your music, photos, and videos to other devices on your network. This process involves installing and setting up a tool called Rygel.

Rygel acts as a server, making your media files visible to devices like smart TVs or game consoles. These devices often use UPnP or DLNA standards to connect. For example, you might use Rygel to send a movie from your Ubuntu PC to your PlayStation 4.

You can install Rygel easily through the Ubuntu Software Center or by typing a simple command in the terminal: `sudo apt install rygel`. This package turns your computer into a media hub.

⚡ Quick Answer

Open System Settings, then click Sharing. Toggle the main Sharing switch ON, then click Media Sharing. Toggle the Media Sharing switch ON to stream your music, photos, and videos to other devices on your network.

How to turn on or off media sharing in Ubuntu Linux

You can turn Ubuntu media sharing on or off within the Sharing settings. This feature makes music, videos, and other files from your computer visible to other devices on your home network. It’s a way to access your media from any device in your house.

Let’s get this set up.

Most Ubuntu settings are located in one place: the System Settings panel. This is where you can manage system configurations, create new users, and update your system.

Ubuntu Linux Activities overview showing desktop menu access
ubuntu linux activities overview

Alternatively, click on the System menu at the top-right corner of the top bar on your desktop.

On the System menu, select Settings, as highlighted below.

Ubuntu Linux System menu top bar with Settings option
ubuntu linux system menu top bar settings

In the Settings app, click on the Sharing tile to open the panel.

Ubuntu Linux Sharing panel displaying available sharing options
ubuntu linux sharing panel

The Sharing switch at the top of the Sharing window controls media sharing. When turned on, your computer’s media files become visible to other devices on your network, allowing them to access your music, videos, and pictures. Sharing is disabled when the switch is Off.

If the text below Computer Name allows you to edit it, you can change the name your computer displays on the network.

Ubuntu Linux Sharing switch toggled on for media access
ubuntu linux sharing switch on

In the System Settings -> Sharing panel, select Media Sharing as highlighted below.

Ubuntu Linux Media Sharing tile in Settings application
ubuntu linux media sharing tile

On the Media Sharing window, toggle the Media Sharing switch to On.

To disable it, switch it back to the Off position.

⚠️Warning
By default, Music, Pictures, and Videos are shared. To remove one, click the × next to the folder name.

Now, choose the network connection you want to use for sharing. Ensure your other devices are connected to the same network.

If a Wi-Fi network is available, that should be the best option to reach other devices.

Media Sharing switch turned on in Ubuntu Linux settings
media sharing swtich to on
💡Tip
Click + to open the Choose a folder window to add another folder. Then, navigate to the desired folder and click Open.
Ubuntu Linux Media Sharing add new folder option
ubuntu linux media sharing add new

Click X on the Media Sharing window to close. Using the external device, you can now browse or play media in the folders you selected.

That should do it!

Conclusion:

  • Media Sharing in Ubuntu Linux can be easily enabled or disabled using the Sharing panel in System Settings.
  • Following the simple steps outlined in this post, you can share music, photos, and videos with UPnP or DLNA-enabled devices across the same network.
  • Select the appropriate network connection for seamless sharing with other connected devices.
  • After configuring Media Sharing, you can access and enjoy your media on various external devices such as phones, TVs, or game consoles.

How does media sharing work on Ubuntu?

So I’m going to share the desktop folder. Maybe let’s do that. One. So now instantly the desktop folder is shared for me. Now that’s all I have to do. Anyone else on my LAN.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

Enable Mobile Hotspot on Ubuntu Linux
Ubuntu Linux Enable Mobile Hotspot on Ubuntu Linux
How to Enable or Disable Airplane Mode in Ubuntu Linux
Ubuntu Linux How to Enable or Disable Airplane Mode in Ubuntu Linux
Enable or Disable Dim Screen in Ubuntu Linux
Ubuntu Linux Enable or Disable Dim Screen in Ubuntu Linux
How to Enable Visual Alerts on Ubuntu Linux
Ubuntu Linux How to Enable Visual Alerts on Ubuntu Linux

0 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *