Sunday, October 22, 2017

Has anyone got an Nvidia 940M to work on 14.04.4 LTS w/ Nvidia proprietary drivers?



I've been trying for a couple of days now to get my 940M to work on Ubuntu 14.04.4 LTS to no avail (currently stuck on login loop issue), and yet there doesn't appear to be much discussion of issues surrounding the card. I have a feeling that I'm overlooking something simple.



Has anyone else been able to get an Nvidia 940M to run on 14.04.4 LTS with Nvidia's proprietary drivers?



If so, how did you do it?



The nouveau drivers appear to work just fine, but I expect better performance with Nvidia's.




To get rid of these and other hard-ware related troubles,test the latest, relatively stable liveCD - OP found out that the latest 16.04LTS (close to release candidate, kernel freeze today) not only fixes the graphics issue, but also other issues (touchpad).



After the test is successful, the usual way for existing systems is update-manager -d to get the most recent version of Ubuntu or a reinstall if you were testing Ubuntu support on a new hardware system.



Do this only if you see a hardware issue. Also, it should be a system with a single user, and not mission-critical. Laptops are prime candidates for this, since they usually have the most pesky hardware issues and the troublemakers inside are not exchangeable.



Downside of running the latest distribution is that in case of other issues, it's difficult to find existing solutions on the net. But you can always come to askubuntu.com for that.


personalization - Show position of pointer

There's an option for Ubuntu's mouse that says 'Show position of the mouse when the Control key is pressed.'. This function is required permanently enabled for a certain script I run, but on the other side it makes Blender 'Control' key not to work (as in Ctrl+Z, which is annoying) nor in some other apps (like the game Limbo). So, how can I solve this problem?



There are three solutions I can think of, but I don't know how to implement any of them.





  • Change the key being clicked. If I could show mouse position with, say, Tab, that'd be perfectly fine.

  • To show the mouse with a script. THIS would be the best actually (currently I'm using xte to emulate the Ctrl key pressing). Running something like show-mouse in a terminal would be great. Couldn't find anything through google though.

  • Make these programs to recognize the Control pressing apart of gnome/ubuntu. This is probably a bug so this should be the hardest way to solve.
    EDIT

  • There is another option worth considering, I can send a gnome notification so it's displayed when I touch the screen on the main screen instead of around the mouse. However, it displays for a really long time, which is a known bug. It's worth considering in case it is solved.



Thank you so much!




PS, the solutions here didn't work for me.



Ubuntu 12.04

partitioning - How to mount an old HFS System 7 Macintosh floppy with write access?

I have an old 3.5" HD floppy disk. It was formatted on a Macintosh SE/30 and thus it is formatted with the HFS (not HFS+!) file system. I am having trouble mounting it properly. I have hfsutils and hfsprogs (though I think this is only for HFS+) installed. When putting the disk into my USB floppy drive and rebooting my Ubuntu 18.04 laptop, the disk is mounted, but I can't write to it because it is in read-only mode. Removing and reinserting it will cause it to not be mounted automatically at all.



I tried mounting it manually with explicit rw, but I still can't write to it, only read:
sudo mount -t hfs -o rw /dev/sdb /media/andreas/xyz/

Backup Ubuntu 16 with Windows 10 dual boot system

sorry if my questions is redundant.
I am new to Ubuntu and have finally succeeded installing a dual boot with ubuntu 16 and windows 10 as well as all the deep learning libraries i need.



Which method/program can i use to regularly make a copy of my entire system (operating system, softwares and files)? so that if any goes wrong time, i could restore my laptop to the previous functioning backup.



Thank you in advance for all answers.

How to install GUI on ubuntu server 16.04




I am new to ubuntu server. I want some GUI features in ubuntu server.Is it possible to install GUI on ubuntu server.If yes then please help me.



If you want to administer locally



You can install the default Ubuntu desktop by executing the following:



sudo apt-get install ubuntu-desktop




There are many desktop alternatives which you may install and use, like:




  • Gnome 3 installation: sudo apt-get install gnome-shell

  • KDE see Kubuntu installation: sudo apt-get install kubuntu-desktop

  • XFCE installation: sudo apt-get install xfce4

  • LXDE installation: sudo apt-get install lxde

  • Openbox installation: sudo apt-get install openbox

  • Gnome Classic (old) a Gnome 3 desktop that looks like Gnome 2 installation: sudo apt-get install gnome-session-fallback

  • Ubuntu Gnome (Official flavor) installation: sudo apt install ubuntu-gnome-desktop




Local and or remote administration



Except from the above you can administer your server by using a web based solution using less resources:




command line - How to run Ubuntu without GUI in Virtual Box?



I have a Windows XP laptop, in which I run VirtualBox with the latest Ubuntu, my hardware is little old, so running the latest version of Ubuntu inside Virtual box is kind of a hassle, very slow performances, even if all i'm doing is running the terminal and practicing Linux commands !



I tried DSL (Damn Small Linux) with my VirtualBox, very small distro (50 MB), I am satisfied with how faster is my system now, but I miss Ubuntu, moreover, DSL is missing too many commands, such as sed an many others that I can't remember.



Is it possible to run Ubuntu just in console mode, no GUI or minimum GUI...no nice effects no fancy graphics? A link / tutorial would be much appreciated.



The easiest way is to install Ubuntu Server inside VirtualBox, it cames with no GUI by default, just command line.




If you change your mind and need a GUI, try Lubuntu,it uses LXDE a quite light GUI.


Saturday, October 21, 2017

11.10 - Recompiling Ubuntu stock kernel


I want to recompile the stock Ubuntu kernel (on Oneiric) with just one change: include usbcore as a kernel module so it can be reloaded at runtime (I have some issue with usb support crashing at certain times and want to avoid rebooting).


I am following these instructions. I had/have two issues:



  1. I have already found out from the docs of kernel-package, that instead of what above instructions suggest, I should apparently be using the --append-to-version flag of make-kpkg to give a custom name for my compiled kernel (instead of just --revision).


  2. As I said I want to start of with all the default settings like in the Ubuntu stock kernel. When I start from the sources in the ubuntu package linux-source-3.0.0 and just call make menuconfig, will I be presented with the Ubuntu stock configuration, or some other defaults (mainline?). Should I then be rather copying a default configuration from somewhere else (e.g. /boot/config-...)?



Cheers,


Nikolaus



Well, as I just gave somebody this answer an hour ago or so I'd hope you'd get a stock configuration.


Reasoning:
When you download the source via apt-get source linux-image-3.0.0-16-generic or whatever it downloads the original Debian source then Ubuntu patches and applies them. Theoretically that'd include a .config...


11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...