Can't access NTFS drives after Elementary OS install
Solution 1
Make sure you have some packages installed:
sudo apt-get install ntfsprogs ntfs-config
If you do have those and it still isn't working, try this as well:
sudo apt-get install ntfs-3g
Solution 2
As far as i know NTFS-read&write is standard installed/enabled on most Ubuntu versions nowadays. For linux-n00bs (like myself) this worked perfectly: How to Mount Partitions Automatically on Start Up in Ubuntu 14.04
Related videos on Youtube
Jean-François Côté
Updated on September 18, 2022Comments
-
Jean-François Côté over 1 year
Maybe this is a very simple question for you .NET guys but since I come from a MFC C++ dev teams, this behavior all got our dev team wondering what was going on. (In MFC, when we create a dropdown datasource, the source is shared but the value of each dropdown is not affected)
It's a very simple situation. I have 3 dropdownlist in my form that ask for streets. The street you are on and the others 2 closest streets. Each of these dropdownlist have the same datasource. So what we did is that (by the way ComboList is just a class that inherit ListItem with some more functions)
//Combo Street ComboList cboNomRue = new ComboList(); Tools.GetCombo(cboNomRue, Tools.ComboTypeRt.RT_NOM_RUE, true, true); ddlNomRue.DisplayMember = "Numero"; ddlNomRue.ValueMember = "ID"; ddlNomRue.DataSource = cboNomRue; //Combo Street From ddlDe.DisplayMember = "Numero"; ddlDe.ValueMember = "ID"; ddlDe.DataSource = cboNomRue; //Combo Street To ddlA.DisplayMember = "Numero"; ddlA.ValueMember = "ID"; ddlA.DataSource = cboNomRue;
Using this code, when the user change the value in ddlNomRue, the 3 dropdownlist change to that value! So to fix that, I did that.
//Combo Street ComboList cboNomRue = new ComboList(); Tools.GetCombo(cboNomRue, Tools.ComboTypeRt.RT_NOM_RUE, true, true); ddlNomRue.DisplayMember = "Numero"; ddlNomRue.ValueMember = "ID"; ddlNomRue.DataSource = cboNomRue; ComboList cboNomRue2 = new ComboList(cboNomRue); ComboList cboNomRue3 = new ComboList(cboNomRue); //Combo Street From ddlDe.DisplayMember = "Numero"; ddlDe.ValueMember = "ID"; ddlDe.DataSource = cboNomRue2; //Combo Street To ddlA.DisplayMember = "Numero"; ddlA.ValueMember = "ID"; ddlA.DataSource = cboNomRue3;
I don't like this since it's duplicating variables when only one is really needed. Is this the good way of dealing with this situation or is there anything else I could do?
Thanks
-
paparazzo over 11 yearsIs this WPF? I did this with ListView with no problem.
-
Jean-François Côté over 11 yearsThis isn't WPF. And I didn't say that it was not working. It's working but I'm asking if there is a better way to deal with this situation.
-
-
Jean-François Côté over 11 yearsThanks! The "AsReadOnly" was exactly the kind of thing I was searching for.
-
Jean-François Côté over 11 yearsI tried it but it doesn't work. Yes the 3 dropdown are not changing when one of them changes but they do not bind anymore (they all start at N/D instead of their value). Thanks anyway :)
-
Erathiel about 9 yearsHello and welcome to the site! We recommend that users summarise links they post in their answers in order to avoid situations where a link becomes stale (e.g. the website it points to gets closed) and the answer is therefore rendered useless. If you include a summary in your post the answer may still be helpful even if the link is not valid any more.