How to open applications after booting a purely Command line interface of Linux? [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 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

Related

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.

Alt-Tab for Linux command line? [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 4 years ago.
Improve this question
I am wondering if such a thing exists to where I could run a Java program remotely through SSH on my VPS and then Alt + Tab so that I can run other things in the command line without having to reconnect in a separate tab. I've tried looking through the Java options in the manual, but I couldn't find anything insightful.
In Linux/Unix kind system there is a utility called nohup. You can invoke any command or process using nohup; it will make your terminal free after execution. Linux/Unix systems also support background jobs by appending the character & at end of your command.
So if your Java process is as follows,
java <your program>
you can run it as follows:
nohup java <your program> &
This modified command frees your terminal and you can run another command as per your need.

startx /bin/bash in fullscreen without desktop [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 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

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.

AwesomeWM wallpaper change [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 4 years ago.
Improve this question
When I am using Awesome-WM under Linux Mint 13 "Maya" MATE, sometimes I need to open the File Manager "Caja". But when I launch caja, the wallpaper changes to the one I set under MATE instead of the one in rc.lua. I have tried
sudo gsettings set org.gnome.desktop.background draw-background false
but it seems useless.
How can I keep my settings under awesome-wm? Or I should set the 2 backgrounds the same?
You could try setting your wallpaper using feh.
Create a .fehbg file in your $HOME and put this in:
feh --bg-scale '/path/to/wallpaper.jpg'
..then save it.
Then in your autostart script just add sh $HOME/.fehbg & then try restarting your DE. If it still persists after opening Caja, then I am not sure about that since I am totally unfamiliar with Caja, rather, I am not familiar with MATE at all.
I think what's happening is that caja is set to 'manage' your desktop. That means it'll change your wallpaper to the one set in MATE, and probably display desktop icons as well, e.g., Computer, Home, etc. This has always been a problem for me when using alternative window managers on Ubuntu, because nautilus does it as well. With nautilus the behaviour can be turned off using the terminal flag --no-desktop. caja seems to be a descendant of nautilus and a quick Google shows references to the same terminal option for it as well. So I suggest you try
caja --no-desktop
and see if that works for you.

Resources