freebsd-src icon indicating copy to clipboard operation
freebsd-src copied to clipboard

Add simple GTK GUI for ls command

Open rkarahan80 opened this issue 6 months ago • 2 comments

This commit introduces a basic graphical user interface (GUI) for the ls command, built using GTK4.

The GUI allows users to:

  • Specify a directory path in a text entry field.
  • Click a button to list the contents of the specified directory.
  • View the output of ls -l in a text area.

Includes:

  • gui/ls_gui.c: The C source code for the GTK application.
  • gui/ls_gui.ui: The Glade UI definition file.
  • gui/Makefile: Makefile for building the GUI application.
  • gui/test_ls_gui.sh: A basic test script to check if the GUI launches.

The application can be compiled by navigating to the gui directory and running make. The test script can be run from the root directory using DISPLAY=:0 gui/test_ls_gui.sh after building the GUI.

Signed-off-by: Recep Karahan [email protected]

rkarahan80 avatar Jun 27 '25 14:06 rkarahan80

Thank you for taking the time to contribute to FreeBSD! There are a few issues that need to be fixed:

  • Missing Signed-off-by linesdb3eaf1b9e2636cd5ff0fbe7ec21109dc09a4eee
  • Real email address is neededdb3eaf1b9e2636cd5ff0fbe7ec21109dc09a4eee, 31cec753dbedf216237f1f3249a1a2f253582c19

github-actions[bot] avatar Jun 27 '25 14:06 github-actions[bot]

Please don't spam our repository with AI-generated slop. It serves only to waste our time and yours. After reviewing some of your PRs, I have concluded that the rest do not warrant even a cursory review. Therefore I will close them all. If you wish to contribute again in the future, you must take more care with your submissions. You must build and test them all, at least! And you need to consider what the PR does. Is it even useful? Furthermore, the copyright status of AI-generated code is currently unclear, so the project is not accepting any such submissions at this time. But AI can of course be used as an aid, such as for debugging. Finally, I encourage you to read these documents to familiarize yourself with our project and its practices.

https://docs.freebsd.org/en/books/developers-handbook/ https://docs.freebsd.org/en/articles/problem-reports/

asomers avatar Jun 29 '25 15:06 asomers