New answers tagged

0

For some reason, it was just a Vim issue: when started in tmux, it loaded default colorsheme, but when started from plain terminal, it loaded desert colorscheme but still calling it default when asked via :colorsheme. Forcing :colorsheme default resolved an issue, so I added colorsheme line in my ~/.vimrc and now it's OK. I have no idea why Vim was doing ...


0

You can keep the terminal open by following the command with something that waits for user input: tmux new-window 'make ; read' If your shell doesn't support the read builtin, you could use eg. sed -n q.


0

Put everything in a script like this: #! /bin/bash # su -c '/usr/bin/tmux new-session -s "all" -d' tmux send "path of Program 1" C-m tmux rename-window "Program 1" tmux new-window tmux send "path of Program 2" C-m tmux rename-window "Program 2" tmux new-window tmux send "path of Program 3" C-m tmux rename-window "Program 3" tmux attach It will start a ...


0

That's it, finally managed to enable it, took 6 hours researching. Got it with help from https://www.eclipse.org/forums/index.php/t/305157/. Entered in Run Configuration, in perspective and set: At Main tab: Project: nameofproject C/C++ Application: /usr/bin/gnome-terminal Arguments tab: Program arguments: -e ./nameofproject* ** you can add ...


0

This is a good case for the pam_env.so PAM module. Virtual console logins use the login program, so you can open /etc/pam.d/login and add a line such as the following: session required pam_env.so readenv=1 envfile=/etc/vc-environment user_readenv=0 With the accompanying new file, /etc/vc-environment: TMOUT=600 Two advantages to using PAM for this: ...


0

@sebastian pointed to these as relevant, but they address only part of the problem: Change default width of gnome-terminal and terminator windows (Ubuntu) Terminal sizes (Gnome) Some of the discussion here is more relevant, but still not helpful: Change the number of rows and columns in the TTY [duplicate] How to change font-size, number of rows / ...


2

If the links are output as full URLs, they should be clickable when you hover over them (with the mouse pointer) while holding Ctrl down.


0

Append the following line at the bottom of ~/.bashrc and a reboot works for me dbus-update-activation-environment --all


0

Change the permissions in fstab back to the default. As a normal user: sudo apt-get update && sudo apt-get upgrade && sudo apt-get install build-essential module-assistant sudo m-a prepare Mount the Guest Additions CD using the VirtualBox Menu (sudo mount /media/cdrom) sudo sh /media/cdrom/VBoxLinuxAdditions.run If the error you noted ...



Top 50 recent answers are included