Linux Lite 8.0 RC1 has been released - Click here


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

Lite Sources Development Thread
#1

Jerry, here is a brief video of lite-sources in action... It is not changing sources yet but that will be the last part :P

The idea is to load country flags dynamically (alphabetically organized) from a simple txt file (a huge convenience).

Right now, the code is just about 30 lines. This will be our first app using YAD instead of zenity, since we agreed upon implementing it I think it is about time we give it a shot

https://unlockforus.com/downloads/linuxl...ources.mp4

Let me know what you think. 

https://unlockforus.com

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

[Image: AGxgqJ6.png]
Reply
#2

This is excellent Ralphy, go forth with Yad and conquer!

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

Save you some time, list of current active, supported Ubuntu repos:

Code:
Argentina ,AR
Armenia ,AM
Australia ,AU
Austria ,AT
Azerbaijan ,AZ
Bangladesh ,BD
Belarus ,BY
Belgium ,BE
Bosnia and Herzegovina ,BA
Brazil ,BR
Bulgaria ,BG
Canada ,CA
Chile ,CL
China ,CN
Colombia ,CO
Costa Rica ,CR
Croatia ,HR 
Czech Republic ,CZ
Denmark ,DK
Ecuador ,EC
Estonia ,EE
Finland ,FI
France ,FR
French Polynesia ,PF
Georgia ,GE
Germany ,DE
Greece ,GR
Greenland ,GL
Hong Kong,HK
Hungary ,HU
Iceland ,IS
India ,IN
Indonesia ,ID
Iran,IR
Ireland ,IE
Israel ,IL
Italy ,IT
Japan ,JP
Kazakhstan ,KZ
Kenya ,KE
Korea,KR
Latvia ,LV
Lithuania ,LT
Luxembourg ,LU
Macedonia,MK
Malaysia ,MY
Moldova ,MD
Nepal ,NP
Netherlands ,NL
New Caledonia ,NC
New Zealand ,NZ
Norway ,NO
Oman ,OM
Pakistan ,PK
Philippines ,PH
Poland ,PL
Portugal ,PT
Romania ,RO
Russian Federation ,RU
Singapore ,SG
Slovakia ,SK
Slovenia ,SI
South Africa ,ZA
Spain ,ES
Sweden ,SE
Switzerland ,CH
Taiwan,TW
Tajikistan ,TJ
Tanzania ,TZ
Thailand ,TH
Tunisia ,TN
Turkey ,TR
Ukraine ,UA
United Kingdom ,GB
United States of America ,US
Uzbekistan ,UZ
Viet Nam ,VN
Zimbabwe ,ZW

For larger countries like USA, UK, Russia etc I'd like to offer no more than 3 additional options displayed simply. See 'Australia' screenshot as an example:

Format:

Country
Country (City 1)
Country (City 2)
Country (City 3)

The first in the list eg. 'Country' is the main Ubuntu repo for that country. The rest is a balance of evenly spread geographic locations.


[Image: Uh7MZy6.png]

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
#4

If we wanted to get really tricky, we could run a ping test first in the background, and then list the fastest response eg.

Australia (Sydney - fastest)

or whatever wording or display option we end up with.

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

That is not what I'm actually coding  :-[

I thought we were doing REPOSITORY MIRRORS and not Ubuntu repos. There is a default option to change Ubuntu repos already, coding a second interphase to handle the same thing is not what I'm aiming to address. That gives me a Windows 10 like kind of feeling... where there is like 2-3 options to configure the same darn thing :(

What I'm coding is for LL Repository Mirrors, which doesn't have a current GUI option for users to change repos and that's what I thought we were addressing here. Maybe we should change its name then? Did I miss the point again?

https://unlockforus.com

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

[Image: AGxgqJ6.png]
Reply
#6

I thought the existing code would show that we were using existing repositories. So a misunderstanding here.

When I see an implementation that is not user friendly, I look for an easier way. That was the original thinking with Lite Sources, to give an easier, more pleasing alternative to Ubuntu Software Sources.

Let's go forward with just the LL repos then.

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

The application will need to specify these are repository choices for LL software only.

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
#8

I understand what you've said. I really do. So, let's agree upon common grounds then.

1- There is already a GUI option to manage Ubuntu Base repositories. While it isn't the most user-friendly solution is well placed under "Software and Updates => ubuntu Software". The reason why I say it is well placed is because there is also the "Other Software" tab where repo sources are managed. With all and all, irrespective our opinions, one fact can't be ignored: "There is a GUI for managing Ubuntu base repositories while there is NON for Linux Lite Repository Mirrors.

2- Therefore, my believe about lite-sources is that it will be addressing this missing functionality (at least for now); and that's what we should be pursuing to address (again, for now).
YAD, provides options to create multiple TABs in dialogs. Eventually, we could extend lite-sources to also handle Ubuntu Base repos in an additional tab (food for thoughts down the road).

What would you like to name the application? Linux Lite Repository Mirrors?

https://unlockforus.com

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

[Image: AGxgqJ6.png]
Reply
#9

Agreed moving forward.

Name - Lite Repository Mirrors

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
#10

I assume your using the Yad I uploaded to our repo ie. 0.37.0-1 ?

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)