Booting Ubuntu 14.04 Live USB on XPS 13 9343
You do not need to switch to legacy mode to install Ubuntu.
It seems that the bootable USB drive was not created properly.
Try to recreate it using this guide.
When it is done, put your BIOS back in UEFI mode (secure boot disabled). Insert the USB stick, boot your XPS 13 and hit F12. You should now see the bootable Ubuntu entry.
If this still does not work, try to recreate it using Rufus with the following settings :
- GPT partition scheme for UEFI computers
- FAT32 (Default)
- 8192 bytes (Default)
- Quick format
Hope this helped.
Related videos on Youtube
Bartson
Updated on September 18, 2022Comments
-
Bartson over 1 year
When I tap on item in collection view cell is loosing size with clumsy animation. Effect on first screenshots. I'm guessing there is something with my stackview inside custom cell but can't figure it out on my own. Stack view has top, right, bottom and left constrain set to superview (contentView)
This is hierarchy of collection view structure:
This is code responsible for selecting and reloading cells. I have array of selected items.
filterCollectionView.rx.itemSelected.subscribe(onNext: { [weak self] index in guard let self = self else { return } if self.loginViewModel.filtersSelected.contains(index.item) { self.loginViewModel.filtersSelected.remove(index.item) } else { self.loginViewModel.filtersSelected.insert(index.item) } self.filterCollectionView.reloadItems(at: [index]) }).disposed(by: bag)
This is code responsible for binding and displaying cells
loginViewModel.filters.bind(to: filterCollectionView.rx.items(cellIdentifier: "FilterCell", cellType: FilterCell.self)) { [weak self] cv, item, cell in guard let self = self else { return } DispatchQueue.main.async { cell.updateData(icon: UIImage(named: item.image), text: item.text) let isSelected = self.loginViewModel.filtersSelected.contains(item.id) cell.updateView(isSelected) } }.disposed(by: bag)
And this is custom cell
class FilterCell: UICollectionViewCell { @IBOutlet weak var filterIcon: UIImageView! @IBOutlet weak var filterText: UILabel! func updateView(_ isSelected: Bool) { contentView.backgroundColor = isSelected ? .blue : .white } func updateData(icon: UIImage?, text: String?) { filterIcon.image = icon ?? filterIcon.image filterText.text = text ?? filterText.text } }
I hope this is enough information to understand the problem :)
EDIT: When I delete DispatchQueue.main it gets even weirder. Tapped cell is collapsing.
-
MycrofD about 6 yearsrelated: askubuntu.com/q/999726/329036
-
-
Bartson almost 3 yearsI've edited my question (new screenshot). I've tried to set hugging priority to hight both on filterIcon and filterText, even on contentView. Nothing changed. What's more, when I use reloadData() everything works just fine (except I loose offset of collectionView). When I use reloadItems(at:) cells are collapsing but it repairs when I scroll a little bit (one more evidence that it's something with cells refreshing)