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
I just installed the spf13 plugin suite and now whenever I try to save a new file it asks me for a password:
This appears about a second after I type :w. What is going on and how can I fix it?
As this appears after a file write, it is probably triggered by on the BufWritePost event.
:au BufWritePost
lists all potential candidates. As romainl has commented, using a distribution appears comfortable, but puts you at risk for unwanted effects, as you're giving up control of your config. If you can resolve this issue on your own, or find prompt help by the distribution's maintainer / community, okay. But if you struggle with this, re-think whether keeping the distribution is really worth it.
Vim "distributions" like spf-13 and Janus lure you with a quick install and out-of-the-box settings, but you pay the price with increased complexity (you need to understand both Vim's runtime loading scheme and the arbitrary conventions of the distribution) and inflexibility (the distribution may make some things easier, but other things very difficult). Vim is incredibly customizable, using someone else's customization makes no sense.
Related
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 yesterday.
Improve this question
I know it's generally considered as insecure, but it really depends on situation. I don't want to replace valid screen lock, I want to have possibility to choose based on situation. 2 sample usecases:
kids: I want to enable her to watch show, but I would like to block 'work cooperation' on any of mine projects, and I need not to have spare hw available
at secure work site: any college need not to poke at my screen, he can trivially clone/get whatever he wants, because he has same access. So I would like to lock screen against jokers who would like to write something under my name, but while helping someone I'd like progress of some process going on my screen. Ie. ANY monitoring screen, where we want to show status 24*7, but disallow unauthorized input.
I don't expect even naive hacking attempts in these usecases, so not 100% bulletproof lock is fine.
Some time ago, there was project named pyxtrlock, but it was deprecated. Is there some replacement? Or is there better way how to secure monitoring systems?
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'm trying to understand all role of /boot/config-$kernel_version file.
I know I can see current kernel feature configuration from /boot/config-$kernel_version and I know I can make with my desirable kernel feature config file with use of config tool to create a .config file in /usr/src/linux-* directory.
but what exactly is this /boot/config* file for? I can't find any good explanation any where
is it just an archive file? Or what will happen if I change some configuration in here?
Or can someone share good link that describe this matter properly?
You are correct: the /boot/config-.... file shows the configuration used used to compile the corresponding kernel. Most people run distros, and do not compile their own kernels. Therefore, the presence of this file is generally useless. At best, it can allow some information if the user faces kernel problems, as it gives the exact configuration used during compilation. Modifying it will not have any effect on the system.
On the other hand, for those who do compile their own kernels, for development, testing or experimentation, this provides a good starting point. For example, if I am running Ubuntu, and I have the kernel source (with Ubuntu patches), the config file will allow me to compile my own, identical kernel. Then, I can experiment with what changes to the source or the config have.....
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
I read, some years ago, that you could get linux to invoke the java command to run java programs by adding a bit of linux magic, but I can't remember how to do it or where I read it.
Back then I got it working and, if I recall correctly, it was fairly easy to do; just tell linux to use java to run .jar or similar files. I believe I also got it to run powerpc binaries, through qemu, using the same technique. Naturally, you would still have to mark them as exeutable.
I am not talking running java java_program_to_run or using some shell script that will, essentially, just call the same command. Nor am I asking for a way to convert a java program to an x86 binary for any particular operating system.
It was a technique that would allow Linux to deal with exectuables that wheren't native to the system, almost, as if they where native (some simulation required).
You want to checkout binfmt. More specifically, follow the instructions for java. I realize the usual practice is to copy the details into the answer, but they're quite long and it doesn't feel right to copy-and-paste the whole thing into the answer.
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
I found this screen shot on a Github project, and I'd really like to give that editor a try:
https://github.com/nicklasos/numix-molokai/blob/master/numix-molokai.png
I assumed it was gvim, but the gvim I've installed (package gnome-vim) Looks very little like that application.
Am I just missing some configuration, or vim addons to get there?
First, your answer:
It's GVim, obviously, with the molokai colorscheme, obviously, Airline for the stupid fancy statusline, NERDTree for the file explorer and Tabline for the tab line replacement.
Second, a comment:
You can find the answer in that person's dotvim repository but you didn't even try to find the answer yourself before requesting the help of the whole internet.
Try a little harder, next time.
I think it's gvim with a few plugins (Nerdtree, powerline)
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
My KDE is broken, the desktop Widgets cannot be displayed. And many KDE programs look like this:
All the software written in GTK is all right.
Can any one give me any suggestion about what's happening and which part is broken?
Where can I find error log?
You don't say what disto you're using (please add it to the tags in your question), nor how you got in this state - new installation? dist-upgrade? hard crash? That would be useful information.
But in general, here's what I would try:
Log out and go to a bare terminal with CTRL-ALT-F1, then login and rename your .kde / .kde4 directories: mv ~/.kde ~/.kde.old and reboot or otherwise restart your GUI system.
That will at least tell you whether the problem is messed up personal settings or messed-up system files.
If that doesn't fix the issue (that directory will be recreated when you start up KDE again; all your settings will be lost, but you can recover them - carefully, one by one - from the backup you just made), then I would first try sudo apt-get check (assuming you're on a Debian-based distro).
If that doesn't report any problems, then I would update my system - possibly even do a dist-upgrade without changes any sources.
If this issue still wasn't fixed, I would run sudo dpkg -l > ~/Desktop/dpkg_out.txt to get a list of installed or uninstalled packages and their state in a file, and then look through the file for problems as explained here.
Finally, if all of that failed, I would take a good hard look at my video drivers.
Good luck!