LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2020, 02:49 PM   #1
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94
Blog Entries: 3

Rep: Reputation: 3
Question how to splitscreen for multitask with Linux? Tips


I'm beginning to learn how to use seperate screens or desktops at the same time for multitasking.

I read that you use the super key windows key and arrows...
I found an article:
Split screen, move windows and maximize on Linux mint/Ubuntu

I want to do things like
- have videos running in all 4 corners of the screen
- have for example a boundary dividing the 4 spaces on a single monitor.
Could someone please offer additional tips for Linux? I'm using xfce manjaro but you can list any linux build type to help others, I think on Mac the feature is called splitview
thanks for the help

Last edited by rico001; 09-06-2020 at 02:55 PM. Reason: clarification, specify pc
 
Old 09-06-2020, 03:49 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
It's called tiling on GNU/Linux.
Special windowmanagers exist for that, but that's probably not what you want.
However, many DEs have some tiling options.
In XFCE, IIRC, you can grab the window with the mouse and bump it against the top, left, right, bottom edges.
 
Old 09-06-2020, 04:19 PM   #3
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94

Original Poster
Blog Entries: 3

Rep: Reputation: 3
Quote:
Originally Posted by ondoho View Post
It's called tiling on GNU/Linux.
Special windowmanagers exist for that, but that's probably not what you want.
However, many DEs have some tiling options.
In XFCE, IIRC, you can grab the window with the mouse and bump it against the top, left, right, bottom edges.
Thanks, yeah, I don't know if this Desktop Enviroment, xfce, can do it. I want to for example go to a website in one side of the screen and browse, while watching videos or tv on another boundary of the screen,
hopefully I can view 2 desktops at once. I am able to use a big screen and it would be more convenient.
UPDATE/ Edit: so far can't find easy solution after looked at some manjaro videos wanted me to program/add things.

Last edited by rico001; 09-06-2020 at 04:43 PM. Reason: update status
 
Old 09-07-2020, 01:15 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by rico001 View Post
I want to for example go to a website in one side of the screen and browse, while watching videos or tv on another boundary of the screen
I really don't understand how that is special?
Simply resize the windows so they sit side by side.
As I wrote, in XFCE bumping windows against the screen edge should resize them accordingly.
If you mean something else, clarify.
 
Old 09-14-2020, 07:07 PM   #5
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94

Original Poster
Blog Entries: 3

Rep: Reputation: 3
Quote:
Originally Posted by ondoho View Post
I really don't understand how that is special?
Simply resize the windows so they sit side by side.
As I wrote, in XFCE bumping windows against the screen edge should resize them accordingly.
If you mean something else, clarify.
They need to be able to have a window stay in place, I didn't even like how it works on the Windows10 because one window got smaller.

I could not get tiling to work on my XFCE manjaro install, but desktop switching worked fine. Also I didn't know what buttons to use for this as I have a raspberry pi keyboard.

Appreciate any help and am not in a hurry.
It's not just side by side as a 2 window example: one window stays static. The other can be moved.
 
Old 09-15-2020, 03:43 AM   #6
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491

Rep: Reputation: Disabled
In a GUI, open a program, drag it to where you want it, & resize it; do the same for your other programs, simple.

Use a tiling window manager & set the coordinates for your programs.

In a command line terminal use screen or tmux multiplexers to do the same.
 
Old 09-15-2020, 05:54 AM   #7
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,308
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Quote:
Originally Posted by fatmac View Post
Use a tiling window manager & set the coordinates for your programs.
Window Managers can be swapped out easily underneath the Desktop Environment. It is even possible to run a window manager alone without a desktop environment above it. There are occasional reviews of window managers because new ones are made from time to time. See:

https://www.tecmint.com/best-tiling-...ers-for-linux/
https://www.slant.co/topics/390/~bes...gers-for-linux
https://www.ubuntupit.com/best-20-li...r-linux-users/

Openbox has quite a following but it is not a tiling window manager.

Quote:
Originally Posted by fatmac View Post
In a command line terminal use screen or tmux multiplexers to do the same.
tmux is very much worth learning. I've taken to it so much that for some tasks I just maximize a terminal emulator and split the severl tmux windows several ways and cruise around from pane to pane. You can split panes several ways, one is with the shortcut keys ctrl-b % or ctrl-b " and you can resize with ctrl-b uparrow, ctrl-b dnarrow, ctrl-b leftarrow, or ctrl-b rightarrow. That can be done via script too. Either way, see "man tmux" and scroll down to the section "default key bindings".
 
Old 09-15-2020, 09:01 AM   #8
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
OP: also, use virtual desktops. Xfce4 has these and you can assign each desktop a hot key and switch to it easily. I used to assign mine to "alt+1", "alt+2", etc. I can't work without this feature. It essentially gives you an unlimited (limited be memory anyway) number of virtual monitors.
 
Old 09-15-2020, 12:10 PM   #9
akakingess
Member
 
Registered: Jun 2009
Location: Houston, Texas
Distribution: Ubuntu
Posts: 62

Rep: Reputation: 17
I just saw a quick story about "Material Shell" extension that appears to have some built in tiling features that aren't normally available. I haven't had time to check it out myself but figured I would mention it and see if that might work for your needs.
 
Old 09-15-2020, 01:23 PM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
It's very particular what you said.

Is it adamant the layout that you've described? Or are you saying that in general you'd like a bunch of applications which you can spread around the screen geography, but wish to keep it all on the same viewing screen?

I can describe my alternative, which is to set up multiple workspaces, dedicate activities per workspace, and swap workspaces at will. Just not sure this is what would suit your preferences.

Perhaps you can share the impetus for your preferences. Such as having videos running in all 4 corners of the screen, seems to be a monitoring station for video cameras. But you did talk about viewing a video and also watching TV.

I can say from experience that if you have multiple browsers or applications open playing video, there's multiple things which can occur. Overlap of the audio, incorrect audio, or no audio have all occurred the times I've done this.

What I've done in the past as part of my day+work flow is that I use multiple workspaces.

I dedicate each workspace to what I want/need out of it. If I need a browser in a workspace, I have one there. I usually have one workspace dedicated to email, browsing, documents, etc, and use the other workspaces for development activities.

There are typically default keystrokes to swap workspaces, ALT, SUPER, this and that. I usually use 4 workspaces, I like them in a square and I re-map my keys to be ALT-<arrow> where arrows are LEFT, RIGHT, UP, and DOWN and so I know most of the time where I want to go and I ALT-arrow choose them. Within each workspace there's the ALT-TAB to swap applications on that screen view.

In this way, I have 4 entire full screen workspaces which I dedicate to various activities and use the keyboard to swap at will.

Enjoy. I realize this is more about your screen preferences and that you'll select one or more tactics to attain your goal.
 
Old 09-15-2020, 08:14 PM   #11
Eupator
Member
 
Registered: May 2008
Distribution: Slackware/Slackintosh
Posts: 39

Rep: Reputation: 0
dwm isn't for everyone, but if you like it even a little bit, you'll probably like it a lot.

Short version: lightweight tiling window manager. Keyboard shortcuts for all window management. Tiny, concise program, won't waste much of your time to install/uninstall if you don't love it.
 
Old 09-15-2020, 11:22 PM   #12
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,308
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Re-reading the title and not the body of the question, I would say that having a window manager that supports easily dragging windows from one virtual desktop to another helped me.

Try dragging a window past the edge of your screen and see what happens.

When I have distinct, clearly separated projects at the same time, a grid (not a line) helps best so then I usually have a 3 x 3 layout with some base programs in the upper left and then the other panels each with windows for just the programs needed by that particular project. Most window managers default to using only key strokes or menus to send windows to other desktops but for me being able to drag them was very important. For example, one project might need web, e-mail, and a spreadsheet so I'd just have those three programs represented there. But for another I might need only a web browser and several terminal emulators. Then, I might be in one and be interrupted by another and need to open a document, quote, or link for the other and then return to the first in the smoothest way possible. Ideally it would be best not to multitask even a little, because of the massive overhead for swapping, but that is not always avoidable.

Since you are using XFCE, then you likely have the default XFCE4 window manager. It supports virtual desktops, and the default as far as I know is to allow dragging from one desktop to another, but you'd have to try tweaking the defaults to see if some arrangement or shortcuts are better for your work flow.

Watch out when searching the web these days, there is a lot of un-related 'WeaSeL' spam in the links burying the very few remaining relevant results.

tldr; You say you are using XFCE on Manjaro have you looked into exploring the Window Manager's capabilities, especially in regards to virtual desktops?

Last edited by Turbocapitalist; 09-15-2020 at 11:24 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Multitask in the Linux Terminal with Screen LXer Syndicated Linux News 0 12-28-2019 01:42 AM
LXer: How to Multitask at the Linux Command Line with Screen LXer Syndicated Linux News 0 04-28-2011 10:40 PM
Need tips on using Ethernet to power WiFi network, and tips on setting up WiFi crabpot8 Linux - Networking 2 08-24-2009 06:42 PM
Unable to Multitask? Razza2004 Linux - General 4 08-13-2004 02:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration