Bug ID 1196767
Summary Provide tools to open a console, if there is need for this
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee screening-team-bugs@suse.de
Reporter slawek@lach.art.pl
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Script writers, should put some magic on top of text file to open an console.

For example:
#!/usr/bin/interaction-needed /bin/bash

Or:
#!/usr/bin/view-log /bin/bash

(That's two use cases).

When app uses graphical terminal emulator or are run in console, do nothing. In
other cases, open terminal.

I must tell, I can see what to do and try to implement this. In fact, I create
cli2gui and WXConsoleSpawner. WXConsoleSpawner is maybe broken since
libgreattao is under  heavy refactorization, but cli2gui should works.

WXConsoleSpawner aims to autodetect app is console or GUI (not always this
works, but in most cases, it worked). It listen app request to read from stdin
or app opens wayland socket, or is linked with some lib.

cli2gui uses other approach - it allow app/script to call cli2gui-exec. App
could also link/load cli2gui client library.

Some tools requires interaction and needs to work in console and GUI.
Distribution should provide standard way to achieve this.


You are receiving this mail because: