Standard/Advanced Menus

What features/apps/bugfixes needed in a future Puppy
Message
Author
bpm
Posts: 4
Joined: Wed 18 Jan 2012, 23:27
Location: Vancouver

sparse & profuse icon sets already exist

#16 Post by bpm »

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 Thu 19 Jan 2012, 03:02, edited 1 time in total.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#17 Post by Lobster »

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 :)

Puppy Linux
Simple not stupid
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#18 Post by RSH »

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: Select all

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: Select all

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: Select all

<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 :oops:

RSH
Attachments
new-menu-with-user-mode.jpg
(55.65 KiB) Downloaded 949 times
edit-kids-list.jpg
(19.96 KiB) Downloaded 921 times
pwd-check-still-german.jpg
(5.08 KiB) Downloaded 914 times
pwd-wrong-no-advanced-user.jpg
(30.78 KiB) Downloaded 928 times
RPA-kids-mode-on.jpg
(51.2 KiB) Downloaded 907 times
mm.jpg
(39.99 KiB) Downloaded 919 times
grfx.jpg
(46.92 KiB) Downloaded 924 times
doc-empty.jpg
(30.82 KiB) Downloaded 920 times
util-empty.jpg
(30.39 KiB) Downloaded 933 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

Standard/Advanced Menus

#19 Post by RSH »

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.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#20 Post by sc0ttman »

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: Select all

#!/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: Select all

[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!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

Standard/Advanced Menus

#21 Post by RSH »

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. :D

- 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. :cry:

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. :D

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. :D

The menus will also be available with FULL language support. :D

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) :cry:

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

Example to create a puppy cd starting in different user modes:
Run fresh Puppy. Install the .pet. Choose User Mode BEGINNER. Remaster CD. :D 8)
Last edited by RSH on Tue 24 Jan 2012, 05:53, edited 1 time in total.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
minesadorada
Posts: 68
Joined: Sun 11 Sep 2011, 19:10

#22 Post by minesadorada »

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

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

Re: Standard/Advanced Menus

#23 Post by sc0ttman »

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. ... 449#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.. :)

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

(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..)
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#24 Post by technosaurus »

@scottman - that would be a hell of a lot simpler and faster if you just changed symlinks to directories - would it not?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

Moved to LazY Puppy

#25 Post by RSH »

minesadorada wrote:I'm really looking forward to seeing this project. Well done RSH!
Thank you very much - very, very much! :D

Moved to LazY Puppy 8)

http://murga-linux.com/puppy/viewtopic. ... 123#599123

RSH
Last edited by RSH on Wed 25 Jan 2012, 01:09, edited 3 times in total.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#26 Post by technosaurus »

why make this hard?

Code: Select all

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
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#27 Post by RSH »

Deleted, double post!
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#28 Post by Karl Godt »

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

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#29 Post by RSH »

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. :D

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.

stu90

#30 Post by stu90 »

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 8)
http://murga-linux.com/puppy/viewtopic. ... b0384b7963

Post Reply