Author Message

puppyluvr





Joined: 06 Jan 2008

Posts: 3512

Location: Chickasha Oklahoma

Joined: 06 Jan 2008Posts: 3512Location: Chickasha Oklahoma

Post subject: Cosmo UI for Puppy Linux

Subject description: First release testing please Posted: Sun 18 Nov 2012, 20:23Post subject:Cosmo UI for Puppy LinuxSubject description: First release testing please Hello,

Introducing CosmoUI for Puppy.

1366x768



800x600



"Metro" Style interface for Puppy Linux.

Uses Gtk and Conky and acpi for info..

The pet is 473k ~ 980k installed.

( I like to keep things below 1mb )

The gtk buttons call default puppy programs..

Uses desktop-restore to return the setup to what it was before when closed...

Also installs a Win-8-black background.

After installing the pet, click the "Cosmo" icon in /root

Ssee second post for pets as I build them...



Setups for various resolutions.

At too low a resolution, the display goes off the right side of the screen, leaving

no "Exit" button.. Simply go to /root and right click the "Cosmo" icon, choose "look inside", and click "kill"

to reset your desktop. More resolutions coming..

Also for conky to work, Puppy must have glibc-2.7 or better, so 3 series is a no go.

I have not tried 214x yet, but IIRC it has glibc-2.8 so should work.



Testers wanted...

Tested on:

Lupu/Precise/Squeeze/Puppy/ bases..



So far my testing finds Carolina and some other xfce pups dont co-operate..

Also PupControl only works if you have it.

Also, the second "messaging icon is supposed to be "weather" ..

Just a testing run to expand its "generic-ness"

Will dial in the interface cosmetics along the way, IE the 5 conky windows, maybe a 4th row...

Eventually a "User Installed" area..

Alpha only.. Just for testers...



@ these are only alpha tests for resolution, the finished CosmoUI will be 1.0 and will include a GUI to select resolutions, programs, icons, etc.. These do not link into the path, and hence run as basically "orphaned" unkillable processes.. Purely for testing ATM.. Much unfinished work to do on the scripts, etc..The final will run properly, and die properly..

If you want, Hello,Introducing CosmoUI for Puppy.1366x768800x600"Metro" Style interface for Puppy Linux.Uses Gtk and Conky and acpi for info..The pet is 473k ~ 980k installed.( I like to keep things below 1mbThe gtk buttons call default puppy programs..Uses desktop-restore to return the setup to what it was before when closed...Also installs a Win-8-black background.After installing the pet, click the "Cosmo" icon in /rootSsee second post for pets as I build them...Setups for various resolutions.At too low a resolution, the display goes off the right side of the screen, leavingno "Exit" button.. Simply go to /root and right click the "Cosmo" icon, choose "look inside", and click "kill"to reset your desktop. More resolutions coming..Also for conky to work, Puppy must have glibc-2.7 or better, so 3 series is a no go.I have not tried 214x yet, but IIRC it has glibc-2.8 so should work.Testers wanted...Tested on:Lupu/Precise/Squeeze/Puppy/ bases..So far my testing finds Carolina and some other xfce pups dont co-operate..Also PupControl only works if you have it.Also, the second "messaging icon is supposed to be "weather" ..Just a testing run to expand its "generic-ness"Will dial in the interface cosmetics along the way, IE the 5 conky windows, maybe a 4th row...Eventually a "User Installed" area..Alpha only.. Just for testers...@ these are only alpha tests for resolution, the finished CosmoUI will be 1.0 and will include a GUI to select resolutions, programs, icons, etc.. These do not link into the path, and hence run as basically "orphaned" unkillable processes.. Purely for testing ATM.. Much unfinished work to do on the scripts, etc..The final will run properly, and die properly..If you want, Code: ln /root/Cosmo/Cosmo /root/my-applications/bin/Cosmo

and Code: ln /root/Cosmo/Cosmo2 /root/my-applications/bin/Cosmo2 to link it into the path, like it eventually will be...

Last edited by puppyluvr on Thu 22 Nov 2012, 14:55; edited 9 times in total



puppyluvr





Joined: 06 Jan 2008

Posts: 3512

Location: Chickasha Oklahoma

Joined: 06 Jan 2008Posts: 3512Location: Chickasha Oklahoma

Posted: Sun 18 Nov 2012, 20:27 Post subject: Smaller resolution.. Hello,

Introducing "CosmoUI-small".

Setup for 1024x768..

Testers wanted...

If you have already installed the "large" version, uninstall it or delete /root/conky before installing the "small" version..



Also "Cosmo-1440x900" For that resolution...

Still working on 1280x and the x600 ones..

Every resolution requires a complete rebuild, as it is not scalable...



Edit... The first 1440x900 pet was missing a directory..

Fixed, and added an 800x600...

Edit2 Fixed 800x600 and re U/L.. LOL..

As I edit the various sizes, they will move to the top of the list... ... ore to come...Hello,Introducing "CosmoUI-small".Setup for 1024x768..Testers wanted...If you have already installed the "large" version, uninstall it or delete /root/conky before installing the "small" version..Also "Cosmo-1440x900" For that resolution...Still working on 1280x and the x600 ones..Every resolution requires a complete rebuild, as it is not scalable...Edit... The first 1440x900 pet was missing a directory..Fixed, and added an 800x600...Edit2 Fixed 800x600 and re U/L.. LOL..As I edit the various sizes, they will move to the top of the list......

_________________

Close the Windows, and open your eyes, to a whole new world

I am Lead Dog of the

Puppy Linux Users Group on Facebook

Join us!



Puppy since 2.15CE...



Last edited by puppyluvr on Mon 19 Nov 2012, 22:47; edited 12 times in total



tubeguy





Joined: 28 Aug 2009

Posts: 1329

Location: Park Ridge IL USA

Joined: 28 Aug 2009Posts: 1329Location: Park Ridge IL USA

Posted: Sun 18 Nov 2012, 21:31 Post subject:



Installed on my Precise setup:



before

after



Exiting caused x-server to restart and everything was reset as promised. It doesn't look like yours but my resolution is 1280x1024. I like what the Facebook link does.Installed on my Precise setup:Exiting caused x-server to restart and everything was reset as promised. It doesn't look like yours but my resolution is 1280x1024.

_________________

Tahr Pup 6 on desktop, Lucid 3HD on lappie



puppyluvr





Joined: 06 Jan 2008

Posts: 3512

Location: Chickasha Oklahoma

Joined: 06 Jan 2008Posts: 3512Location: Chickasha Oklahoma

Posted: Sun 18 Nov 2012, 21:37 Post subject: Hello,

No, I think gtkdialog.. I`m using offsets to place the buttons, and on your Precise, it stayed at "0"

But good to know it reset properly.. That was a big issue for me.. Will D/L the latest Precise, and see why.. Thank you.. Hello,No, I think gtkdialog.. I`m using offsets to place the buttons, and on your Precise, it stayed at "0"But good to know it reset properly.. That was a big issue for me.. Will D/L the latest Precise, and see why.. Thank you..

_________________

Close the Windows, and open your eyes, to a whole new world

I am Lead Dog of the

Puppy Linux Users Group on Facebook

Join us!



Puppy since 2.15CE...



tubeguy





Joined: 28 Aug 2009

Posts: 1329

Location: Park Ridge IL USA

Joined: 28 Aug 2009Posts: 1329Location: Park Ridge IL USA

Posted: Sun 18 Nov 2012, 21:39 Post subject: FWIW it's Precise 5.4 not 5.4.1.

_________________

Tahr Pup 6 on desktop, Lucid 3HD on lappie



puppyluvr





Joined: 06 Jan 2008

Posts: 3512

Location: Chickasha Oklahoma

Joined: 06 Jan 2008Posts: 3512Location: Chickasha Oklahoma

Posted: Mon 19 Nov 2012, 05:07 Post subject: Hello,

@Tubeguy,

Tested it on a fresh Precise 5.4 and worked perfectly at 1366.

At 1280 the icons go off screen to the right, but were located properly.

Still testing.. Hello,@Tubeguy,Tested it on a fresh Precise 5.4 and worked perfectly at 1366.At 1280 the icons go off screen to the right, but were located properly.Still testing..

_________________

Close the Windows, and open your eyes, to a whole new world

I am Lead Dog of the

Puppy Linux Users Group on Facebook

Join us!



Puppy since 2.15CE...



Keef





Joined: 20 Dec 2007

Posts: 1001

Location: Staffordshire

Joined: 20 Dec 2007Posts: 1001Location: Staffordshire

Posted: Mon 19 Nov 2012, 16:36 Post subject: Just ran a quick test of the 1024x768 version on Akita Beta 13 and nothing has exploded yet. Restored desktop properly.

01micko





Joined: 11 Oct 2008

Posts: 8787

Location: qld

Joined: 11 Oct 2008Posts: 8787Location: qld

Posted: Mon 19 Nov 2012, 17:01 Post subject:



For transparency you may want to take a look .. you've already been there.. did you try it?





Cheers JayFor transparency you may want to take a look here . akash_rawal's app works well. Woops.... you've already been there.. did you try it?Cheers

_________________

- contact me for access

_________________ Puppy Linux Blog - contact me for access

oldyeller





Joined: 15 Nov 2011

Posts: 891

Location: Alaska

Joined: 15 Nov 2011Posts: 891Location: Alaska

Posted: Tue 20 Nov 2012, 11:50 Post subject: Hi puppyluvr,



downloaded last night and looks good.



Have you thought about doing a config file so that people can change the background and apps?



Cheers

SFR





Joined: 26 Oct 2011

Posts: 1802

Joined: 26 Oct 2011Posts: 1802

Posted: Tue 20 Nov 2012, 13:33 Post subject: puppyluvr wrote: Testers wanted...

Slacko-5.3.3-4g, CosmoUI-1366x768.pet, so far so good, really like it!



Small issues:

1.Calendar button points to /root/noob/files/calen

2.conky.conf.6:

In the eth0 part there are two (font... instead of {font... what causes wrong display.

3. I don't know if it's just me, but wallpaper doesn't appear.

I have to do it manually via xli -onroot -fillscreen /usr/share/backgrounds/black_windows_8.png



It was very good idea to create and link "Computer" icon with Pmount, now our dear Windoze refugees (I'm one of them, actually) will feel more like home.



Suggestion:

How about keeping all buttons beneath regular windows, on Conky level?

I just compiled wmctrl (only 74K) and

Slacko-5.3.3-4g, CosmoUI-1366x768.pet, so far so good, really like it!Small issues:1.Calendar button points to2.conky.conf.6:In the eth0 part there are twoinstead ofwhat causes wrong display.3. I don't know if it's just me, but wallpaper doesn't appear.I have to do it manually viaIt was very good idea to create and link "Computer" icon with Pmount, now our dear Windoze refugees (I'm one of them, actually) will feel more like home.Suggestion:How about keeping all buttons beneath regular windows, on Conky level?I just compiled wmctrl (only 74K) and Code: wmctrl -r "window_name" -b add,below

will send and keep the window down below.

http://tomas.styblo.name/wmctrl/#download



BTW, thanks for:

skip_taskbar_hint="true"

I was looking for this once!



Keep it up &

Greetings! will send andthe window down below.BTW, thanks for:I was looking for this once!Keep it up &Greetings!

_________________

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource

Omnia mea mecum porto.



puppyluvr





Joined: 06 Jan 2008

Posts: 3512

Location: Chickasha Oklahoma

Joined: 06 Jan 2008Posts: 3512Location: Chickasha Oklahoma

Posted: Tue 20 Nov 2012, 23:50 Post subject: Hello,

@oldyeller,

Yes, a config for apps is in the works..

Remember, this calls defaults, so whatever you set with the "default chooser" will launch..

So for example, to assign the "messaging" button to launch Skype, set Skype as "default chat"..

Background is set by WM IE this doesnt set the BG, cause it looks cool over different BG`s and I didnt want to force any one..

Eventually, a resolution config will allow "1 pet for all" but since scaling is out, it will take a bit of scripting variables..



@01micko,

Still playing with that.. Looks promising, but aint got it working for me properly yet...



@SFR,

Hello,@oldyeller,Yes, a config for apps is in the works..Remember, this calls defaults, so whatever you set with the "default chooser" will launch..So for example, to assign the "messaging" button to launch Skype, set Skype as "default chat"..Background is set by WM IE this doesnt set the BG, cause it looks cool over different BG`s and I didnt want to force any one..Eventually, a resolution config will allow "1 pet for all" but since scaling is out, it will take a bit of scripting variables..@01micko,Still playing with that.. Looks promising, but aint got it working for me properly yet...@SFR, Quote: Calendar button points to /root/noob/files/calen

Forgot that one....

Forgot that one.... Quote: In the eth0 part there are two (font... instead of {font... what causes wrong display.

Will fix that asap...

Will fix that asap... Quote: wallpaper doesn't appear.

I have to do it manually via xli -onroot -fillscreen /usr/share/backgrounds/black_windows_8.png

It isnt supposed to set it... Didnt want to force it to just the one, when so many look so cool with it...

It isnt supposed to set it... Didnt want to force it to just the one, when so many look so cool with it... Quote: It was very good idea to create and link "Computer" icon with Pmount, now our dear Windoze refugees (I'm one of them, actually) will feel more like home

Thank you, that was the exact intention.. "My Computer" etc...

Quote: How about keeping all buttons beneath regular windows, on Conky level?

Good point, hadnt considered that.. Will check out your link..

But may just try

Code: gtk_window_set_keep_below

for that...

Quote: BTW, thanks for:

skip_taskbar_hint="true"

I was looking for this once!

You`re welcome, it was necessary, as otherwise it showed 2 tasks when it ran..

Hard part was locating the buttons...

These two do the magic, took a bit to figure out...

Code: RIGHT=25 DOWN=210= WIDTH=1290 HEIGHT=128 # define location variables

gtkdialog3 --program Cosmo -G ${1-${WIDTH}x${HEIGHT}+${RIGHT}+${DOWN}}



Thank you for the detailed feedback, it is incredibly helpful..

Stare at some code for hours on end, and it gets easy to miss things like those above...

BTW I couldnt get "xli -onroot -fillscreen /usr/share/backgrounds/black_windows_8.png[" to work for me..

Could use that on another project...

Updates/improvements in the works...

Still working on the "slideshow" in a button effect..



Thanks for testing...



@tubeguy,

Thank you for the detailed feedback, it is incredibly helpful..Stare at some code for hours on end, and it gets easy to miss things like those above...BTW I couldnt get "xli -onroot -fillscreen /usr/share/backgrounds/black_windows_8.png[" to work for me..Could use that on another project...Updates/improvements in the works...Still working on the "slideshow" in a button effect..Thanks for testing...@tubeguy, Quote: before

after



Yep, it was the offsets, different resolutions are picky about it.. Try the 1024x768 for me, if you can..

I cant force 1280 on this box, but will fire up a few others and see if I can get that res on one..

I have to configure it in the resolution in question, for the button/conky spacing to work out right...

Height matters as well, because gtk and conky are offset differently.. However, I just discovered that I may be able to make gtk offset the same as conky, which would require a total rewrite, but would make the gtk and conky elements line up properly regardless of WM height...



Again, thanks guys!!

More to come... Also a lcars based "Star Trek" UI is still coming along, or will when I get back to it..

It uses conky/gtk/espeak and even talks... Yep, it was the offsets, different resolutions are picky about it.. Try the 1024x768 for me, if you can..I cant force 1280 on this box, but will fire up a few others and see if I can get that res on one..I have to configure it in the resolution in question, for the button/conky spacing to work out right...Height matters as well, because gtk and conky are offset differently.. However, I just discovered that I may be able to make gtk offset the same as conky, which would require a total rewrite, but would make the gtk and conky elements line up properly regardless of WM height...Again, thanks guys!!More to come... Also a lcars based "Star Trek" UI is still coming along, or will when I get back to it..It uses conky/gtk/espeak and even talks...

_________________

Close the Windows, and open your eyes, to a whole new world

I am Lead Dog of the

Puppy Linux Users Group on Facebook

Join us!



Puppy since 2.15CE...



mikeybaby72





Joined: 10 Sep 2008

Posts: 27

Location: Sheffield, UK

Joined: 10 Sep 2008Posts: 27Location: Sheffield, UK

Post subject: Posted: Wed 21 Nov 2012, 14:10Post subject:



I'm not at home right now so can't mess around with hardware so much right now.



It seems to have left a problem with my install of Pwidgets - they are still there but now have Conky boxes round them!!!



How do I restore them to what they where and BTW I'll do my next lot of testing running in 'live' mode!!!! Been watching this project with great interest - just tried it on my PortaPup 5.2.5 USB stick install and it looks pretty good to me!I'm not at home right now so can't mess around with hardware so much right now.It seems to have left a problem with my install of Pwidgets - they are still there but now have Conky boxes round them!!!How do I restore them to what they where and BTW I'll do my next lot of testing running in 'live' mode!!!!

_________________

Adopt a Puppy TODAY - they are Man's best friend!



Currently researching "Linux on Android project" - wanting to compile a Puppy to run in my hand on my Droid ... This has always been a dream of mine.

_________________Adopt a Puppy TODAY - they are Man's best friend!Currently researching "Linux on Android project" - wanting to compile a Puppy to run in my hand on my Droid ... This has always been a dream of mine.

puppyluvr





Joined: 06 Jan 2008

Posts: 3512

Location: Chickasha Oklahoma

Joined: 06 Jan 2008Posts: 3512Location: Chickasha Oklahoma

Posted: Wed 21 Nov 2012, 18:24 Post subject: Hello,

Exiting Cosmo should restore your desktop to its previous state..

But starting it again would do the same thing..

Umm.. Pwidgets... Shoulda thought of that..

Cosmo by default kills conky and restarts it...

The attached pet switches the AppRun script to one that doesnt..

It should leave Pwidgets alone, but will also leave your icons on screen..

Give it a try and let me know, as I have to install Pwidgets to test it, and aint got time ATM..

THX... Jay.... Hello,Exiting Cosmo should restore your desktop to its previous state..But starting it again would do the same thing..Umm.. Pwidgets... Shoulda thought of that..Cosmo by default kills conky and restarts it...The attached pet switches the AppRun script to one that doesnt..It should leave Pwidgets alone, but will also leave your icons on screen..Give it a try and let me know, as I have to install Pwidgets to test it, and aint got time ATM..THX... Jay.... Pwidgetsfix.pet Description





Download Filename Pwidgetsfix.pet Filesize 509 Bytes Downloaded 1329 Time(s)

_________________

Close the Windows, and open your eyes, to a whole new world

I am Lead Dog of the

Puppy Linux Users Group on Facebook

Join us!



Puppy since 2.15CE...



puppyluvr





Joined: 06 Jan 2008

Posts: 3512

Location: Chickasha Oklahoma

Joined: 06 Jan 2008Posts: 3512Location: Chickasha Oklahoma

Posted: Sun 25 Nov 2012, 00:35 Post subject: Hello,

Well, I cot sidetracked with the slideshow thing, but got it figured out.

Well, sort of.. I was able to get w gtk widget to refresh to a random image, but it was to much bs so I went back to conky, and it runs a slideshow great...

Next I am looking @ "hot corners" in jwm... Hello,Well, I cot sidetracked with the slideshow thing, but got it figured out.Well, sort of.. I was able to get w gtk widget to refresh to a random image, but it was to much bs so I went back to conky, and it runs a slideshow great...Next I am looking @ "hot corners" in jwm...

_________________

Close the Windows, and open your eyes, to a whole new world

I am Lead Dog of the

Puppy Linux Users Group on Facebook

Join us!



Puppy since 2.15CE...



musher0



Joined: 04 Jan 2009

Posts: 15041

Location: Gatineau (Qc), Canada



Posted: Sun 25 Nov 2012, 01:39 Post subject:



Yikes! I can appreciate puppyluvr's technical feat, but you'll still have to pry me off my right-click menu with a BIG, huge, even colossal tire iron before I will even start considering to install "that" on my machine.



BFN. Hi, gang.Yikes! I can appreciate puppyluvr's technical feat, but you'll still have to pry me off my right-click menu with a BIG, huge, even colossal tire iron before I will even start considering to install "that" on my machine.BFN.

_________________

musher0

~~~~~~~~~~

"You want it darker? We kill the flame." (L. Cohen)

