A Control Panel

If you have any suggestions or ideas about improving Salix, here's the place to post them.
User avatar
maximus
Posts: 141
Joined: 2. Sep 2009, 01:41

Re: A Control Panel

Post by maximus »

I've been wondering, what is that sourcery thing?
It's a GUI for slapt-src. viewtopic.php?f=17&t=2047
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: A Control Panel

Post by Akuna »

thenktor wrote:Akuna, at the current design there is pretty much space wasted ;)
Yes, that could be true, but you may not necessarily want things to be crammed either.

I will add a preference button so that the end user have a couple layout to choose from. The end user will also be able to decide which app goes to which category and maybe even whether the categories should show up or not.
Image
What really matters is where you are going, not where you come from.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: A Control Panel

Post by Akuna »

Something like that. It is an evolution of the 'notebook' layout.
When you click on a category on the left pane, you get the appropriate apps on the right pane.

Image

For those who really want everything in only one view, they can go in preference and choose the global view instead (still fine-tuning this).
In preference, you will also be able to add/remove/move applications around in diverse categories.
Image
What really matters is where you are going, not where you come from.
User avatar
Duncan_Idaho
Posts: 216
Joined: 19. Sep 2009, 01:43
Location: Sietch Tabr, Planet Arrakis

Re: A Control Panel

Post by Duncan_Idaho »

I think i like the third one better now :o !!
:mrgreen: good work Akuna
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: A Control Panel

Post by mimosa »

That does look very nice, Akuna. I imagine there's no need for a scroll bar this way?

EDIT The great thing about plenty of white space like that is it avoids overwhelming the user with too much info all at once, while still allowing easy access to everything.
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: A Control Panel

Post by pwatk »

Duncan_Idaho wrote:I think i like the third one better now :o !!
:mrgreen: good work Akuna
+1 :D
Image
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: A Control Panel

Post by Akuna »

I'll be away for a few days, but here is something to play with while I'm gone:

http://people.salixos.org/akuna/testing ... h-1plb.txz
http://people.salixos.org/akuna/testing ... h-1plb.dep
http://people.salixos.org/akuna/testing ... h-1plb.md5

You need pyxdg as a dependency.

It is still very basic, many features are not implemented yet, but it is somewhat functional and something concrete to get started with.

For the moment, you can modify the choice of the application showing up in the diverse categories by editing the files in /etc/setupcenter, it is self-explanatory and there are some instructions in comments as well (Of course there will be a GUI for doing that, a little later down the road).

But we cannot modify the layout or the category structure yet.

Enjoy! :)

EDIT: See latest version below
Image
What really matters is where you are going, not where you come from.
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: A Control Panel

Post by JRD »

Code: Select all

# LANG= /usr/sbin/setupcenter.py 
/usr/sbin/setupcenter.py:61: GtkWarning: Unknown property: GtkIconView.item-orientation
  builder.add_from_file('/usr/share/setupcenter/setupcenter.glade')
Traceback (most recent call last):
  File "/usr/sbin/setupcenter.py", line 315, in <module>
    SetupCenter()
  File "/usr/sbin/setupcenter.py", line 101, in __init__
    icon_feed = self.get_icon(gtk.STOCK_OPEN)            
  File "/usr/sbin/setupcenter.py", line 299, in get_icon
    return theme.load_icon(icon_name, 48, 0)
glib.GError: Icon 'preferences-desktop-wallpaper' not present in theme

Code: Select all

$ LANG= /usr/sbin/setupcenter.py 
Traceback (most recent call last):
  File "/usr/sbin/setupcenter.py", line 312, in <module>
    error_dialog(_("<b>Sorry!</b> \n\nRoot privileges are required to access the Setup Center. "))
NameError: name 'error_dialog' is not defined
Image
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: A Control Panel

Post by Akuna »

Thanks for the report, I'll fix those when I come back. :)

But for now anyone having these problems can use the following work around.

For the first error, simply edit /usr/share/setupcenter/category.list and replace the name of the missing icon by one that you have.

For the second error, start as root.

BTW, it will probably work best in XFCE. I'm pretty sure there will be glitches on KDE & others.

Again, this is just a preview to play around with. It is most certainly quite buggy still, so TY for reporting all those. :)
Image
What really matters is where you are going, not where you come from.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: A Control Panel

Post by Akuna »

Oh well... I had a little time. Bug reported fixed and download links have been updated above.
From now on, the standard missing image icon will show up if your icon theme do not have the icon chosen by default.
And error dialogs will show up properly.

Here again are the links to the fixed version:
http://people.salixos.org/akuna/testing ... h-1plb.txz
http://people.salixos.org/akuna/testing ... h-1plb.dep
http://people.salixos.org/akuna/testing ... h-1plb.md5

Remember to install pyxdg first.

Let me know if there are other things I overlooked. Tx. :)

EDIT: See latest version below
Image
What really matters is where you are going, not where you come from.
Post Reply