Linux Lite 8.0 RC1 has been released - Click here


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Lite Tweak zRAM
#1

As promised, zRAM tweak...  ;D

[Image: cg6kuwZ.png]

[Image: RxdwBx2.png] [Image: eou7TtW.png]

[Image: cd0r5qr.png] [Image: L7TfSn1.png]

[Image: pMXuwWW.png] [Image: 4cqMayp.png]

[Image: 28Vie0s.png]

[Image: 8kqgFZD.png]

[Image: X063rhv.png]

Have not pushed to master yet. Will test few more things I've added such as checking for internet connection before attempting to install zRAM, warning message and so on.

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#2

Awesome Ralphy, looking good :)

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#3

Is this explanatory enough?

[Image: SsJFfOJ.png]

Maybe make it narrower and longer to keep the dialog size more uniform?

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#4

I would just stretch it to where the word 'available' doesn't wrap ie. the first sentence is all one line.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#5

Quote:I would just stretch it to where the word 'available' doesn't wrap ie. the first sentence is all one line.

That makes sense actually.

I came up with using a question dialog instead so that the user can cancel the process if desired. Previously, after clicking the "Got it!" button, the script continues to try to install zRAM from cache but there is no option to cancel instead. Therefore, in the previous dialog, clicking the close button will continue to execute the installation even though there is no internet connection and probably the package isn't in the cache, thus not allowing the user to halt the process until the installation fails on its own.

The dialog below allows users to decide wether to continue the install without internet connection (package cache) or halt the process right then and there (cancel button):

[Image: 1yeQuz1.png]

I think that's a more user-friendly way to handle it. Thoughts?

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#6

I prefer that approach too. Nice one Ralphy.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#7

Alright then, I think I can push it to github already.

Merged to master.

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#8

Cheers :) Nice feature.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)