Partial Linux Desktop control with your voice.
Part 2 - • Meet "Easy Speak Control" - Partial Linux ...
Libraries used:
speech_recognition
gtts (Google Text-to-Speech)
pydub
Massive amounts of time
---------------------------------------
Here's a comprehensive list of what the script can do now:
"Let's get to work":
Changes wallpaper to "ironman.jpg"
Launches Brave Browser with Gmail and Kustomer app
"Search for [query]":
Performs a Google search for the specified query
"Launch Spotify":
Opens Spotify web player in Firefox
Attempts to click the play button
"Launch Steam":
Starts the Steam application
Changes wallpaper to "video-game.jpg"
"Launch Brave Browser":
Opens Brave Browser without any specific URLs
"Close Brave":
Closes all instances of Brave Browser
"Close Firefox" or "Close Spotify":
Closes all instances of Firefox (which includes Spotify if it's open in Firefox)
"Close Steam":
Closes the Steam application
"Restore Desktop":
Changes wallpaper back to the default "peakpx.jpg"
Closes Brave Browser, Firefox, and Steam
Essentially resets the desktop to its default state
"What can you do" or "List commands":
Verbally lists all available commands
The script continuously listens for voice commands and executes the corresponding actions when a recognized command is heard. It also provides voice feedback for most actions, informing the user about the status of each operation (success or failure).