pygst is the python binding of Gstreamer which is a media-framework, it supports various media handling such as audio playback, video playback and editing. Installation open up the terminal and enter the following commands sudo apt-get update sudo apt-get install python-gst-1.0 Check if its working properly open up your python shell and import pygst aman@vostro:~$ python Python 2.7.11+ (default, Apr 17 2016, 14:00:29) [GCC 5.3.1 20160413] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pygst >>> if its not installed properly then an error message will be shown: ImportError: No module named pygst
I recently got a soundbot wireless portable speaker, which is by the way really great! but It had some issues making it work with ubuntu. After pairing it was working with Headset Head unit (HSP/HFP) which produced a really bad audio quality. to get the sound right It should be using the High Fidelity playback (A2DP Sink) but it wouldn't select that profile from the sound preferences. Read more »
/var/www is the default root folder of your local web server (like apache ), you host all your website files here and access it on the browser with url like http://127.0.0.1 or http://localhost you cannot simply copy paste stuff in this folder using your file browser, It is protected for security reasons, you will get a permission denied error message because by default you don't have write access permission here. Follow these Steps: execute these commands to set all permissions for /var/www directory sudo adduser <username> www-data sudo chown -R www-data:www-data /var/www sudo chmod -R g+rwX /var/www replace <username> with your actual username. Now you can copy, edit and create files in /var/www folder just like any other folder.
Comments
Post a Comment