Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 08:03
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
DuDE-0.4.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 14 [206 Posts]   Goto page: 1, 2, 3, ..., 12, 13, 14 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sat 20 Mar 2010, 06:56    Post subject:  DuDE-0.4.1
Subject description: Stardust desktop environment
 

September 2014:
Most features from DuDE is now implemented into the Puppy build system -
Woof-CE
_____________________________________________

Stardust is a extension of the desktop in Puppy. It requires Jwm and Rox to run.
It includes:
- Extended menus
- Easier theme management
- Desktop widgets
- Improved integration with Rox
- Powerful tray management
- New graphics
- Control panel
- DIPS - desktop integrated programs
- Use desktop corners as execution-area
- Extended use of hot-keys

If you're not critical, follow the 3 steps below to install. If you want to know more, please read next post. Changelog is here

Get it going:
Step 1: Install latest Pwidgets (optional)
Step 2: Install DuDE-0.4.1
Step 3: Restart X

Last edited by zigbert on Thu 09 Oct 2014, 15:06; edited 12 times in total
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sat 20 Mar 2010, 06:57    Post subject:  

Note! To uninstall DuDE you need to follow these steps:
1. Uninstall in Puppy Package Manager
2. Replace /usr/share/applications by /usr/share/applications-original
3. Reset icon/gtk themes


Ok, let's put some more flesh on the bone... The main idea by Stardust is to get a better work-flow on the Puppy desktop. BUT, this should not take much space or resources. Replacing the Stardust Desktop by the original Puppy desktop will not include more kiloytes!

Let's seperate Stardust into 3 different categories. Artwork, Widgets and Core. The last one is the complex one, and I'll try to explain a bit more in-depth.

1. Artwork
By far the largest category. You might ask why include 3 icon-sets that alone weight 419kb compressed. The reason is because the original icon-sets in Puppy is not compatible with Stardust. Well, compatible is might not the correct word.... 'not complete' is probably better. The icon-sets in Stardust is extended with some more icons to better reflect all features (installed apps) in Puppy.

2. Widgets
Pwidgets includes a nice collection of small desktop apps made by the Puppy community. Size is around 270kb compressed, and includes widgets, manager and engine (conky). For older machines, running widgets might be heavy stuff to run. The Pwidgets engine can be stopped/started via the Pwidgets manager or the Control center in Stardust. This package includes some updated code for the 'Wallpaper setter'. This to sync wallpaper with widgets background.

3. Core
This includes many scripts and guis, but not many bytes. Some are new, but some are updates of the scripts already in Puppy. The external apps are not unique Puppy programs, and the red ones are no longer needed.

/usr/sbin/defaults-wizard - Fixed version of pizzasgood gui to set default apps
/usr/sbin/fixmenus - build jwm main menu
/usr/sbin/fixmenus_desktop - build menu for desktop utilities
/usr/sbin/fixmenus_favorites - build favorites menu
/usr/sbin/fixmenus_menuitems - build menu for most-used apps
/usr/sbin/fixmenus_shutdown - build menu for shutdown options
/usr/sbin/pgtktheme - Gui for switch2 (change GTK-theme)
/usr/sbin/icon2desk - drag program-icons from a rox window to the desktop
/usr/sbin/icon_switcher - change theme for desktop icons
/usr/sbin/icon_switcher_cli - change theme for desktop icons from cli
/usr/sbin/MicksClock - a fullscreen clock
/usr/sbin/pcc - Puppy control center
/usr/sbin/pcorner - define actions when mouse enters a desktop corner
/usr/sbin/pcur - set mouse-cursor theme
/usr/sbin/pfont - install true type font
/usr/sbin/pnote - desktop-integrated notepad
/usr/sbin/pmenu - manage menu-settings
/usr/sbin/pshutdown - shutdown dialog
/usr/sbin/ptheme - complete theme manager
/usr/sbin/ptray - manage/build trays
/usr/bin/numlockx - activate NumLock at startup
/usr/bin/switch2 - Change gtk-theme gui/cli
/usr/bin/xvkbd - virtual keyboard (this compile has only english keyboard)
/usr/local/bin/defaultpdfviewer - define which program is prefered pdf-viewer
/usr/local/jwmconfig2/theme_switcher - change jwm-theme
/usr/local/jwmconfig2/keyboard - set keyboard shortscut for window manager
/usr/local/jwmconfig2/changeKey - set keyboard shortscut for window manager
/usr/local/apps/* - optimized options for right-click menu in rox


Menus
In Stardust there is not only 1 menu. There are several, and you can define which one should show up when mouse-right-click, mid-click... There is a gui (Pmenu) that handles this. Favorites menu lets you store your prefered files/apps/directories/URLs. You can edit it in Pmenu, but the easiest way is to right-click on a directory or file in Rox, and choose 'Add to Favorites'. By default the main menu shows most-used apps. To get this working, /usr/sbin/fixmenus had to get an overhault. Most-used menu is a nice feature, but also what 'infects' your Puppy system. - fixwidgets redirects all exec-values in .desktop files to start-scripts in /usr/share/stardust/bin/. The starter-scripts is what shows up when clicking the left-tray - 'Add icon'. This solves an old issue with Puppy. - How to let newbies add a program-icon on desktop. Pmenu also includes a tool to add/remove apps from the programs menu (the good old Puppy menu). Technically you remove an app from the menu by moving .desktop file from /usr/share/applications to /usr/share/applications_nomenu. Fixmenus also clean up the menu by adding space between icon and text, and by splitting appname and description (SeaMonkey - web browser).

Trays
Stardust shows 4 trays by default. It is probably way too many, but they can easily be hidden. With the new tray tool (Ptray), you have full control over your trays, and can build them the way you want them. It must be said that the Ptray gui is not as easy as the old jwmconfig2 boxes, but they are not compareable in what you can do with them. Adding an app to a tray searches for a matching icon in /root/.stardust/tmp/iconlist. This list is generated by fixmenus, and is used by tray items and 'most-used-apps' menu. The prefered icons are those defined in /root/.config/rox.sourceforge.net/ROX-Filer/globicons. The globicons file in Stardust might not reflect all the apps installed in your Puppy. If so, Stardust will use icons defined in *.desktop file.

Corners
The desktop corners can be made 'hot' by defining it as an execution area. This is handled by Pcorner, which is reachable from the control center. By default, Pnote (desktop notepad) is active in the upper-left corner. The structure behind these active corners is a tiny tray in each corner. These are defined as $HOME/.jwmrc-corner-xx. The only content of the 2-pixel corner-tray is a swallowed gtkdialog application that has one purpose; send an enter-notify-event when mouse is touching corner. It's defined a delay of 0.4 sec to prevent execution of a mouse in affect.

Themes
Stardust can handle global themes. You can store settings for all themes (gtk/jwm/wall/widgets...) in Puppy, and later change the Puppy apperance in one click. - Either via Ptheme-gui or from cli. This release of Stardust includes 4 global themes which is reachable from the top tray buttons. - I call them MoodButtons. Themes are stored in /root/.startdust/themes (together with other stardust stuff), and are simply a textfile that holds info of each unique sub-theme (gtk...). The gtk theme-switcher in Puppy does not allow input from cli, so Stardsut includes an alternative gtk theme-switcher. This one is not as polished as the original gtk-chtheme, so I have made a new gui for DuDE. The jwm-theme switcher is simplified, and iconswithcer is rewritten. Now it both handles gui and cli in one script (iconswicther_cli is not needed), and it does not scale 48x48 icons to 24x24 icons. - I can not see the reason for doing this. Jwm scales just fine, so if we want the same icon for the menu, we can simply make a symlink from www48.png to www24.png. Also this makes it possible to have unique menu icons (as in Stardust).

Rox integration
HairyWill made the rox-right-click pack a long time ago. My solution is based on Will's work. What I have done, is made it more flexible. Instead of hardcode menu-items in rox, I have pointed them to the 'default' apps (defaulthtmlviewer...). I have not included all obvious options (what happens if you left-click on file), but instead focused on alternative options. If you click on a image, it shows up in the viewer, but right-click shows option to edit as well. It is not obvious what the prefered action should be for an iso-file. Should it be mounted, or should it be burnt. - It is nice to offer more options. All files has got the menu-entry to 'Add to trash', 'Encrypt file' and 'Add to favorites'. To control the default apps, I have included pizzasgood's old 'defaulthandler'. Also, a new defaultpdfviewer is added.

DIPS - Desktop integrated programs
The filosophy of DIPS is that some programs benefits of an unique integration in the desktop environment. These are both external programs, and dip-programs written for Stardust.

PNOTE
Pnote is yet another notepad. There wouldn't be a reason for writing a new notepad if the goal was an ordinary pad. But this one fits perfect to the Stardust desktop. Move the mouse into the upper-left corner, and Pnote shows up. Write (paste) your notes, and continue to work in your major app. Pnote will disappear....

VIRTUAL KEYBOARD
Why include a virtual keyboard (xvkbd) into the Stardust pack? Yes, it sounds like a core app, but again; by using a unique configuration we get a better result... Xvkbd can sure be ran as a standalone program, but then the window manager (JWM) treats it like all the other apps, and it 'steals' focus from the app you want to write in. Stardust doesn't run it as an app, but as an autohidden tray (one app in a unique tray). Like this the keyboard doesn't need to take the focus from the active window to work. The virtual keyboard can be switched on/off in the control center.

SHUTDOWN DIALOG
For me, the menu works just as good as this dialog, but users of the Puppy Stardust iso, has reported that thick fingers and a small touchpad gives boom shots.

MICKSCLOCK
01micko used yaf-splash to make a fullscreen clock. - I thought it was a funny idea, and included it.

MISC
In addition, DuDE take advantage of other Stardust resources which is not a part of the DuDE pack.
- Opens Pprocess with Ctrl+Alt+Del. Requires Pprocess 2.1 or newer.
- Control volume with keys Alt+Up/Down. It requires Pmusic (1.0.0 or newer), but works as master volume.
- Play next (Alt+Left) song or previous (Alt+Right). This requires Pmusic 1.0.0 or newer

Hot-Keys
Puppy ships a set of pre-defined hotkeys. DuDE extends this with
Ctrl+Alt+x --> Opens Shutdown dialog
Ctrl+Alt+Del --> Opens Process manager (if installed - see above)
Alt+Up --> Increase volume (requires Pmusic - see above)
Alt+Down --> decrease volume (requires Pmusic - see above)
Alt+Left --> Skip to next song (requires Pmusic - see above)
Alt+Up --> Play previous song (requires Pmusic - see above)

Misc
The control center was initial made as an attempt to clean up the menus in Puppy. As complexity has grown, the menus has become huge ( read 'unreadable'). My thought was to move apps from the menu into the control center. Later the new menu-structure with 'Most-used' and 'Favorites' helped a lot, so the control center does not have the same momentum. But it gives more possibilities for explanations, and grouping of functions. Maybe most important is the possibility for more flexiblility. - Look at the included service manager. It is simple, small, and logical to find in a control center.

Pfont is a small app to install TTF fonts.


That's all
Sigmund

_________________
Stardust resources

Last edited by zigbert on Sun 05 Sep 2010, 10:19; edited 8 times in total
Back to top
View user's profile Send private message Visit poster's website 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Sat 20 Mar 2010, 18:08    Post subject:  

Hi zigbert,

I've installed this on Barry's experimental 4.3.2 and so far it's working fine. It's already more stable than the pre-alpha 4.4CE. Thanks for the mini tutorial. Lot more to explore.

How do you change the icons in the favorites menu? Most are showing as a generic icon.

Minor problem--Upon reboot, after a change such as adding a program or another sfs, the default 432 icons return to desktop and have to be manually removed.

Thanks,
Jim Very Happy
EDIT: Also tried it on Quirky 010, it appeared to work OK, however, all menu icons were a small orange square, so that ended my trial on Quirky.

Last edited by Jim1911 on Sat 20 Mar 2010, 20:57; edited 1 time in total
Back to top
View user's profile Send private message 
elraven

Joined: 03 Apr 2007
Posts: 82
Location: wnc-usa

PostPosted: Sat 20 Mar 2010, 20:24    Post subject: DuDe-0.1  

i've installed dude on BigMike's Bruno pup 4.3.1 , everything is running or working like it should. nice job thanks zigbert
elraven Very Happy
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sun 21 Mar 2010, 03:13    Post subject:  

Thank you for good news. Great to hear that it works.
Much more flexible than having a unique Stardust puplet.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
DC


Joined: 30 Apr 2006
Posts: 359
Location: Maidenhead, England

PostPosted: Sun 21 Mar 2010, 06:42    Post subject:  

Hi zigbert,

From my user point of view the best feature to come out of stardust/pwigets is the right click favorites menu.

Feature requests Smile

be able to save the right click menu for future installs
clone the right click menu to the top utility tray

DC
Back to top
View user's profile Send private message 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Sun 21 Mar 2010, 13:19    Post subject:  

zigbert,

This is a very well constructed, nicely thought out and handsome piece of work. I downloaded just the Dude part and it found it ideal for controlling every aspect of the Puppy experience. Well done.

Just to add to your suggestion about backing up the pup-save file, it probably is best viewed first and used with pfix=ram, so that the effects can be viewed before saving, as the current tray and jwm config files will be overridden.

What a stunning arrangement of icons and choices.

Thanks very much,
S
(Edit - one small item - when I tried to add gtkhash to the right-click primary menu, it did not appear, even though it was symlinked to /root/.config/rox.sourceforge.net/OpenWith/.application_x-executable/ - )
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sun 21 Mar 2010, 15:02    Post subject:  

Jim1911 wrote:
How do you change the icons in the favorites menu? Most are showing as a generic icon.
The preferred icon is set by the fixmenus script. See /root/.stardust/tmp/iconlist. I have chosen to use generic icon as first priority. If there doesn't exist a generic icon, it will use the one defined in the .desktop file (as in menu). The reason is double:
1. I want the desktop to follow the icon theme.
2. The generic icons are 48 pixels, and looks better than 16-pixels-icons as in the menu. Note that adding an icon to desktop also use the same icon selection.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sun 21 Mar 2010, 15:04    Post subject:  

Jim1911 wrote:
Minor problem--Upon reboot, after a change such as adding a program or another sfs, the default 432 icons return to desktop and have to be manually removed.
This problem has nothing to do wit Stardust, but has been around for a long time in the official Puppy. If you first remove icons on desktop, then install a sfs, icons return.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sun 21 Mar 2010, 15:11    Post subject:  

DC wrote:
Feature requests Smile

be able to save the right click menu for future installs
Favorites are saved in /root/.stardust/favorites. It should be easy to save the links for another install

DC wrote:
clone the right click menu to the top utility tray
Added to wish-list. I have an idea to clone favorites-directories with gtk-bookmarks.

Another thought is to allow URLs as Favorites. Not hard to do, but I have not seen the logical way to add the URLs.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sun 21 Mar 2010, 15:16    Post subject:  

seaside wrote:
This is a very well constructed, nicely thought out and handsome piece of work.
Thank you

seaside wrote:
(Edit - one small item - when I tried to add gtkhash to the right-click primary menu, it did not appear, even though it was symlinked to /root/.config/rox.sourceforge.net/OpenWith/.application_x-executable/ - )
Are you talking about the rox menu or the desktop (jwm) menu?


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Sun 21 Mar 2010, 16:11    Post subject:  

zigbert wrote:
Are you talking about the rox menu or the desktop (jwm) menu?


Sigmund


Rox - It shows up in the "open-with" menu, but not in the primary file "right-click" menu with the "add to favorites", "Encrypt", "Terminal", etc..,items.

Cheers,
S

(EDIT - it now works after a restart of X - puzzling Very Happy )
Back to top
View user's profile Send private message 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Sat 03 Apr 2010, 14:23    Post subject:
Subject description: Slight problem with Lupu 003
 

Hi zigbert,
Also works great on Lucid pup 003 with one exception. The PPC Desktop Menu button doesn't work, also the corresponding Edit Tray button on the top tray.

Still learning about it's fine features.
Thanks,
Jim Very Happy
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sat 03 Apr 2010, 17:01    Post subject:  

Hello Jim
Running Lucid Puppy now, and things seems to run fine for me. Both tray-edit-button and pcc->desktop->menu. ?????? any terminal output? Remember to restart X to settle things.....

I have made some progress on the 0.2 version of DuDE. I use Lucid as my base for the work, so we should be ready for the Puppy future when it arrives Smile


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Sat 03 Apr 2010, 17:19    Post subject:  

zigbert wrote:
Hello Jim
Running Lucid Puppy now, and things seems to run fine for me. Both tray-edit-button and pcc->desktop->menu. ?????? any terminal output? Remember to restart X to settle things.....
I have made some progress on the 0.2 version of DuDE. I use Lucid as my base for the work, so we should be ready for the Puppy future when it arrives Smile Sigmund
I did, no change, also rebooted. PCC >> Desktop >> Tray button and tray-edit button are what do not respond, other controls in the PCC work fine. What console command do I use to start tray-edit? On the other hand since it works fine for you, maybe I should wait for 0.2 version unless you need feedback.
Cheers,
Jim
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 14 [206 Posts]   Goto page: 1, 2, 3, ..., 12, 13, 14 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1197s ][ Queries: 13 (0.0068s) ][ GZIP on ]