LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ls /dev
#9
Glad to help [member=411]bitsnpcs[/member]

Quote:What I was curious about, my motivation, was how a GUI only displays the most recently mounted storage device, as the output option field, or how to make a GUI do this and if I could use this command ls /dev/sd* by attaching it to a button in a GUI to achieve similar type of result.

Hmmm...I think you could achieve that in python. Are you trying to create/creating a GUI for some specific purpose? May I suggest this program: http://page.sourceforge.net/  I've been playing around with it since last August. It teaches you how to create GUIs using python. From it's website: "PAGE is a cross-platform drag-and-drop GUI generator, bearing a resemblance to Visual Basic. It allows one to easily create GUI windows containing a selection of Tk and ttk widgets. Required are Tcl/Tk 8.6 and Python 2.7+.  PAGE springs from Virtual Tcl, a Tcl/Tk program, forked to generate Python modules that realizes the desired GUI. Tcl is required for running PAGE but is not required for executing the generated Python code." It's not perfect though, I found a bug while using it and reported to it's developer. It seems that the created GUIs won't show properly under python 3.6 - some buttons aren't visible -  wich is the one installed in my system, I had to install python2 so it works as expected. Also, since I've read you're learning python - and so am I by the way  ;D - you might find insteresting this too: https://thonny.org/ it's a "python IDE for begginers" as advertised on its website. Both programs are really light on resources and download sizes are really low, less than 5mb both I think. Page runs as a script so there's no need to install anything. Instructions for installing Thonny are on the link above.

Hope you find this info helpful! Smile
Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply


Messages In This Thread
ls /dev - by bitsnpcs - 09-21-2018, 03:55 PM
Re: ls /dev - by Valtam - 09-21-2018, 04:46 PM
Re: ls /dev - by bitsnpcs - 09-21-2018, 04:49 PM
Re: ls /dev - by Valtam - 09-21-2018, 10:47 PM
Re: ls /dev - by supergamer - 09-22-2018, 01:34 AM
Re: ls /dev - by bitsnpcs - 09-22-2018, 01:52 AM
Re: ls /dev - by Moltke - 09-22-2018, 11:51 AM
Re: ls /dev - by bitsnpcs - 09-22-2018, 02:26 PM
Re: ls /dev - by Moltke - 09-22-2018, 08:10 PM
Re: ls /dev - by bitsnpcs - 09-23-2018, 01:07 AM
Re: ls /dev - by Moltke - 09-23-2018, 12:15 PM
Re: ls /dev - by trinidad - 09-23-2018, 03:31 PM
Re: ls /dev - by bitsnpcs - 09-23-2018, 05:57 PM
Re: ls /dev - by Moltke - 09-23-2018, 06:45 PM
Re: ls /dev - by Valtam - 09-23-2018, 06:53 PM
Re: ls /dev - by Moltke - 09-23-2018, 09:15 PM
Re: ls /dev - by bitsnpcs - 09-23-2018, 09:29 PM
Re: ls /dev - by firenice03 - 09-24-2018, 12:50 AM
Re: ls /dev - by Moltke - 09-24-2018, 03:32 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)