startx /bin/bash in fullscreen without desktop [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Ok so I know it's a weird case but hang in here with me.
So the thing is I've got an very old laptop running ubuntu 14.04 server without any desktop aka shell only. BUT the laptop also has a touch screen so we want to be able to use the "mouse"/touchscreen/touchpad to select text inside the terminal and/or click/copy/paste/cut/etc. It's part of art project with some students and also one of the tasks is to run as less as possible. So running a desktop in the background is not really an option. My question is:
Is there a way to start the Ubuntu terminal as UI application in fullscreen without the actual desktop in the background but giving the functionality of an mouse cursor.
(If someone knows a even better solution for adding a mouse without starting the desktop its appreciated)

Try this: create a ~/.xinitrc with content : exec gnome-terminal, then run startx
Or another solution is to stay in tty and install gpm for mouse control

Related

Second monitor flickering and leaving trail with black background in extended display on Manjaro GNOME/Wayland [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 days ago.
Improve this question
I am running the latest version of GNOME and Wayland on my Manjaro computer. When I connect my second monitor and extend my display, one screen flickers and the mouse icon leaves a trail, with a black background. However, I can still open applications and drag them to the second screen, which works fine. Mirror mode for two screens works great. What could be causing this issue and how can I fix it?
After trying some more things, it seems everything except the background is working, the bottom bar is working, when i press super key it will take me to menu where I can move.
When I try to screenshot the buggy monitor it just screenshots the normal background. (The background picture)
I tried updating GNOME and Wayland, also tried to update the whole system with pacman -Syu to no avail. Tried looking it up but couldn't find anything.

I want to read how much does my program uses resources in unix but cant [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have program that I need to run and then see how much resources it uses in unix by using top command. But I don't know how to do it because if i run it from command line I cant use top command till program is finished and vice versa. How can I do it. I tried doing:
sleep 10s
top
./myProgram
But its not working
Open two terminals; run your program in one terminal and top in another.
If you're in a graphical environment, you can just start the terminal a second time.
If you're on the text-only console, you can switch between terminals using Ctrl-Alt-F1..F6 (possibly more) or Alt-Left/Right.
If you connect via SSH, just open multiple terminal sessions in your SSH client.
(Also, I'd hint to use htop instead of top, but you may need to install it first.)
In case your program is too short-lived to show up on top/htop, you might need to run it using Valgrind.
Open two terminals one for running top, and run your program in the other.

Mirroring Terminal on Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
When giving a talk I usually use two screens: One is the wall showing the presentation to the audience, the other one is my Laptop screen with a mirror of the presentation, my speakernotes etc.
During the talks I pretty often do demos using a terminal. This requires that
I turn around to check at the wall if everything works correctly. To avoid this I would like to have two terminal window, one on my laptop screen where I am typing and a mirror of it which is shown to the audience at the second screen. How can I do this?
Take a look to the screen program. It does perfectly what you are trying to do. The following link gives a simple example of screen usage:
Start a new screen session with session name:
screen -S <name>
list running sessions/screens:
screen -ls
Attach to a running session:
screen -x
Attach to a running session with name:
screen -r session_name
Screen quick reference: http://aperiodic.net/screen/quick_reference
More links:
https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/

Linux box with only one application which is fullscreen [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Sorry for the rather broad question, but I'm just looking for some leads here to get started on this...
Let's say I have a CentOS machine running the X Windows System. I'd like to have the machine only display a single application (let's say Mozilla Firefox) and have that application full screen at all times. Is there a more suitable distro to do this with than CentOS?
I hope I've given enough information here about what I want to do.
Thanks!
I think you are looking for kiosk mode, you can achieve this by various kiosk based linux based iso distribution like http://sanickiosk.wikidot.com/ (Sanickiosk) and WebKiosk
(http://www.binaryemotions.com/).
Even you can customize ubuntu to run only firefox in full screen mode (http://www.instructables.com/id/Setting-Up-Ubuntu-as-a-Kiosk-Web-Appliance/?ALLSTEPS).
Thanks & Regards,
Alok Thaker
I'm really not sure if this is the proper place, but the disto for this type of use hardly matters, its really up to personal preference and how hard you find it to set up. In my limited expirence you can just add the command to launch the app, typically with a geometry option (with firefox you can specify the -width and -height flags), and then that X session will end when the program ends.

How to open applications after booting a purely Command line interface of Linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
After booting linux in purly command line mode how can I open an application eg web browser or Libra Office?
For example if I use the command "play" with any audio file it starts to play it. I want to know commands for other applications
You have to start an X Window session before you can open those applications because they depend on it to render the GUI. To do this you can use the startx command.
There is a good description here on how to use startx.
However, doing it this way can be a lot of manual and tedious work. That's why most linux distros have packaged full window managers like Gnome, Xcfe, etc for you to install with a single command. If what you really want is a minimal one you might look at Fluxbox or Openbox. You can learn a lot about the guts of X by installing and configuring them on your own.
I suspect what you may really need is just to edit text files and get resources from the internet while logged into a Linux box that is command line only. If so, you can check out these command line only tools.
Lynx command line browser
WGet internet file retriever
EMacs text editor
Vim text editor

Resources