Re: [dev] [discussion] Cooperation between terminal and graphical programs

2016-06-26 Thread Connor Lane Smith
Hi Marc,

On 25 June 2016 at 14:48, Marc Collin  wrote:
> Is there any way to get this behavior on standard Linux with suckless
> tools (dwm, st, etc)?

Previous discussion about this [1] led to the xembed utility being
added to tabbed [2], which mimics this behaviour:

> In a terminal emulator within a tabbed session, the shell alias
> $ alias surf='xembed -e surf'
> will cause `surf' to open in a new tab, unless it is run in the background,
> i.e. `surf &', in which case it will instead open in a new window.

You can also hide the tab bar to get an experience even closer to that
of Plan 9. Being able to tab back to the tty a graphical program is
associated with is also quite useful.

[1] http://lists.suckless.org/dev/1504/26507.html
[2] http://git.suckless.org/tabbed/

Thanks,
cls



Re: [dev] [discussion] Cooperation between terminal and graphical programs

2016-06-26 Thread Marc Collin
Thanks for the link and to let me know about tabbed.
But correct me if I'm wrong, dwm's swallow patch is more general, is it not?
In the sense that any program opened from st will take over the terminal.
I've been using it since yesterday and I must say it's amazing.

As Henrique said, looking at Plan 9 really gives lots of great ideas.
I think software should break a little from mimicking only Unix and
start getting the ideas of other software from equally suckless
operating systems, like Plan 9 for example.

This simple feature made my workplace much cleaner. No more useless
windows floating around just because I opened a graphical
program from a terminal emulator.



On Sun, Jun 26, 2016 at 5:25 AM, Connor Lane Smith  wrote:
> Hi Marc,
>
> On 25 June 2016 at 14:48, Marc Collin  wrote:
>> Is there any way to get this behavior on standard Linux with suckless
>> tools (dwm, st, etc)?
>
> Previous discussion about this [1] led to the xembed utility being
> added to tabbed [2], which mimics this behaviour:
>
>> In a terminal emulator within a tabbed session, the shell alias
>> $ alias surf='xembed -e surf'
>> will cause `surf' to open in a new tab, unless it is run in the background,
>> i.e. `surf &', in which case it will instead open in a new window.
>
> You can also hide the tab bar to get an experience even closer to that
> of Plan 9. Being able to tab back to the tty a graphical program is
> associated with is also quite useful.
>
> [1] http://lists.suckless.org/dev/1504/26507.html
> [2] http://git.suckless.org/tabbed/
>
> Thanks,
> cls
>



Re: [dev] [discussion] Cooperation between terminal and graphical programs

2016-06-26 Thread Hannes Blut

On 26.06.16 at 09:45am, Marc Collin wrote:

But correct me if I'm wrong, dwm's swallow patch is more general, is it not?
In the sense that any program opened from st will take over the terminal.
I've been using it since yesterday and I must say it's amazing.


How does it handle background processes?
E.g. 'mathematica &'



Re: [dev] [smdev] hotplugging

2016-06-26 Thread Cág
I suppose I should report it. smdev here is working, as well as 
hotplugging.

Thanks to the devs.

Cág