Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] OS2008 Personal Menu

    Reply
    Page 15 of 20 | Prev | 5   13     14   15   16     17   | Next | Last
    jgallen23 | # 141 | 2008-04-23, 17:02 | Report

    is there any way to start the connection dialog from the personal menu?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fiferboy | # 142 | 2008-04-23, 18:43 | Report

    If you add the application "Connection Manager" from the "Select from installed applications" that should get what you need.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to fiferboy For This Useful Post:
    phutterman

     
    jgallen23 | # 143 | 2008-04-23, 19:23 | Report

    is there anyway to get the select connection dialog?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fiferboy | # 144 | 2008-04-23, 19:26 | Report

    If you mean the popup you get when clicking on the connection statusbar item, there is most likely some way to access it with dbus.

    I found this page: http://maemo.org/development/documen...ity_guide.html

    But when I try executing the dbus command, it says com.nokia.icd_ui is not registered by any service files. I have had this problem with chinook before, trying to send statusbar a DBUS signal.

    Does anyone know how to get this to work?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jgallen23 | # 145 | 2008-04-24, 05:36 | Report

    did you execute with --system?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    oldskool | # 146 | 2008-05-01, 07:05 | Report

    Thanks for a great program.

    I wanted to use the terminal mode to interact with a few scripts I wrote, and I didn't want the two terminal windows to run. I tried communicating via environment variables, but osso-xterm doesn't pass them along to the child shell process. I finally came up with a (somewhat hackish) workaround that seems to do the trick.

    First, I created a /home/user/.profile with the following:
    runscript="/tmp/.runscript_$USER"
    myscript="/tmp/.myscript_$$"
    if [ -f $runscript ]
    then
    mv $runscript $myscript
    sh $myscript
    rm $myscript
    sleep 10
    kill $PPID
    fi
    This allows the shell running under osso-xterm to find the script it is to run. I.e. the script is in the /tmp directory. As soon as it is recognized, it is renamed to avoid duplicate invocations. Once the script completes, this code leaves the screen up for 10 seconds so you can read the results, and then kills the osso-xterm (the parent process).

    To use it, I created the following script, which I launch from the personal menu:
    #!/bin/sh
    #
    # Wired ethernet start
    #
    echo sudo /home/user/startEth0 > /tmp/.runscript_user
    osso-xterm
    With that, you get a single xterminal running with one toolbar where you can interact with the script. Once complete, it exits automatically.

    Perhaps others may want to use the same technique.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to oldskool For This Useful Post:
    alephito, dvergin, qwerty12

     
    GeraldKo | # 147 | 2008-05-14, 17:03 | Report

    Originally Posted by fiferboy View Post

    I will have to think on how it would be best to have two simultaneous instances running with different properties.
    Originally Posted by fiferboy View Post
    For those wanting multiple PMs to use: currently the config file is hardcoded to be ~/.personal_menu.rc

    There is a problem with having more than one (or, I should say more than three) Personal Menus running at once. As PM is a task navigator plugin, it needs to be loaded as one of the three plugins for your tablet. You could theoretically run three of them (after changing the code in several small ways for each one) but then you can't have anything else in your sidebar.

    Maybe there needs to be a version of Personal Menu that doesn't need to load in the sidebar? Just a command with an argument specifying which configuration to use that pops up a menu? What say you?
    fiferboy, if there is a way that an additional PM icon-set could be made to occupy a second of the three task navigator sidebar slots, could you provide instructions?

    I'm hoping, also, that you saw my post suggesting that someday you make a multiple-icon-set PM with the ability to password protect one of them. Used in conjunction with xautomation's xte, it would be a dynamite, one-click password manager.

    Also, let me say thanks again for Personal Menu. By far, it's my favorite enhancement to the Tablet interface. It's tremendously elegant, useful, and easy-to-use. You really aced it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fiferboy | # 148 | 2008-05-14, 17:19 | Report

    GeraldKo: I will see what I can work up.

    My main issue with multiple instances is how to relate each instance with its configuration file. The easiest way is to hard-code a separate configuration file for the second instance. Then there would also need to be separate control panel plugins ("Personal Menu 1", "Personal Menu 2"?) to set each of them up. And separate icons to tell them apart. And then what if someone wants three?

    I would like to come up with a better way to do this (for control panel, have a drop down to select which instance you are setting up), but I haven't figured out what to do with the configuration file relationship or icon yet.

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

     
    Benson | # 149 | 2008-05-14, 17:33 | Report

    Originally Posted by fiferboy View Post
    If you mean the popup you get when clicking on the connection statusbar item, there is most likely some way to access it with dbus.

    I found this page: http://maemo.org/development/documen...ity_guide.html

    But when I try executing the dbus command, it says com.nokia.icd_ui is not registered by any service files. I have had this problem with chinook before, trying to send statusbar a DBUS signal.

    Does anyone know how to get this to work?
    Well, I was trying this:
    Code:
    dbus-send --system /com/nokia/icd_ui com.nokia.icd_ui.show_disconnect_dlg
    And it won't even give me an error...
    I assume I'm doing something wrong, then, but I really don't know what. What were you trying?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fiferboy | # 150 | 2008-05-14, 17:44 | Report

    Benson: Try putting '--print-reply' in your command and see what it says. I was trying that method, but I don't remember if I tried '--system'

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to fiferboy For This Useful Post:
    Benson

     
    Page 15 of 20 | Prev | 5   13     14   15   16     17   | Next | Last
vBulletin® Version 3.8.8
Normal Logout