Jump to content



Photo

Application: Linux System Script


  • Please log in to reply
70 replies to this topic

#1 Haggis

Haggis

    Neowinian Senior

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

Posted 11 December 2012 - 13:12

Hey Guys and Girls

I have been writing a little system script and have finally got to a point where i want to release it to you all


Uploaded it to my own site so i can see how many downloads it gets

Thanks

please feel free to download it and let others know about it

Download Here: http://www.haggistec...ats-V1.0.tar.gz

Posted Image


#2 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 11 December 2012 - 16:02

First off, I really like the script! You have done a really great job with it.

I have a suggestion, though. If you plan on continuing development, you might consider putting it on github. That will allow other contributors to more easily get involved and both developers and users to see a concrete changelog. A more succinct changelog and readme might also be helpful. If you want a template for a much more complex BASH script that is already on github and implements both a changelog and readme, check out the github page for Minecraft Server Manager. (Although MSM's changelog and readme are in markdown format, you don't necessarily have to do that. In fact, most open-source projects implement their documentation in plain text. Download the apt-build source code, for example, and take a look at debian/changelog and debian/README.Debian to see an example of more standard formatting.)

#3 OP Haggis

Haggis

    Neowinian Senior

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

Posted 11 December 2012 - 16:31

Cool thanks

yeah i plan on continuing development so will look at github :)

#4 Nothing Here

Nothing Here

    Neowinian Senior

  • Joined: 23-February 08
  • Location: California, U.S.A.
  • OS: Windows 8 Pro / Kororaa 17

Posted 11 December 2012 - 18:52

I tried this earlier Haggis under Fedora 18 Beta with Razor-QT as DE and for some reason I couldn't get it to work. Will try it again in a few when I reboot.

#5 f0rk_b0mb

f0rk_b0mb

    Neowinian Senior

  • Tech Issues Solved: 3
  • Joined: 02-June 12

Posted 11 December 2012 - 19:11

Great job Haggis! This is great! One thing tho: How could I make a text based logo? I'd really like the Kubuntu logo, like this:

http://cloudfront.om...ogo-kubuntu.png or http://www.google.co...:0,i:100&surl=1

rather than the vanilla Ubuntu logo. :) Thanks!

#6 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 11 December 2012 - 20:02

Great job Haggis! This is great! One thing tho: How could I make a text based logo? I'd really like the Kubuntu logo, like this:

http://cloudfront.om...ogo-kubuntu.png or http://www.google.co...:0,i:100&surl=1

rather than the vanilla Ubuntu logo. :) Thanks!


I used jp2a to create the ascii-art logos. You can create one from the first logo you linked to as follows:

sudo apt-get install jp2a
wget http://cloudfront.omgubuntu.co.uk/wp-content/uploads/2012/02/logo-kubuntu.png
convert logo-kubuntu.png logo-kubuntu.jpg
# Resize your terminal window to reflect the approximate of the ascii-art drawing you want to create.
jp2a logo-kubuntu.jpg > logo-kubuntu.txt
cat logo-kubuntu.txt # This command is optional if you don't need to see the image in terminal.


#7 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 11 December 2012 - 20:07

Cool thanks

yeah i plan on continuing development so will look at github :)


If you haven't ever used git before, I suggest that you take a look at github's Introduction to Git tutorial. It is very good, in my opinion, and explains everything you will need to know to start using git.

Edit: What happened? I thought the post editor merged successive posts by the same user if they were made relatively quickly. I can still edit both posts, but even if I merge them I will still have a useless post immediately below the merged one since I can't delete posts!

#8 OP Haggis

Haggis

    Neowinian Senior

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

Posted 17 December 2012 - 12:01

45 Downloads so far :)

#9 OP Haggis

Haggis

    Neowinian Senior

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

Posted 18 December 2012 - 22:19

ok i updated it a little as it was not always picking up Debian and not always Mate and Unity

Unity:
Posted Image

Fedora and Openbox
Posted Image

Fedora and Gnome
Posted Image

Fedora and LXDE
Posted Image

Mint and Mate
Posted Image

#10 OP Haggis

Haggis

    Neowinian Senior

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

Posted 22 December 2012 - 16:53

Updated: same link as previously

changelog included

#11 Mindovermaster

Mindovermaster

    Neowinian Senior

  • Tech Issues Solved: 10
  • Joined: 25-January 07
  • Location: /USA/Wisconsin/
  • OS: Debian Jessie
  • Phone: HTC ONE V

Posted 23 December 2012 - 14:56

I'm no Linux pro, but when I type sh stats.sh, I get this:

stats.sh: 59: stats.sh: function: not found

I put the bash file in my home directory.

Edit: Ok, now I'm getting this:

stats.sh: 59: stats.sh: function: not found
grep: .local/share/Trash/files/.Xauthority: Permission denied
grep: .fluxbox: Permission denied
grep: .screenlayout/davidsetup1.sh: Permission denied
									  
			  ..''''''..			  
		  .;::::::::::::::;.		  
	   .;::::::::::::::'.':::;.	   
	 .;::::::::;,'..';.   .::::;.	 
    .:::::::,.,.	  ....:::::::.	
   .:::::::.   :;::::,.   .:::::::.   
   ;::::::   .::::::::::.   ::::::;   
   :::.  .'  ::::::::::::...,::::::   
   :::.  .'  ::::::::::::...,::::::   
   ;::::::   .::::::::::.   ::::::;   
   .:::::::.   :,;::;,.   .:::::::.   
    .:::::::;.;.	  ....:::::::.	
	  ;::::::::;,'..';.   .::::;	  
	   .;::::::::::::::'.':::;.	   
		  .,::::::::::::::,.		  
			  ...''''...			  
									  
									  
			  _,met$$$$$gg.		   
		   ,g$$$$$$$$$$$$$$$P.		
		 ,g$$P$$	   $$$Y$$.$.	  
	    ,$$P`			  `$$$.	  
	   ,$$P	   ,ggs.	 `$$b:	 
	   d$$`	 ,$P$`   .    $$$	  
	   $$P	  d$`	 ,    $$P	  
	   $$:	  $$.   -    ,d$$`	  
	   $$;	  Y$b._   _,d$P`		
	   Y$$.	 .`$Y$$$$P$`		   
	   `$$b	  $-.__				
	    `Y$$b						 
		 `Y$$.						
		   `$$b.					  
			 `Y$$b.				   
			   `$Y$b._				
				   `$$$$			  
									  
stats.sh: 184: stats.sh: function: not found
    Screenshot being taken.....Smile!!
    Screenshot Saved as /home/david/Screenshot_20121223.0855.png
stats.sh: 193: stats.sh: function: not found
grep: .local/share/Trash/files/.Xauthority: Permission denied
grep: .fluxbox: Permission denied
grep: .screenlayout/davidsetup1.sh: Permission denied
stats.sh: 213: stats.sh: function: not found
stats.sh: 234: stats.sh: function: not found
stats.sh: 261: stats.sh: function: not found
stats.sh: 293: [: cinnamon: unexpected operator
stats.sh: 296: [: cinnamon: unexpected operator
stats.sh: 324: stats.sh: function: not found
stats.sh: 326: stats.sh: Syntax error: "}" unexpected


#12 OP Haggis

Haggis

    Neowinian Senior

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

Posted 23 December 2012 - 16:02

I will have a look

did you edit the file because the screenshot bit is not enabled in the file i uploaded and i redownloaded it and checked and still not enabled

I have installed Cinnamon and dont get any errors

anyone else getting this?

#13 Mike

Mike

    Neowinian Senior

  • Joined: 11-August 02

Posted 23 December 2012 - 16:11

Try running it with bash not sh

#14 OP Haggis

Haggis

    Neowinian Senior

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

Posted 23 December 2012 - 16:39

yeah to run it cd into the Directory its in and do ./stats.sh

#15 Mindovermaster

Mindovermaster

    Neowinian Senior

  • Tech Issues Solved: 10
  • Joined: 25-January 07
  • Location: /USA/Wisconsin/
  • OS: Debian Jessie
  • Phone: HTC ONE V

Posted 23 December 2012 - 16:48

I tried the above, and I get a blinking cursor. And no, I didn't edit it.