Jump to content



Photo

A Project Needed


  • Please log in to reply
10 replies to this topic

#1 Haggis

Haggis

    Neowinian Senior

  • Tech Issues Solved: 10
  • Joined: 13-June 07
  • Location: Near Stirling, Scotland
  • OS: Debian 7
  • Phone: Samsung Galaxy S3 LTE (i9305)

Posted 21 January 2014 - 16:37

Hey Guys

 

over the last few weeks i have had a few things happen in my life that have gotten me a bit down in the dumps

 

I need a project to get my teeth into to get my mind working again

 

The last time i did this is when i created the stats script

 

I am still working on that in th background but its slowed a little as i am not sure what else i can add

 

So cmon give me your ideas...




#2 ichi

ichi

    Akihabara Style

  • Tech Issues Solved: 4
  • Joined: 20-December 04

Posted 21 January 2014 - 17:06

Well I can tell you a (rather stupid) idea I had some weeks ago: sort of an external device alarm.

I say it's stupid because it'd be a bit annoying, but rather than it's usefulness I was interested in the fact that it could be easily done.

 

Anyway, it'd go like this: say you brough your laptop to some customer's office or someone else's house, and aren't all that confident about your stuff (phone, pendrives, mouse, the whole laptop) not disappearing as soon you walk away.

What if you could set it up so whenever anything is disconnected (usb stuff and even the power plug) it activated some action like ringing an alarm, taking a picture with the webcam or maybe sending an email with the event and the pictures?

 

For usb devices you can set up udev events on plug and unplug, and then use some graphical frontend to let the user decide which devices will raise the alert.

For the power plug IIRC you can check that on /proc

You would also have to rise the volume when the alarm fires, and I found back then an article somewhere about a way to override the mic and phones plugs' settings, so you could disable the phones plug so it goes through the speakers no matter what.

 

As I said it might not be all that usefull anyway, but it's easy enough to keep you entertained for a while without much headache, if you feel like it  :laugh: the different pieces can be done in a matter of minutes, the actual work is putting it all together and packaging it nicely.



#3 firey

firey

    F͎̗͉͎͈͑͡ȉ͎̣̐́ṙ͖̺͕͙̓̌è̤̞͉̟̲͇̍̍̾̓ͥͅy͓̍̎̌̏̒

  • Tech Issues Solved: 6
  • Joined: 30-October 05
  • Location: Ontario, Canada
  • OS: Windows 7
  • Phone: Android (4.1.2)

Posted 21 January 2014 - 17:09

^ That's actually a really good idea.  Could even add some option to like shutdown the computer or something.  So that if your computer has a password, and you are logged in, it will alarm/send email/etc but you could also have the option of shutting it down.   That way if someone does take it and they shouldn't it will automatically log off/shutdown/etc.

 

Would also be cool to have something where it remembers the last IP address it was connected to.  And if you connect with a different IP/ISP (you could specify a range for dynamic ip)  it prompts you for a password.  If no password/incorrect password is written, it could go through and clean up all personal information/wipe the drive/something.



#4 Kreuger

Kreuger

    Neowin's Local Grouch

  • Joined: 29-December 03
  • Location: Ontario, Canada

Posted 21 January 2014 - 17:14

What about a gui for your script?



#5 +Yorak

Yorak

    Insubordinate

  • Joined: 06-February 05
  • Location: Virginia

Posted 21 January 2014 - 17:29

This week I have been looking at different window managers again out of boredom. Mostly tiling ones. Perhaps you could find one that looks interesting to you and try to master the keyboard shortcuts? People can be very efficient on them. I have experimented with them plenty of times but could never stick with them for too long. I recommend bspwm.

 

The only reason I say that instead of working on a script is because there are scripts for nearly everything.



#6 OP Haggis

Haggis

    Neowinian Senior

  • Tech Issues Solved: 10
  • Joined: 13-June 07
  • Location: Near Stirling, Scotland
  • OS: Debian 7
  • Phone: Samsung Galaxy S3 LTE (i9305)

Posted 21 January 2014 - 18:08

Some good ideas :D

Kreuger you mean so you could display its the dialog for people that dont want to use the cli version?

#7 firey

firey

    F͎̗͉͎͈͑͡ȉ͎̣̐́ṙ͖̺͕͙̓̌è̤̞͉̟̲͇̍̍̾̓ͥͅy͓̍̎̌̏̒

  • Tech Issues Solved: 6
  • Joined: 30-October 05
  • Location: Ontario, Canada
  • OS: Windows 7
  • Phone: Android (4.1.2)

Posted 21 January 2014 - 21:57

Some good ideas :D

Kreuger you mean so you could display its the dialog for people that dont want to use the cli version?

 

Yea, Basically have something akin to the Windows One, that shows Version, Memory, Cpu, etc.



#8 OP Haggis

Haggis

    Neowinian Senior

  • Tech Issues Solved: 10
  • Joined: 13-June 07
  • Location: Near Stirling, Scotland
  • OS: Debian 7
  • Phone: Samsung Galaxy S3 LTE (i9305)

Posted 22 January 2014 - 07:52

lol i hate to disappoint but i dont think i am that good :(

 

looking at perltk u think this is best for the dialog?



#9 +snaphat (Myles Landwehr)

snaphat (Myles Landwehr)

    Electrical & Computer Engineer

  • Tech Issues Solved: 29
  • Joined: 23-August 05
  • OS: Win/Lin/Bsd/Osx
  • Phone: dumb phone

Posted 22 January 2014 - 08:07

lol i hate to disappoint but i dont think i am that good :(

 

looking at perltk u think this is best for the dialog?

Maybe not the best (in terms of looks), but if you did your stat script in perl, then go for it. Learning isn't about doing it the best at first anyway, it's about learning something new, in this case learning a bit about gui toolkits (tk is supposedly easier than other gui toolkits so that's a plus for starting out btw).

 

Note: After thinking about it, I'd imagine that tk is probably the most widely distributed perl gui toolkit. So in terms of compatibility it probably is best.



#10 OP Haggis

Haggis

    Neowinian Senior

  • Tech Issues Solved: 10
  • Joined: 13-June 07
  • Location: Near Stirling, Scotland
  • OS: Debian 7
  • Phone: Samsung Galaxy S3 LTE (i9305)

Posted 22 January 2014 - 08:15

Cool

 

i had a look at it last night

 

managed to get some labels and some text boxes on it so will keep plugging away at it :)

 

always good to learn something new



#11 firey

firey

    F͎̗͉͎͈͑͡ȉ͎̣̐́ṙ͖̺͕͙̓̌è̤̞͉̟̲͇̍̍̾̓ͥͅy͓̍̎̌̏̒

  • Tech Issues Solved: 6
  • Joined: 30-October 05
  • Location: Ontario, Canada
  • OS: Windows 7
  • Phone: Android (4.1.2)

Posted 22 January 2014 - 12:45

Could always look into .NET (Mono) and do it with monodevelop.