LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-28-2020, 01:59 PM   #1
Kolterdyx
LQ Newbie
 
Registered: Apr 2020
Posts: 2

Rep: Reputation: Disabled
Keep terminal always open on a workspace.


I have installed Parrot OS, which is a Debian-based system designed for cybersecurity and hacking stuff. Running MATE, I have 5 different workspaces I can easily switch to to make my life easier.

One of those workspaces I've decided to set as the 'Terminal Workspace', where I'd like to have always a shell open ready to execute whatever I want. I have made a little thing so when I log on a new shell is opened and maximizes on the current workspace, but this terminal is just like any other terminal. I can close it, resize it, and do anything with is window.

What I want to have is a shell that is always open and that I won't be able to close nor resize. Almost like turning the entire workspace into a shell.

To open the terminal I have added a startup process to my profile that just runs the following command to open and resize the shell

Code:
mate-terminal --load-config=TERMINAL
TERMINAL is a file I have where I have specified the size of the window, created by maximizing a shell and running the following command:
Code:
mate-terminal --save-config=TERMINAL
This is what TERMINAL looks like:

Quote:
#Written by mate-terminal 1.24.0

[MATE Terminal Configuration]
Version=1
CompatVersion=1
Windows=Window0;

[Window0]
MenubarVisible=true
Role=mate-terminal-window-13582--1360735105-1588092592
Maximized=true
ActiveTerminal=Terminal0x562414fa42f0
Geometry=126x30+0+27
Terminals=Terminal0x562414fa42f0;

[Terminal0x562414fa42f0]
ProfileID=default
WorkingDirectory=/home/kolterdyx
Zoom=1
Width=126
Height=30
Is there any way I can 'lock' the window in place so I can't either close it or resize it?

I am relatively new to linux (I've been using it for a long time, but i have started doing this kind of stuff like 2 months ago), so I may need some newbie explanations
 
Old 04-28-2020, 09:40 PM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,952
Blog Entries: 2

Rep: Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346Reputation: 1346
KDE...

Sorry I haven't used MATE much.

You do know about control-alt-F1 through whatever, right?
 
Old 04-29-2020, 01:22 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,619

Rep: Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756
Quote:
Originally Posted by Kolterdyx View Post
Is there any way I can 'lock' the window in place so I can't either close it or resize it?
I'm afraid, no. Every process can be terminated, you cannot avoid that. Probably you can disable or remove the X (close icon), but there are several other ways to close the window.
I have no idea if resizing can be disabled, probably there is an option somewhere to do tha. (need to check the related Xresources and probably the command line options).
 
1 members found this post helpful.
Old 04-29-2020, 06:08 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,541
Blog Entries: 9

Rep: Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055
Quote:
Originally Posted by Kolterdyx View Post
What I want to have is a shell that is always open and that I won't be able to close nor resize. Almost like turning the entire workspace into a shell.
This is entirely possible with certain windowmanagers - e.g. openbox (the previously mentioned caveat still applies though).

As it stands, your best bet is to do one of the below:
  • use Ctrl-Alt-Fn (where n is a digit between 1 and 6) instead, and Ctrl-Alt-F7 to get back to your GUI
  • use a dedicated dropdown terminal (xfce4-terminal, tilda, guake...)
  • configure your current terminal to be full screen and undecorated
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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: Chrome OS: Yo dawg, I heard you like desktops so we put a workspace in your workspace LXer Syndicated Linux News 0 11-06-2019 08:21 PM
[SOLVED] xfce4 workspace switcher only 1 workspace available. percy_vere_uk Linux From Scratch 15 03-16-2016 01:15 PM
[SOLVED] WorkSpace hangs switch to 2nd WorkSpace also hung ken poy Linux - Newbie 2 08-14-2010 08:07 AM
workspace names in "switcher workspace boxes" problem petesasha Linux Mint 0 11-20-2009 01:37 PM
Command ls --color=always, can always be always Kevin Tough Linux - Newbie 1 09-08-2005 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration