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 Sat 22 Nov 2014, 10:48
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Standard/Advanced Menus
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [30 Posts]   Goto page: Previous 1, 2
Author Message
bpm

Joined: 18 Jan 2012
Posts: 4
Location: Vancouver

PostPosted: Wed 18 Jan 2012, 21:15    Post subject: sparse & profuse icon sets already exist  

The desktop icon set already is a menu, present without any action taken - and it already uses functional labels such as "browser."

Switching between profuse and sparse icon sets is already set up: menu/desktop/desktop templates. And the sets can be edited, simply by dragging icons to the trashcan.

So - there's something to be said, on simplicity grounds, for making the most of what is already there, rather than adding something new.
-----------------------------
Edit: well, actually, when tested (in 5.2.8 & 5.3.1) the feature doesn't seem to work. That is: starting from a customized state, if I select Traditional or Minimal setups, nothing happens: the icons stay as I've put them.
If this supposed function really is non-working debris, fixing it would be a good step - nothing confuses and annoys new users more than non-working debris.

Last edited by bpm on Wed 18 Jan 2012, 23:02; edited 1 time in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 18 Jan 2012, 22:40    Post subject:  

bpm makes a good point. Some simplification is available but it is hidden away. I must admit only having used it once. I tend to prefer all the icons. Saluki has a simplified menu. We are already seeing a much simpler menu (that is end user ease - just works) with Saluki (currently at Alpha 007) Efforts spent with Saluki would be most productive.

The Alpha2 of Slacko uses a simpler 3 step menu. I am not sure if menu items can be made bold in JWM (or half bold) as Nancy Reagan suggests and Volhout would like. The dropping of geek program names has been talked of before and not adopted. I would suggest it is common sense.

So please support Saluki if possible and develop your idea Smile

Puppy Linux
Simple not stupid

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Sat 21 Jan 2012, 04:12    Post subject:  

Hi.

Information of working progress:

Solved - STEP 2 - comfortably and secure editing of user menus

First Step should figure out, if it is possible to create a user menu that shows only the wanted entries.

Improved and worked out successfully!

------

Step 2 should figure out, if it is possible to edit comfortably and save the user menu.

Improved and worked out successfully!

As you can see in the attached images, there is user mode for KIDS enabled. Related menu entry shows "on" if set on.
In example KIDS mode are only two programs enabled: Aqualung (to play music) and mtpaint (to paint pics, doesn't all kids do stuff like that?).
Changing user mode is possible at all user modes, but if not running in ADVANCED mode, a password is required.
If running as ADVANCED a password is also required, but the checkbox allows to set off password check - only ADVANCED.
Password check is a simple text file based password - i think it will be save enough to KIDS, BEGINNER and INTERMEDIARY users and easy to change by admin (you).

It is surely possible to make a "cutdown" of the menu structure instead of leaving empty menu entries, but it is not as easy to modify by the average user (admin, you).

As you can see in the codes, there are some sections in the scripts that builds the menus, that can only be changed by manual editing of the script.
This is unacceptable for the average user, that's why i have decide to let menu entries stay - but empty. It is the easiest way to configure user menus without the need of having a big bag of puppy knowledge.

These sections are also responsible to the impossibility to get the complete menu in other languages than English. The whole SHUTDOWN section can only set to other languages by using GETTEXT - which doesn't work in my puppy. and so in lucid and surely many other puppies as well.

Menu section of FBPANEL (/usr/sbin/pfbpanel)
Code:
if [ "`echo $PFBPANEL | grep EXIT_OK`" != "" ]; then
 if [ "$1" != refresh ]; then
  echo \# Config file created and used by PFBPANEL, please do not edit by hand > $CONFIG
  echo "$PFBPANEL" | sed 's/\"//g' | grep -v EXIT | grep -v none | grep -v desktop | grep -v LAUNCHICON >> $CONFIG
  echo "$PFBPANEL" | sed 's/\"//g' | grep desktop | while read FILE
  do
   PARTONE=`echo "$FILE" | cut -f 1 -d '='`
   PARTTEMP="`echo \"$FILE\" | cut -f 2 -d '='`"
   PARTTWO="`basename \"$PARTTEMP\"`"
   echo "$PARTONE"="$PARTTWO" >> $CONFIG
  done
  echo "$PFBPANEL" | sed 's/\"//g' | grep LAUNCHICON | grep -v '=none' >> $CONFIG
 fi

 echo \# fbpanel configured by PFBPANEL > $DEFAULT
 echo Global \{ >> $DEFAULT
 echo edge = `cat $CONFIG | grep EDGE | grep true | cut -f 1 -d '=' | sed 's/EDGE//' | tr '[A-Z]' '[a-z]'` >> $DEFAULT
 echo allign = `cat $CONFIG | grep ALLIGN | grep true | cut -f 1 -d '=' | sed 's/ALLIGN//' | tr '[A-Z]' '[a-z]'` >> $DEFAULT
 MARGIN=`cat $CONFIG | grep MARGIN | cut -f 2 -d '=' | grep -o [0-9] | tr '\n' '=' | sed 's/=//g'`
 if [ "$MARGIN" = "" ]; then
  MARGIN=0
 fi
 echo margin = $MARGIN >> $DEFAULT
 echo widthtype = percent >> $DEFAULT
 PANELWIDTH=`cat $CONFIG | grep PANELWIDTH | cut -f 2 -d '=' | grep -o [0-9] | tr '\n' '=' | sed 's/=//g'`
 if [ "$PANELWIDTH" = "" ]; then
  PANELWIDTH=100
 fi
 echo width = "$PANELWIDTH" >> $DEFAULT
 echo heighttype = pixel >> $DEFAULT
 HEIGHT=`cat $CONFIG | grep HEIGHT | cut -f 2 -d '=' | grep -o [0-9] | tr '\n' '=' | sed 's/=//g'`
 if [ "$HEIGHT" = "" ]; then
  HEIGHT=26
 fi
 echo height = $HEIGHT >> $DEFAULT
 echo setdocktype = `cat $CONFIG | grep DOCKYES | cut -f 2 -d '='` >> $DEFAULT
 echo setpartialstrut = `cat $CONFIG | grep RESERVEYES | cut -f 2 -d '='` >> $DEFAULT
 echo autohide = `cat $CONFIG | grep AUTOHIDEYES | cut -f 2 -d '='` >> $DEFAULT
 echo transparent = `cat $CONFIG | grep TRANSPARENTYES | cut -f 2 -d '='` >> $DEFAULT
 echo    tintcolor = \#000000 >> $DEFAULT
 echo    alpha = 10 >> $DEFAULT
 
 echo     roundcorners = `cat $CONFIG | grep ROUNDCORNERSYES | cut -f 2 -d '='` >> $DEFAULT
 
 echo                \} >> $DEFAULT
 
 echo Plugin \{ >> $DEFAULT
 echo    type = space >> $DEFAULT
 echo    config \{ >> $DEFAULT
 echo           size = 2 >> $DEFAULT
 echo              \} >> $DEFAULT
 echo              \} >> $DEFAULT
 if [ "`cat $CONFIG | grep MENUYES | cut -f 2 -d '='`" = true ]; then
  echo Plugin \{ >> $DEFAULT
  echo    type = menu >> $DEFAULT
  echo    config \{ >> $DEFAULT
  echo        image = /usr/share/fbpanel/images/start-button.png >> $DEFAULT
  fbpanel-xdgmenu /etc/xdg/menus/puppy-desktop.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-system.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-setup.menu >> /tmp/fbpanel-menu
  echo separator \{ >> /tmp/fbpanel-menu
  echo            \} >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-mypuppy.menu >> /tmp/fbpanel-menu
  echo separator \{ >> /tmp/fbpanel-menu
  echo            \} >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-guides.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-favorites.menu >> /tmp/fbpanel-menu
  echo separator \{ >> /tmp/fbpanel-menu
  echo            \} >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-sfs.menu >> /tmp/fbpanel-menu
  echo separator \{ >> /tmp/fbpanel-menu
  echo            \} >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-utility.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-filesystem.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-graphic.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-document.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-calculate.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-personal.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-network.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-internet.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-multimedia.menu >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-fun.menu >> /tmp/fbpanel-menu
  echo separator \{ >> /tmp/fbpanel-menu
  echo            \} >> /tmp/fbpanel-menu
  fbpanel-xdgmenu /etc/xdg/menus/puppy-run-as.menu >> /tmp/fbpanel-menu
 
  #rarsa wrote fbpanel-xdgmenu i think. needs a bit of a hack to find
  #all icons. fbpanel-menu has /tmp/icons prepended to all icon entries...
  aPATTERN='s%/tmp/icons/%/var/local/icons/%'
  bPATTERN='s%/tmp/icons//%/%' #icon had a full path, get rid of prepend.
  sed -e "$bPATTERN" -e "$aPATTERN" /tmp/fbpanel-menu >> $DEFAULT
  rm -f /tmp/fbpanel-menu

  echo separator \{ >> $DEFAULT
  echo            \} >> $DEFAULT

#  echo menu  \{ >> $DEFAULT
#  echo name = Refresh menus >> $DEFAULT
#  echo image = /tmp/icons/mini-tick.xpm >> $DEFAULT
#  echo item \{ >> $DEFAULT
#  echo name = fixmenus >> $DEFAULT
#  echo action = fixmenus >> $DEFAULT
#  echo image = /tmp/icons/mini-tick.xpm >> $DEFAULT
#  echo            \} >> $DEFAULT
#  echo            \} >> $DEFAULT

  echo "menu  {
   name = Help
   image = ${X11PIXMAPS}/help24.png
   item {
    name = Lazy Puppy Help
    action = /usr/sbin/ceelab/lazy528-help-html-start
    image = ${X11PIXMAPS}/help24.png
   }
   item {
    name = Lucid Puppy Help
    action = defaulthtmlviewer file:///usr/share/doc/index.html
    image = ${X11PIXMAPS}/help24.png
   }
   item {
    name = Puppy Help 101
    action = notecase /usr/share/doc/PH101-001.ncd
    image = ${X11PIXMAPS}/help24.png
   }
  }" >> $DEFAULT
 
  echo "menu  {
   name = Shutdown
   image = ${X11PIXMAPS}/shutdown24.png
   item {
    name = Shutdown Computer
    action = wmpoweroff
    image = ${X11MINIICONS}/mini-stop.xpm
   }
  }" >> $DEFAULT


Menu section of OPENBOX (/usr/bin/obmenu-refresh)

Code:

DIR=`pwd`

echo Generating $HOME/.config/openbox/menu.xml...

cd $HOME/.config/openbox
mv -f menu.xml menu.xml.bak
cat menu_top.xml > menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-desktop.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-system.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-setup.menu >> menu.xml
echo "<separator/>" >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-mypuppy.menu >> menu.xml
echo "<separator/>" >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-guides.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-favorites.menu >> menu.xml
echo "<separator/>" >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-sfs.menu >> menu.xml
echo "<separator/>" >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-utility.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-filesystem.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-graphic.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-document.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-calculate.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-personal.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-network.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-internet.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-multimedia.menu >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-fun.menu >> menu.xml
echo "<separator/>" >> menu.xml
ob-xdgmenu /etc/xdg/menus/puppy-run-as.menu >> menu.xml
echo "<separator/>" >> menu.xml
cat menu_bottom.xml >> menu.xml

if [ "`pidof openbox`" != "" ];then
openbox --reconfigure
fi

cd "$DIR"



Menu section of JWM (/etc/xdg/templates/)

Code:
<JWM>

 <!-- IMPORTANT, ONLY EDIT /etc/xdg/templates/_root_.jwmrc -->
 <!-- jwm menu for puppy Linux -->
 <RootMenu label="Menu" labeled="false" height="24" onroot="3">
 
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-desktop.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-system.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-setup.menu

  <Separator/>

  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-mypuppy.menu

  <Separator/>

  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-guides.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-favorites.menu

  <Separator/>

  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-sfs.menu

  <Separator/>

  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-utility.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-filesystem.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-graphic.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-document.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-calculate.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-personal.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-network.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-internet.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-multimedia.menu
  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-fun.menu

  <Separator/>

  PUPPYMENU jwm-xdgmenu /etc/xdg/menus/puppy-run-as.menu
 
  <Separator/>
 
  <Menu label="Help" icon="help24.png">
    <Program label="LazY Puppy Hilfe" icon="help24.png">exec /usr/sbin/ceelab/lazy528-help-html-start</Program>
    <Separator/>
    <Program label="Lucid Puppy Help" icon="help24.png">exec defaulthtmlviewer file:///usr/share/doc/index.html</Program>
    <Program label="Puppy Help 101" icon="help24.png">exec notecase /usr/share/doc/PH101-001.ncd</Program>
  </Menu>
 
<Menu label="Shutdown" icon="shutdown24.png" height="16">
   <Program label="Shutdown Computer" icon="mini-stop.xpm">exec wmpoweroff</Program>
</Menu>



All codes are showing menu editions of LazY Puppy 5.2.8-4. It is always the SHUTDOWN and HELP section, that needs to be translated by GETTEXT - or, the other possibility - remove these sections and replace it with likely one of the lines using xxx.menu files.

Therefor some .directory and .desktop files must be created. I think, this is the way i would use, because it would be fine to get the complete menu in foreign languages!!!

The rest of the story is surely told by having a look at the attached images.

Check this out, post your suggestions - but do not make me confused - please.

Edit: Sorry, i meant CONFUSED not DISTURBED Embarassed

RSH
new-menu-with-user-mode.jpg
 Description   
 Filesize   55.65 KB
 Viewed   888 Time(s)

new-menu-with-user-mode.jpg

edit-kids-list.jpg
 Description   
 Filesize   19.96 KB
 Viewed   858 Time(s)

edit-kids-list.jpg

pwd-check-still-german.jpg
 Description   
 Filesize   5.08 KB
 Viewed   851 Time(s)

pwd-check-still-german.jpg

pwd-wrong-no-advanced-user.jpg
 Description   
 Filesize   30.78 KB
 Viewed   866 Time(s)

pwd-wrong-no-advanced-user.jpg

RPA-kids-mode-on.jpg
 Description   
 Filesize   51.2 KB
 Viewed   845 Time(s)

RPA-kids-mode-on.jpg

mm.jpg
 Description   
 Filesize   39.99 KB
 Viewed   852 Time(s)

mm.jpg

grfx.jpg
 Description   
 Filesize   46.92 KB
 Viewed   853 Time(s)

grfx.jpg

doc-empty.jpg
 Description   
 Filesize   30.82 KB
 Viewed   851 Time(s)

doc-empty.jpg

util-empty.jpg
 Description   
 Filesize   30.39 KB
 Viewed   861 Time(s)

util-empty.jpg


_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Sun 22 Jan 2012, 01:19    Post subject: Standard/Advanced Menus
Subject description: making the most of what is already there
 

bpm wrote:
So - there's something to be said, on simplicity grounds, for making the most of what is already there, rather than adding something new.


The intention of this all here is: making the most of what is already there.

And maybe just a little bit easier and/or more effective.

The everage user is surely not able to make a "cutdown" of the menu entries without a big risk of loosing some of these files.

I have found a way to switch the menu, the desktop and the wbar configuration between four (4) modes, just by ONE SINGLE MOUSE CLICK (after these configurations are set).

It is stable and it has the feature to get all menu entries in foreign languages - even the "help" and "shutdown" section of the menu. It works for fbpanel, openbox, fluxbox and jwm.

And best of all: it has actually a uncompressed size of 161 Kb, .pet size 119 Kb. This is surely not much for an option to "free" the desktop, "remove" wbar and let only one single program in the menu - just by one click.

Actually i am working on this feature to use it to "remove" even the drives from dektop.

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2386
Location: UK

PostPosted: Sun 22 Jan 2012, 13:05    Post subject:  

There is a much easier way to achieve much the same thing:

1. Create the dirs:

~/.menu-profiles/beginner/
~/.menu-profiles/intermediate/
~/.menu-profiles/advanced/

2. Move all .desktop files you don't want in a 'minimal' menu to ~/.menu-profiles/*
Choose the appropriate folder for each .desktop file that you move

3. Create a script called 'menu_profiles', in /usr/bin/, containing something like:

Code:
#!/bin/sh
if [ ! "$1" ];then
  echo "Usage: $(basename $0) -profile
Where profile is '-beginner', '-advanced' or '-intermediate'"
  exit 1
fi

if [ "$1" = "-beginner" ];then
  cp ~/.menu-profiles/beginner/ /usr/share/applications/
  for x in ~/.menu-profiles/intermediate/
  do
  rm /usr/share/applications/$(basename $x)
  done
  for x in ~/.menu-profiles/advanced/
  do
  rm /usr/share/applications/$(basename $x)
  done
elif [ "$1" = "-intermediate" ];then
  cp ~/.menu-profiles/beginner/ /usr/share/applications/
  cp ~/.menu-profiles/intermediate/ /usr/share/applications/
  for x in ~/.menu-profiles/advanced/
  do
  rm /usr/share/applications/$(basename $x)
  done
elif [ "$1" = "-advanced" ];then
  cp ~/.menu-profiles/beginner/ /usr/share/applications/
  cp ~/.menu-profiles/intermediate/ /usr/share/applications/
  cp ~/.menu-profiles/advanced/ /usr/share/applications/
fi

fixmenus
exit 0


4. Create some menu entries to achieve this:

/usr/share/applications/menu_profiles_beginner.desktop

With something like:

Code:
[Desktop Entry]
Categories=X-SetupWizard
Comment=Menu profiles
Encoding=UTF-8
Exec=/usr/bin/menu_profiles -beginner
GenericName=Menu profiles
Icon=/usr/local/lib/X11/mini-icons/wizard16.xpm
Name=Menu profiles
Terminal=false
Type=Application
and so on...

Of course, you could expand the menu_profile script to run Xdialog etc let users choose a profile...
In fact, this looks easy enough that I might apply what I just wrote to my own install and test it!

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Mon 23 Jan 2012, 04:51    Post subject: Standard/Advanced Menus
Subject description: There is a much easier way to achieve much the same thing?
 

Hi scOttman.

Thank you for your suggestions. Actually i did some of my work on this one project the way like you suggested.

scOttman wrote:
There is a much easier way to achieve much the same thing:

Yes, there is mostly an easier way to achieve much the same thing. Very Happy

- for an individual solution
- for personal use
- surely no other languages supported than english
- if experienced in puppy's filesystem structure
- if experienced in bash scripting
- by moving files around manually

All this is not given to a new linux user - especially a new puppy user. Crying or Very sad

When i do develop my work, every user will be able to get from a full featured desktop and menu to a "free" desktop (no icons except one for pmount) and a menu with only on program in it (if wanted so) - by only one single mouse click. Very Happy

Also the wallpaper changes.

It will have language support for English and German and is able to add support for other languages by installing NLS packages. Very Happy

The menus will also be available with FULL language support. Very Happy

Actually there is no puppy with a (f.e.) german menu that says "herunterfahren" instead of "shutdown" etc.pp. If so, than you will have the "herunterfahren" by using English menu as well... (EDIT: i just didn't see one) Crying or Very sad

All this will be gone - (for jwm, openbox, fluxbox and fbpanel). Very Happy

Example to create a puppy cd starting in different user modes:
Run fresh Puppy. Install the .pet. Choose User Mode BEGINNER. Remaster CD. Very Happy Cool

_________________
LazY Puppy
RSH's DNA
SARA B.

Last edited by RSH on Tue 24 Jan 2012, 01:53; edited 1 time in total
Back to top
View user's profile Send private message 
minesadorada


Joined: 11 Sep 2011
Posts: 67

PostPosted: Mon 23 Jan 2012, 05:13    Post subject:  

I'm really looking forward to seeing this project. Well done RSH!
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2386
Location: UK

PostPosted: Mon 23 Jan 2012, 12:06    Post subject: Re: Standard/Advanced Menus
Subject description: There is a much easier way to achieve much the same thing?
 

RSH, my way does support full localisation - as long as the .desktop files contain translations already - if they don't then extra steps/scripts are required, no matter what you do!

And actually, any puppy using Shinobars "Puppy-Desktop-NLS", or techno "jwm_tools" will already have "herunterfahren" (etc) in their menu, along with many other translations - and that is without any extra language files installed/added... Pups like this include Slacko, Akita, QuicksetWary, LupuQ and others...

BTW, I created a script for automatically translating .desktop files, too - see here: http://murga-linux.com/puppy/viewtopic.php?p=555449#555449 (it might not work now, google were planning to change/remove their API)

I just tested 'my way' on mine, works fine, localised too, ...took me 4 mins to setup..
Seems to work in openbox, jwm, xfce, lxpanel, fbpanel.. Smile

I might package it up as a pet, simply to prove it works Wink

(Not trying to be nasty or horrible in any way, its just that a lot of this is already available in Puppy - toggle-rox-desktop, desksetup.sh and others all do some of what you want... you may find them useful... Just trying to help..)

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4376

PostPosted: Mon 23 Jan 2012, 15:14    Post subject:  

@scottman - that would be a hell of a lot simpler and faster if you just changed symlinks to directories - would it not?
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Tue 24 Jan 2012, 02:42    Post subject: Moved to LazY Puppy
Subject description: Moved to LazY Puppy
 

minesadorada wrote:
I'm really looking forward to seeing this project. Well done RSH!

Thank you very much - very, very much! Very Happy

Moved to LazY Puppy Cool

http://murga-linux.com/puppy/viewtopic.php?p=599123#599123

RSH

_________________
LazY Puppy
RSH's DNA
SARA B.

Last edited by RSH on Tue 24 Jan 2012, 21:09; edited 3 times in total
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4376

PostPosted: Tue 24 Jan 2012, 03:20    Post subject:  

why make this hard?
Code:
mv /usr/share/applications /usr/share/applications~
ln -s /path/to/simpleapps /usr/share/applications
fixmenus #though I recommend jwm_menu_create
mv -f /usr/share/applications~ /usr/share/applications

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Tue 24 Jan 2012, 20:53    Post subject:  

Deleted, double post!
_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Wed 25 Jan 2012, 15:50    Post subject:  

Quote:
If this supposed function really is non-working debris, fixing it would be a good step - nothing confuses and annoys new users more than non-working debris.


My thoughts : 4 posts and memyselfandi=fewusers
Back to top
View user's profile Send private message Visit poster's website 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Tue 07 Feb 2012, 10:29    Post subject:  

Karl Godt wrote:
My thoughts : 4 posts and memyselfandi=fewusers


Hi Karl,

i do think everything and all that we use today in a matter of course has been started out as a few users project. Even Puppy Linux did start as a few users project. Another Word for few users project would be minority support (care) and we german guys do have this already in the Grundgesetz as you already should know.

I do think, the value of a company and/or commmunity, should be measured at how they do act about minorities (care, support etc,)

However, i did make some progress:

All User Modes working fine and i do use this feature actually in one of my private LazY Puppy isos. I did refine the menu and closed all sub-cagegories (except every last one) All changes on the menu, desktop, wallpaper, wbar and fbpanel are automatically saved if changing the user mode. So if changing back to the last user mode all settings will be available. Very Happy

The Work goes on, more to come...

RSH

Note: i do not post images this time, because it takes too much time to work them out and put them in here.
Back to top
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Tue 07 Feb 2012, 13:38    Post subject:  

RSH wrote:


Note: i do not post images this time, because it takes too much time to work them out and put them in here.


Hello RSH,
Regarding image upload - maybe you will like this Yad script for easy uploading images from your computer Cool
http://murga-linux.com/puppy/viewtopic.php?t=71557&sid=6723df9375ffc70be5e053b0384b7963
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [30 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
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.1537s ][ Queries: 12 (0.0042s) ][ GZIP on ]