Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] OS2008 Personal Menu

    Reply
    Page 10 of 20 | Prev |   8     9   10   11     12   | Next | Last
    Benson | # 91 | 2008-03-19, 22:22 | Report

    Originally Posted by speednut View Post
    Very nice, thank you!
    My menu is full of xmame emu'ed games now, no more long command strings that are unique for each game.

    Is there a way I can create custom icons that Personal Menu can find and use?
    Icons are just images. Screen capture, then crop and/or scale might help, or create them on your PC, or try one of the various painting apps around; mtpaint looks nice, and I used tuxpaint before mypaint and mtpaint came out.

    Sketch would even work in a pinch; draw the icon larger than life, rename the something.sketch.png to something.png, crop square 160x160, scale 25%, and you've got a 40x40 icon. Likewise for any other size... See below; no need to mess with croppage.

    ImageMagick, of course, is a better way, but not everyone wants ~20 MB of stuff sitting around just to play with images.

    However you make it, put the icon in /usr/share/icons/hicolor/nnxnn/apps/, where nn is the icon size. Then it should work, but doesn't until you:
    Code:
    # gtk-update-icon-cache /usr/share/icons/hicolor/ --force
    Ok, this might be useful... I'm posting some templates in a zip here; just open the appropriate one in sketch, doodle, rename, and scale.
    They're sized for 26, 40, and 64 px. 64 px is also appropriate for bookmark icons, if you want to do them.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: zip icon_templates.zip (723 Bytes, 121 views)

    Last edited by Benson; 2008-03-19 at 23:43. Reason: left out hicolor in icon path, now added update command

     
    fiferboy | # 92 | 2008-03-19, 22:52 | Report

    Benson, the application looks in /usr/share/icons/hicolor/nnxnn/apps (Benson was correct) for icons. You might have to run gtk-update-icon-cache after as well. That should work.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by fiferboy; 2008-03-19 at 23:33. Reason: Correcting path information

     
    Benson | # 93 | 2008-03-19, 23:15 | Report

    I don't have such a directory; /usr/share/icons/hicolor/ contains only:
    a bunch of nnxnn/ directories
    scaleable/
    scalable/
    icon-theme.cache
    index.theme

    Each of those directories seems to have one or more of apps/, devices/, filesystems/, hildon/, and mimetypes/, and the personal menu config tool has options for selecting any of those. I think the gtk-update-icon-cache was all I needed:
    Code:
    # gtk-update-icon-cache /usr/share/icons/hicolor/ --force

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fiferboy | # 94 | 2008-03-19, 23:29 | Report

    Benson, I retract my comment. I shouldn't try to remember paths without my tablet at my side. At least the gtk-update-icon-cache was useful.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Benson | # 95 | 2008-03-19, 23:42 | Report

    I think you're still wrong!
    It seems to look in all of
    • /usr/share/icons/hicolor/nnxnn/apps/
    • /usr/share/icons/hicolor/nnxnn/devices/
    • /usr/share/icons/hicolor/nnxnn/filesystems/
    • /usr/share/icons/hicolor/nnxnn/hildon/
    • /usr/share/icons/hicolor/nnxnn/mimetypes/
    And moreover, I think nnxnn/ expands not only to the literal directories by icon size, but also to scaleable/ and/or scalable/
    Not that it matters much. Put your icons where you like, update the cache, and hope it finds 'em.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    YoDude | # 96 | 2008-03-23, 21:19 | Report

    The best GUI app so far...

    I have read that people are trying to find a three column configuration. I have found that 2 columns with six items each @ 64 icon size is perfect for finger control.


    Rather than go that route, I was wondering 2 things:

    1. Could a second version of this app be recompiled with different file names; and could multiple versions be run? This way another one of the tablets default plug-ins can be eliminated.

    and...

    2. Is there a way from to use a bookmark so that an item can open the browser to the page specified?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fiferboy | # 97 | 2008-03-23, 23:25 | Report

    I am planning on having three columns be an options (you just have to make sure your application names aren't too long) for the next version.

    As for bookmarks, try the command:

    Code:
    browser --url=http://www.google.ca
    I will have to think on how it would be best to have two simultaneous instances running with different properties.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to fiferboy For This Useful Post:
    nilchak, YoDude

     
    YoDude | # 98 | 2008-03-24, 02:24 | Report

    Originally Posted by fiferboy View Post

    As for bookmarks, try the command:

    Code:
    browser --url=http://www.google.ca
    ...
    Oh that^ works just dandy... Thanks

    I can see setting up one instance of your outstanding app just for favorite web pages and using it instead of the default "globe" plug in.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    iskarion | # 99 | 2008-03-24, 10:11 | Report

    I'm trying to run a script from Personal Menu as root. Without success so far.

    The script is loading the modules needed for NFS via /sbin/insmod and then is mounting a NFS network path via /bin/mount.
    No other commands are used in the script.

    As described here
    http://www.internettablettalk.com/fo...6&postcount=63

    I did create a file
    /etc/sudoers.d/personal-menu.sudoers

    With the content
    user ALL = NOPASSWD: /bin/mount, /sbin/insmod, /bin/ash

    and did run update-suders afterwards.

    "run as root" is checked for the personal menu item but nevertheless the script doesn't run.
    When switching on "run in terminal" for debugging purposes I'm just see a "password" promt in the terminal window.

    Any idea what I'm doing wrong here?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qwerty12 | # 100 | 2008-03-24, 10:12 | Report

    http://www.internettablettalk.com/fo...6&postcount=63

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 10 of 20 | Prev |   8     9   10   11     12   | Next | Last
vBulletin® Version 3.8.8
Normal Logout