Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I would like to hide my cursor always. I have only SSH access to the machine.
Try with unclutter, is a small program that does just that.
http://ftp.x.org/contrib/utilities/unclutter-8.README
http://ftp.x.org/contrib/utilities/unclutter-8.tar.Z
It's present on the repositories of various distributions, for example on Arch Linux you can install it with:
pacman -S unclutter
Then you can start it by adding an entry for it on Settings » Session and Startup » Applications Autostart or (preferred method) by adding it to your .xinitrc file like this:
run unclutter
EDIT: obsolete now
My solution was to download: A transparent cursor theme and do:
./configure
cd cursors
make install-data-local DESTDIR=/home/user/.icons/default CURSOR_DIR=/cursors
chown -R user:user /home/user/.icons
Related
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Can't find where my proxy settings are stored.
I'm on Ubuntu 12.04. Once upon a time I created a "manual" proxy through Network app GUI.
Turned it off same way but now I everytime I use shell I have to "empty" proxies with export http_proxy="" and so on.
It's there.
env | grep proxy
http_proxy=http://proxy1.bsu:3128/
https_proxy=https://proxy1.bsu:3128/
Proxy is up but where?
/etc/environment - not there
/etc/apt/apt.conf - not there
/etc/apt/apt.conf.d/ folder - not there
/etc/profile - not there
/etc/bash.bashrc - not there
~/.bashrc - not there
~/.profile - not there
~/.bash_profile - not there
~/.bash_login - not there
~/.pam_environment - not there
Ran gsettings set org.gnome.system.proxy mode 'none' with no effect.
Tried through gconf-editor \ dconf-editor still no luck. I tried to update system with apt-get update too. Logged out and in, restarted shell sessions, etc.
It's more like superuser q, but still.
Even bruteforce method of grep -rl proxy1.bsu / didn't find any files.
Had to override variables in ~/.bashrc
Probably my system's bug.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
If this question is not considered to have this place in this forum, tell me I will remove it instantly !
I have installed on my ubuntu a vim plugin (called NERDTree). It works well when I open a file with a non-root status. When I run vim as a root and I try to launch the plugin with :NERDTree, I am told the command 'NERDTree' is unknown. Someone could help ?
Plugins placed in /usr/share/vim/vim7x will most likely be overwritten at the next upgrade. If you want your plugins to be available to root you should install them in /root/.vim.
That said, Vim comes by default with a file explorer plugin called netrw. You may try to learn how to use it (:h netrw) before installing any third party replacement.
Did you install the NERDTree plugin in your home ~/.vim/plugins directory? If so, then the root user probably doesn't "see" it. Move it to the global plugins directory and that should fix it.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I need to put a startup script to my CentOS6 server.
I see that I need a script that contains start-stop cases.
But I have a problem to make it and neither how to put this script to startup.
Anyone can say me how can I add it?
The script must run a simply command that run a jar file:
java -jar FileName.jar
The simplest way would be to add your command to the file
/etc/rc.d/rc.local
Commands in the above file are run at startup (as root). Note that if you do this, your command will NOT respond to the usual service start/ stop commands.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I wish to update the local package index with the latest changes made in repositories and am using following command :
sudo apt-get update
On executing this command I get several error messages such as one below :
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages 407 Proxy Authentication Required
What i did to in order to try resolving this issue is the following :
Open terminal and the file
/etc/bash.bashrsc
sudo gedit /etc/bash.bashrc
and add at the bottom of the file these 2 lines :
export http_proxy=http://user:password#host:port/
export ftp_proxy=http://user:pass#host:port/
However it is still not working for me and am getting the same error.
Thanks in advance.
For apt-get to work
sudo gedit /etc/apt/apt.conf
And then add
Acquire::http::Proxy "http://username:password#proxyhost:port/";
The syntax should be strictly followed
This may fail if our password or possibly username (i don't know) has '#' in it.
We can add proxy for other protocols like ftp etc. also there..
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I forgot a command with SSH which could search software name.
For explain: If I want install mysql-server, but I want choose a version before yum install. This command can make a search (return all the software contains mysql), then a list return like:
mysql-5.0.77-4.tar.gz
mysql-server-5.0.77-4.el5_6.6.i386.rpm
...
As has been pointed out, this is not related to SSH, but a function of your package manager, yum.
You can use yum search or yum list.
list List a package or groups of packages
search Search package details for the given string
(From the yum help).
You are not searching with "ssh". You are searching with yum. http://www.centos.org/docs/5/html/yum/sn-searching-packages.html
I think your question is wrong:
SSH is a network-protocol, which provides a shell to a remote system.
I think you are looking for something like:
man -q mysql
rpm-howto