Yogesh Kaushik's GSoC Work on Xfce (UPDATED)
-
GSoC’22: Adding Custom Actions to Screenshooter
Screenshooter (xfce4-screenshooter), as the name suggests, is an application that takes screenshots. Some action is needed once the screenshot is taken on the captured image. Currently, the application provides four well-defined actions: to save the picture, open the image, copy it into the clipboard, and upload it to Imgur. But some users may want to perform other specific actions after taking the screenshot, such as printing them or sending them over an email. So the task was to allow users to add custom actions that can be executed once the screenshot is taken. Similar functionalities are also present in Thunar and AppFinder.
[...]
Then comes the most crucial part, where the custom action gets executed. Here we don't read the list, just the command and name stored in the ScreenshotData structure. The absolute path of the image first replaces the placeholder text. Then "g_spawn_async" is used to execute the command asynchronously. It's done asynchronously so that the command may not block the application.
This implementation's beauty lies in how we have used the already implemented code. Once the image is captured, it is stored in the /tmp directory using the "Save" option. Then the execution part happens. So under the hood, two actions are occurring from the action selection dialog box.
-
GSoC'22: The Final Report
My days as a GSoC mentee have ended, and I would like to share everything I have done during these days and what is left. I have posted a few blogs already, so if you have read them, you already know what I have done, and thus you can skip to the last section.
UPDATE
Arindam has just covered this as well.
-
GSoC 2022 Brings New Features to Thunar, Screenshooter in Xfce Desktop
Google summer of code (GSoC) 2022 is a yearly competition which is about improving open-source projects. Thousands of students develop contributions while enhancing their skills and eventually benefit from open-source projects.
This year’s GSoC final project submission will be completed on September 12, 2022. And we have some updates on the Xfce desktop’s native apps.