Tag Info

Hot answers tagged

5

Note that for upgrade or dist-upgrade you must first run an update to get the list of packages to determine what actually needs updated. This is a breakdown of the apt-get commands: update - Only updates the software list. upgrade - Only upgrades to newer versions of the same files. dist-upgrade - upgrades to newer software versions (same as upgrade) ...


5

You could use gnome-terminal to open up new terminal or new tabs #!/bin/bash # # The following command open new windows # gnome-terminal -e "ssh test@192.168.2.1" gnome-terminal -e "ssh test@192.168.2.3" gnome-terminal -e "ssh test@192.168.2.5" # # The following command open new tabs # gnome-terminal --tab -e "ssh test@192.168.2.1" --tab -e "ssh ...


4

Something that has not been covered yet is the combination of two or three parameters, e. g. bold and underline, in a predefined color. This is achieved by a 3-way syntax, for instance: ~$ printf "\e[3;4;33mthis is a test\n\e[0m" will cause "this is a test" to be printed in yellow color (33m), italic (3m) AND underlined (4m). Note that it is not ...


3

You can press Super (the Windows key) and the number of the terminal's icon in the launcher to quickly open the terminal's window. For example, if it is the fifth icon, Super5 will focus the terminal window if it exists or open a new one. What are Unity's keyboard and mouse shortcuts? You can also create a custom shortcut. See Gnome 'Super-#' ...


3

You can manually edit your gnome terminal settings by navigating to ~/.gconf/apps/gnome-terminal/. Just edit the xml file with gedit and remove the offending line. I'm unsure whether you need to edit the file directly in ~/.gconf/apps/gnome-terminal/ or the one in ~/.gconf/apps/gnome-terminal/Profile/Default, you may need to try both.


2

Do you menan /proc/net/arp ? cat /proc/net/arp


2

Terminal is not net application. Maybe is better to say, in your case, terminal is container for net application like ssh, telnet, lftp, wget, lynx ... Edit your: sudo -H gedit /etc/profile.d/proxy.sh Enter the details in this format. export http_proxy=http://username:password@proxyhost:port/ export ftp_proxy=http://username:password@proxyhost:port/ ...


2

It looks like you are using Terminator which is not the default ubuntu terminal application. You can try and find the default terminal by Searching for it in the Launcher (Can be opened using the Super Key (Usually with a windows logo on). Or you can run gnome-terminal from your current command line. If neither of these work then for some reason it has ...


2

I will provide you a detailed and tested guide on how you can achieve your desired result. First a short summary of the steps: Write a short bash script that opens two terminal windows with specified sizes and positions. Set the "executable"-flag of the script file Test the script (to avoid typos and make sure everything works) Disable/Change the old ...


1

Use Pantheon Terminal instead of GNOME terminal. It has the notifications feature built-in - actually, I wrote it. Here's a demo: https://www.youtube.com/watch?v=WLhTmnifAro


1

The current (accepted) answer doesn't work if you switch files/buffers within one of your vim sessions. The title won't get updated. The following is enough to have automatically updated titles in gnome-terminal also when you switch files by using :e foo.txt, :b0, :b#, etc. Just place this in your ~/.vimrc file: autocmd BufEnter * let &titlestring = ' ...


1

export the below variables in terminal export http_proxy='http://proxyserveraddress:3128' export https_proxy='http://proxyserveraddress:3128'


1

When you deleted your home partition, you may have removed the alias for ls that's configured by default, and which would be in ~/.bashrc. Since you kept the same home directory when installing Ubuntu, this theory explains what you are experiencing. To test whether this is the case, use ls --color=auto If this works correctly, you need to restore the ...


1

Install xclip (if not installed already) then from user 1's session save the text you want to copy as a file (e.g. test.txt) and then run the following: cat test.txt | xclip -selection c This will copy the text to the clipboard. Now from User 2's session you can just paste the text into vim by any usual method like <CTL>+<SHIFT>+v.


1

Navigate to ~/.gconf/apps/gnome-terminal/Profile/Default Open %gconf.xml file and find the entry name "custom_command". Remove the stringvalue value and save the xml file. <entry name="custom_command" mtime="xxxxxxxxxx" type="string"> <stringvalue>your command here</stringvalue> </entry> Hope this helps.


1

You need to remove the folder ~/.gconf/apps/gnome-terminal (where the profiles are stored), and log out and back in. Changing the files manually during your session won't help, since they simply will be overwritten by the previous settings of the same session if you start gnome-terminal again. So: remove the folder ~/.gconf/apps/gnome-terminal log out and ...


1

If your guest OS is running a Desktop session (i.e X server started), you could use the following command to open a terminal. From your Host OS, open a terminal and type: ssh <user>@<ip_of_guest> DISPLAY=:0.0 gnome-terminal Just replace <user> and <ip_of_guest> with your real username and guest ip.


1

What you should do is: Save / Finish Up Whatever you're doing in the GUI (LightDM/Unity). Go to a TTY Session (CTRL+ALT+F1). Login with your username and password. Stop LightDM. Downgrade Gnome Terminal Start LightDM. I'll start from step 4. Step 4: Stop LightDM To stop lightdm, enter the following command: sudo service lightdm stop Step 5: ...


1

As per the output of apt-cache policy gnome-terminal you have installed gnome-terminal 3.10 via PPA and gnome-terminal 3.6 is still available at the main repository. So do downgrade from 3.10 to 3.6 run the following command: sudo apt-get install gnome-terminal=3.6.2-0ubuntu1 Here is another method that involves removing the PPA: sudo apt-get install ...


1

How about outputting everything to a .txt file and than copying everything from there? strings foo.doc | less > output.txt



Only top voted, non community-wiki answers of a minimum length are eligible