pekmenu-en

nc

Pekmenu is a shell script that is able to generate a dynamic applications menu from a text file. This file is placed in ~/.menu and it contains one application per line, each line containing the application name, its category as well as its execution command (quoted with “”), ie.:

gimp graphics “gimp”
irssi chat “xterm -e irssi -c freenode”
pidgin chat “pidgin”

this can be manually edited according to the user’s needs, and it can also be used along with the menus available in /etc/xdg/menus or /etc/share/applications (after due modifications), the menu files and the script can be downloaded from the scripts section. After downloading the files, making the whole thing work is just a matter of placing them in the right places. You will have no difficulties if you already use pekwm.

9 Responses to “pekmenu-en”


  1. 1 botinha janeiro 10, 2009 às 4:06 pm

    Caro amigo você tinha me passado uma pela dica pelo Irc do ubuntu-br que me ajudou bastante e como tinha prometido criei até um post (http://ubuntuforum-br.org/index.php/topic,20809.0.html) no fórum ubuntu, agora eu gostaria novamente de mais um ajuda. Eu gostaria deixar a rede por dhcp, tem como fazer ajustando o script que você criou, aguardo notícias e um bom 2009 para você

  2. 2 celo janeiro 11, 2009 às 11:23 pm

    basta trocar a linha q seta os ips por:

    dhclient ethX

  3. 3 celo janeiro 12, 2009 às 12:44 am

    #!/bin/bash
    # :……file: adhoc.sh ..version: 1.0
    # :…..date: 11-01-2009 21:21:06 BRT
    # :…usage: ./adhoc.sh
    # :.author: (crimeboy) ]hippies.com.br>

    #interface wireless
    IFW=”wlan0″

    #essid name
    ESSID=”moquecaderato”

    #chave
    KY=”123″

    #se a chave for HEXA comente a linha abaixo
    ASCII=”s:”

    #dhcp (sim ou nao)
    DHCP=”sim”

    #config de ip fixo
    LOIP=”10.0.0.2″ # ip local
    LOMK=”255.0.0.0″ # netmask
    LOBR=”10.255.255.255″ # broadcast
    LONT=”10.0.0.0″ # rede

    config() {
    ifconfig up
    iwconfig ${IFW} mode Ad-Hoc
    iwconfig ${IFW} essid ${ESSID}
    iwconfig key restricted ${ASCII}${KY}
    if [ “${DHCP}” == “nao” ]
    then
    ifconfig ${IFW} ${LOIP} netmask ${LONT} up
    else
    dhclient ${IFW}
    fi
    }
    config

  4. 4 botinha janeiro 13, 2009 às 1:24 am

    Caro amigo aonde eu devo trocar?? Você poderia corrigir o script.

    “”basta trocar a linha q seta os ips por:

    dhclient ethX “”

    Vou colocar o o script aqui para vc.

    #!/bin/sh
    # wifi script by crimeboy

    LOCAL_IPADDR=”192.168.66.6″
    LOCAL_NETMASK=”225.225.225.0″
    LOCAL_BROADCAST=”192.168.66.255″
    LOCAL_NETWORK=”192.168.66.0″

    ifconfig wlan0 $LOCAL_IPADDR netmask $LOCAL_NETMASK up
    iwconfig wlan0 nickname “linuxdesk”
    iwconfig wlan0 mode Ad-Hoc
    iwpriv wlan0 mode 0
    iwconfig wlan0 key restricted 123
    echo “maquina $LOCAL_IPADDR on”

    eu apenas coloque uma chave de rede WEP.

    VAleuu

  5. 5 botinha janeiro 13, 2009 às 2:05 am

    Abusando da sua ajuda, o segundo o script que vc colocou tentei utilizar, porém retornou a seguinte mensagem:

    Obs o sinal de aspas (“”) quando colocado no gedit eu tive que mudar senão o script não era reconhecido. Talvez seja algum problema de reconhecimento do blog como acontecia com os dois traços ( –) no planeta ubuntu, quando alguém posta algum scrpit tinhamos que ter atença no copiar e colar.

    claudio@claudio-desktop:~/scripts$ sudo ./wireless_dhcp.sh
    up: erro obtendo informações da interface: %s: dispositivo não encontrado
    iwconfig: unknown command “restricted”
    There is already a pid file /var/run/dhclient.pid with pid 10886
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/

    Listening on LPF/wlan0/00:06:4f:45:47:74
    Sending on LPF/wlan0/00:06:4f:45:47:74
    Sending on Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
    No DHCPOFFERS received.
    No working leases in persistent database – sleeping.

    Valeuu

  6. 6 celo janeiro 13, 2009 às 5:51 pm

    havia mesmo uma inversao nos comandos, puz “key restricted” ao invez de “restricted key” e sim, o wordpress modifica todas as asplas duplas dos posts e se copiar e colar n vai funcionar puz o script corrigido neste link http://celobox.googlepages.com/adhoc.sh boa sorte

  7. 7 botinha janeiro 13, 2009 às 10:09 pm

    Olha ainda não consegui obter êxito, mas isso é bom do linux sempre estudando e aprendendo cada vez mais e compartilhando os resultados, Utilizei o script que você corrigiu e vou postar o resultado do $ifconfig que depois de executado não mantém o ips que deveriam ser usados.

    wlan0 Link encap:Ethernet Endereço de HW 00:06:4f:45:47:74
    endereço inet6: fe80::206:4fff:fe45:4774/64 Escopo:Link
    UP BROADCAST MULTICAST MTU:1500 Métrica:1
    pacotes RX:1965 erros:0 descartados:0 excesso:0 quadro:0
    Pacotes TX:1199 erros:0 descartados:0 excesso:0 portadora:0
    colisões:0 txqueuelen:1000
    RX bytes:173863 (169.7 KB) TX bytes:270476 (264.1 KB)
    IRQ:22 Memória:fe9ff000-fe9ff025

    wlan0:avahi Link encap:Ethernet Endereço de HW 00:06:4f:45:47:74
    inet end.: 169.254.4.212 Bcast:169.254.255.255 Masc:255.255.0.0
    UP BROADCAST MULTICAST MTU:1500 Métrica:1
    IRQ:22 Memória:fe9ff000-fe9ff025

    vou postar a execução com o arquivo novo que você enviou.

    claudio@claudio-desktop:~/scripts$ sudo ./wireless_dhcp.sh
    up: erro obtendo informações da interface: %s: dispositivo não encontrado
    Error for wireless request “Set Encode” (8B2A) :
    SET failed on device restricted ; No such device.
    There is already a pid file /var/run/dhclient.pid with pid 21127
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/

    Listening on LPF/wlan0/00:06:4f:45:47:74
    Sending on LPF/wlan0/00:06:4f:45:47:74
    Sending on Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1
    No DHCPOFFERS received.
    No working leases in persistent database – sleeping.

    Valeuu

  8. 8 jimenezparks32294 abril 8, 2016 às 10:02 am

    What’s the difference between wards and congressional districts?https://ameo.link/jimenezparks3229408180

  9. 9 bambicase5452 abril 8, 2016 às 10:08 am

    […] Cervando Perez/Luna – The academically-inclined PCHer, who was said to be the target of the crash early in the season by an anonymous caller. The person claimed Curly crashed the bus to off Cervando because he hustled Liam Fitzpatrick out of a few thousand dollars. Weevil beats him up to save him from the others, who wants to throw him off a cliff, too. Curly, amidst blood and blows, admits he knows who did it, but Thumper warns of a car who then turns its headlights on and they run. – Cervando was reprimanded in summer school when he threatened Beaver, who flashes back to a class last year where Cervando is boasting to some guys (Beaver overhears) that he cheated Liam in a game of pool and bought a pricey pair of jeans with the money. Dick dickily squirts a water gun at his expensive jeans, but it was actually bleach, so Cervando goes after Beaver the next day for compensation. (What a faux pas, he wears the bleached jeans to school. This is a little hard to believe, considering he was bragging ad nauseum about them.) Cervando couldn’t handle huge Dick, so he went after little Beaver — “story of my life” Beaver says almost sadly. – In her dream, Cervando discusses how if they wanted to kill the bus driver, the bomb could’ve been detonated anywhere, but for the bus to have gone off the cliff, they had to have known when they were approaching the turn, thus had to be following closely behind. Ghost!Cervando suggests Weevil, who just happened to be at the pit stop. Everybody (except Meg) died when they hit the rocks, but he survived, and drowned. (Unless Veronica is making this up, she had to have read it from coroner reports, because this is a freaky piece of news.) 1) Obviously this is Veronica’s mind working out all the kinks, but is she also forgetting the limo was directly behind the bus? They were close enough that Gia saw the bus fall into the ocean (but couldn’t hear the explosion). They had already stopped at the crash site when Weevil and Veronica arrived at the scene. 2) We know the Fighting Fitzpatricks are raving meth heads, so I doubt they could be lucid long enough to plan such an elaborate attack. As we’ve seen, they get to the point fairly quickly: (1)Tie Thumper and his bike up. (2)Let the imploding stadium do the job. And if they paid someone, why spend all that money when you could do the job yourself and spend it on methamphetamine? 3) If the bomb only killed the driver, since everyone else was still alive at the explosion, maybe it was a coincidence the bus was coming to a turn. If they wanted to kill everyone, why not have a bigger explosion? Why not cut the brake lines, or tamper with the car’s mechanics, since you have to slow down at curves? It would be much more convenient, but then again I’m not a mass murderer, so I’m not sure how they’re thinking. I always think, “convenience!” 4) If Curly knew who crashed the bus, it may be one of the wealthy, since they all seem to know him. 5) “Compensation” seems to be a theme this episode. Or I need a thesaurus. 6) Maybe it has to do with his everchanging surnames?? Marcos Oliveres – Marcos was Cap’n Krunk of Ahoy Matey’s!, a cult radio show that lambasted everyone they could talk about. He was a closeted gay who went on the trip to be “normal” for his parents, who’d sent him to a summer camp to, erm, straighten him out. – In the course of this episode, she’s constantly listening to his shows on her iPod. (It’s a wonder she’s even in the running for the scholarship.) She finally hears a song that features the lyrics “I am God” prominently. Ghost!Marcos aka Veronica’s subconscious, notes her disappointment in discovering the artwork was just some tribute to song he liked by the Wannabes. He says, “We all died because of you,” a reiteration of a sentiment she felt when when she found out Curly’s connection to Aaron. Ghost!Rhonda’s on the phone, and another cell phone’s ringing, ready to set off the bomb in a bag. 1) Wait, the bomb’s in a bag?? I thought it only took out the bus driver! Was the bag next to him? I thought the bomb was in a ball, which is why there were pieces of them in Driver Ed. I hope this is Veronica’s wild imagination. I bet they didn’t die because of her. Because. […]https://ameo.link/bambicase545208180


Deixe uma resposta

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s





%d blogueiros gostam disto: