You are not logged in.
Pages: 1
Hi guys, I'm trying to add one position to ob menu, exactly: gcalcli calm.
It's working but straight away terminal is terminating. Any idea how to keep terminal open after gcalcli start?
Thanks in advance!
UNIT: HP PAVILION 15 (2014)
SPEC: INTEL CORE i5-4288U CPU @ 2.60GHz // 8 GB RAM // INTEL HD4400 // HDD 1,5TB
SYSTEM: BunsenLabs 8.7 (Hydrogen)
..:: THERE ARE NO IMPOSSIBLE THINGS - THERE ARE ONLY PEOPLE WHO CAN'T DO SOMETHING ::..
Offline
Hey J3rzu,
can you provide the exact command you use in your menu.xml? and what is the terminal emulator you use?
First thin that comes to my mind is calling the terminal and telling it to start gcalcli, so the window will stay open when the task is done.
terminator -e "gcalcli calm && /bin/bash"
naik --greetz
"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen Codeberg
Offline
@Naik Unfortunately it's not working
My whole original command looks like this:
<item label="Calendar>
<action name="Execute">
<command>
x-terminal-emulator -T 'Calendar - GCALCLI' -e gcalcli calm
</command>
</action>
</item>
UNIT: HP PAVILION 15 (2014)
SPEC: INTEL CORE i5-4288U CPU @ 2.60GHz // 8 GB RAM // INTEL HD4400 // HDD 1,5TB
SYSTEM: BunsenLabs 8.7 (Hydrogen)
..:: THERE ARE NO IMPOSSIBLE THINGS - THERE ARE ONLY PEOPLE WHO CAN'T DO SOMETHING ::..
Offline
@Naik Unfortunately it's not working
Not a helpful error report
Have you run the command in a terminal? (That is something you should always try first if there is an issue with a graphical application!)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Yes. When I'm typing the command: gcalcli calm straight on terminal it works fine. The problem appears when I'm picking up option from my ob menu which I added like above.
When I'm picking up, from my ob menu, my "calendar" option, the terminal appears on not even a second, display my gcalcli and disappearing.
UNIT: HP PAVILION 15 (2014)
SPEC: INTEL CORE i5-4288U CPU @ 2.60GHz // 8 GB RAM // INTEL HD4400 // HDD 1,5TB
SYSTEM: BunsenLabs 8.7 (Hydrogen)
..:: THERE ARE NO IMPOSSIBLE THINGS - THERE ARE ONLY PEOPLE WHO CAN'T DO SOMETHING ::..
Offline
Yes the command exits and so does terminal, example workaround;
a. make file 'test' somewhere on the path (like in ~/bin) with the content
ls | less
chmod +x ~/bin/test
then
urxvt -e test
If that works, replace ls with your cal command.
b. simpler version
urxvt -hold -e ls # or
urxvt -hold -e echo "A La La La La Long A La La La La Long Long Li Long Long Long"
p.s. Not sure about terminator, but the option a. should work similarly.
edit: Terminator has option (check the preferences) to hold open when command exits as well.
Last edited by brontosaurusrex (2017-04-20 10:16:58)
Offline
Or try the answer given in post #2?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Pages: 1