Posts

Showing posts from January, 2010

dual boot - How can I install Windows after I've installed Ubuntu? - Ask Ubuntu

i have ubuntu on laptop. want install windows 7 in dual-boot. how can this? i can't lose ubuntu files, , i'm afraid might break grub . here's general outline: make space windows install windows mount /boot direcory or partition install bootloader ( grub ) step 1 – make space windows open gparted , , make sure have @ least 20 gb available windows 7, either partition can remove, or unpartitioned space. if it's partition, remove grub make sure doesn't break ubuntu install — gparted complain if bad happen. make note of current /boot device. if doesn't show there, make note of / device. device name sda5 . step 2 – install windows install windows 7 space made step 3 – mount /boot note: instead of mounting boot directory or partition installation in live media environment can specify path --boot-directory parameter grub-install, more information on manpage. load ubuntu live cd , , run these commands. if not have separate...

r - What is the process to allocate certain amount of the RAM to Rstudio on Ubuntu - Ask Ubuntu

as ubuntu beginner, question managing r on ubuntu. have increased ram 4 gb 16 gb. sadly spending month on problem still error: can not allocate vector of 600 mb i have gone through question https://stackoverflow.com/questions/1395229/increasing-or-decreasing-the-memory-available-to-r-processes has needed answer windows. process allocate 14 gb of memory rstudio on ubuntu. sessioninfo() r version 3.3.1 (2016-06-21) platform: x86_64-pc-linux-gnu (64-bit) running under: ubuntu 14.04.5 lts locale: [1] lc_ctype=en_us.utf-8 lc_numeric=c lc_time=en_us.utf-8 [4] lc_collate=en_us.utf-8 lc_monetary=en_us.utf-8 lc_messages=en_us.utf-8 [7] lc_paper=en_us.utf-8 lc_name=c lc_address=c [10] lc_telephone=c lc_measurement=en_us.utf-8 lc_identification=c attached base packages: [1] stats graphics grdevices utils datasets methods base loaded via namespace (and not attached): [1] to...

14.04 - Ubuntu 16. 10 has experienced an internal error - Ask Ubuntu

Image
i have upgraded ubuntu 16.10 , getting such errors. not aware of things. have searched on solution , found need unity-control-center package installed. dont know how solve error. i had similar problem save have 16.04 , show details showed following: /usr/bin/gnome-software what did fix quite bit of googling lead me here https://answers.launchpad.net/ubuntu/+question/404433 eventually did sudo apt-get update sudo apt-get dist-upgrade haven't seen problem since then. hope helps out.

command line - How do I fix my locale issue? - Ask Ubuntu

i getting message every time starting or stopping service. perl: warning: setting locale failed. perl: warning: please check locale settings: language = "en_us:en", lc_all = (unset), lc_messages = "en_us.utf-8", lang = "en_us.utf-8" supported , installed on system. perl: warning: falling standard locale ("c"). locale: cannot set lc_ctype default locale: no such file or directory locale: cannot set lc_messages default locale: no such file or directory locale: cannot set lc_all default locale: no such file or directory (reading database ... 21173 files , directories installed.) removing bind9 ... * stopping domain name service... bind9 [ ok ] processing triggers man-db ... locale: cannot set lc_ctype default locale: no such file or directory locale: cannot set lc_messages default locale: no such file or directory locale: c...

command line - What Does Parameter Stand For? - Ask Ubuntu

i learn ubuntu commands , commands can take parameter. want ask 2 questions. first (more general): parameters use same abbreviation (like "-n"), used same task? second (more particular): if yes, stand -n parameter , task? if no, stand -n parameter , task gzip -n command? each command has own parameters. you can see running man command . man gzip -n --name when compressing, save original file name , time stamp; default. when decompressing, restore original file name , time stamp if present. option useful on systems have limit on file name length or when time stamp has been lost after file transfer.

16.04 - Trying to run a Program called worldforge but it comes up with an error - Ask Ubuntu

i downloaded program called worldforge, game maker open source. downloaded executable file , gave permissions run when went start it came error: /tmp/.mount_dskvs4/usr/bin/ember.bin: error while loading shared libraries: librtmp.so.0: cannot open shared object file: no such file or directory i have tried searching answer 1 found relevant did not work, greatful if in way. it's not trivial librtmp0 package in xenial, first idea use librtmp.so.1 librtmp1 package instead since there's chance library backwards-compatible. to achieve need create symbolic link in location program executable can find it. since kind of hack, preferable if other applications don't find same link automatically. helpfully, application adds ~/.ember/lib library search path default. i suggest you assure librtmp1 package installed, sudo apt install librtmp1 create directory ~/.ember/lib , mkdir -p ~/.ember/lib put symbolic link there. ln -st /usr/lib/$(uname -m)-linux-...

dual boot - Ubuntu 16.04.1 - Webcam - Ask Ubuntu

i installed ubuntu 16.04.1 (64-bit) new lenovo ideapad 100-15ibd alongside windows 10 (64-bit). the thing webcam light turns on time ubuntu boots , never turns off. opened "cheese" , blank screen. using windows, under device manager, found built-in webcam listed "lenovo easycamera". is there chance fix or either turn webcam off during ubuntu usage? thanks lot. you can turn webcam off writing following command on terminal: sudo modprobe -r uvcvideo type password when asked , press enter.

command line - Where is PATH setup in Ubuntu 16.10 bash shell? - Ask Ubuntu

i can't seem determine bash path environment variable getting setup on fresh ubuntu 16.10 install. i have tried placing echo $path statements @ top of ~/.bashrc , /etc/bash.bashrc . both echo statements executed, these files loading properly, but, in both cases path contains following: /home/carl/bin:/home/carl/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin the first entries ( /home/carl/bin:/home/carl/.local/bin ) i'm trying track down. i'm not sure of values set since changing /etc/environment seems have no effect. the path setup when /etc/profile executes when using login shell , unaffected changes /etc/environment . turns out path being persisted display manager loading ~/.profile , (and /etc/profile , /etc/environment ) when creating desktop session. means changes files aren't going reflect in new bash sessions , require logging out take effect.

password - Protecting thunderbirds logins.json - Ask Ubuntu

when start thunderbird, reads encrypted passwords logins.json , asks me master password. feel using local master password file not right way. there way remove master password logins.json , protect file system tools /usr/bin/thunderbird can access it? can apparmor this?

Text from dialog box can't be selected and copied - Ask Ubuntu

text dialog box can't selected , copied. in question: how can copy text dialog boxes , menus? find suggestion make screenshot , read result ocr. above question related japanese text, have problem plain english text. can suggest less complicated way extract text dialog boxes? or may problem comes bug? note:if create dialog box terminal using zenity text in box can selected , copied.

NFS directory is no longer mounted but throws an error in df -h? - Ask Ubuntu

i have nfs server (at say, 1.2.3.4), , several clients. on clients, had mounted local directory executing: sudo mount 1.2.3.4:/var/nfs/stuff /mnt/nfs/var/nfs all until decided change location on clients /mnt/nfs. first unmounted existing mount point , remounted new one: sudo mount 1.2.3.4:/var/nfs/stuff /mnt/nfs no problems that. , new mount works fine. when run df -h, error: df: ‘/mnt/nfs/var/nfs’: no such file or directory and prints normal mount points. when execute: mount -t nfs i still see old (/mnt/nfs/var/nfs) mount point listed, along new one. how can fix this?

Stuck in boot :Missing modules (cat /proc/modules; ls /dev) busybox - Ask Ubuntu

Image
i'm trying install ubuntu 16.04 on laptop got stucked during boot. why bellow error appear? gave waiting root device. common problems: - boot args (cat /proc/cmdline) - check rootdelay= (did system wait long enough?) - check root= (did system wait right device?) -missing modules (cat /proc/modules; ls /dev) alert! uuid=f1a640a8-5a9b-4aa8-93c3-766f413ffbf1 not exist. dropping shell! busybox v1.22.1 (initramfs)_ please me solving problem!

kernel - Continuous micro-freezing in Ubuntu 14.04 - Ask Ubuntu

since couple of months experience continuous freezings of system (dell xps 13 2014, i7, ubuntu 14.04). if not mistaken, first appeared @ time when fans of laptop broke down, system randomly freeze (and stayed frozen). i've replaced fans , "total freezings" have disappeared; still experience very, annoying micro-freezings (~½ second): usual work not affected much, watching youtube video or listening spotify has become virtually impossible; can't understand whether issue of bios, cpu, or ubuntu. let me copy , paste syslog last 30 minutes or so: fact trackpad loses sync looks me symptom, not cause of freezings. oct 27 10:45:18 delio-xps kernel: [34341.874179] psmouse serio1: touchpad @ isa0060/serio1/input0 lost synchronization, throwing 3 bytes away. oct 27 10:45:43 delio-xps kernel: [34366.893892] psmouse serio1: touchpad @ isa0060/serio1/input0 lost synchronization, throwing 4 bytes away. oct 27 10:46:05 delio-xps anacron[16208]: job `cron.daily' termina...

MAIL in terminal - how to enter - Ask Ubuntu

i have mail client installed on ubuntu server. know how send email terminal , know how read email, if it. - how can enter in mail client if don't have new mail. more understandable - want enter part can see commands alias, alt, copy, cd, ch, dec, delete ... or maybe - how can find (read) sent mails? update: use mail (gnu mailutils 2.99.99). if have new mail , write "mail" opens program can read email (with inserting number written before name , subject). can type "?" more help, can see many options (write, save, send, delete ...). ok. - if don't have email waiting me , if write "mail" in terminal, message "no mail xxxx". stays in linux terminal, i'm sure, can open mail program somehow. to show messages sent username logged in terminal type mail mail needs configured in order receive messages local users. easiest way configure mail install sendmail sudo apt-get sendmail , sendmail program work 3 5 minutes when being i...

16.04 - Error: You are missing the following 32-bit libraries, and Steam may not run: libXtst.so.6 [...] - Ask Ubuntu

i'm aware many people having problems on launching steam (downloaded steam not repos) on ubuntu 16.04 64-bit error message: svetlana@svetlana-desktop:~$ steam running steam on ubuntu 16.04 64-bit steam_runtime enabled automatically error: missing following 32-bit libraries, , steam may not run: libxtst.so.6 libxrandr.so.2 libgobject-2.0.so.0 libglib-2.0.so.0 libgtk-x11-2.0.so.0 libpulse.so.0 libgdk_pixbuf-2.0.so.0 installing breakpad exception handler appid(steam)/version(1463778979) installing breakpad exception handler appid(steam)/version(1463778979) installing breakpad exception handler appid(steam)/version(1463778979) installing breakpad exception handler appid(steam)/version(1463778979) [2016-05-22 16:33:15] startup - updater built may 20 2016 18:57:58 [2016-05-22 16:33:15] opted in client beta 'publicbeta' via beta file in 'publicbeta' client beta. looks steam didn't shutdown cleanly, scheduling immediate update check [2016-05-22 16:33:15] checking ...

partitioning - Can't make partition on my hard drive dev1 - Ask Ubuntu

this question has answer here: how resize partitions? 4 answers i made entire hard drive single partition leaving 8 gb swap area..now want make 2 partitions large partition..don't know how..it shows key symbol..and can't resize either..how can resize , create more partitions? what under stand question want re-partition root drive has acquired memory 1-first have shrink root drive doing needs unmounted 2-to un-mount drive boot fro live usb/cd of ubuntu , open gparted in it 3-you can see drive structure there select sda/dev1/ should root , click on resize drag side wall middle , click ok 4-you can see allocated space in gparted right click on select new , partition format (i prefer ntfs ) 5-press cntrl+enter apply , restart done

Ubuntu 16.04 LTS restarts by itself almost every 30 minutes - Ask Ubuntu

i pretty new ubuntu windows. installed ubuntu 16.04 lts on lenovo t420i laptop. has been working fine last 3 days since today's morning, restarts every 30 minutes itself. i confused , pissed off because can not it. request tell me easiest possible solution. many in advance.

unity - Wallpapers folder issues - Ask Ubuntu

if set image desktop background, ubuntu creates wallpapers folder in pictures folder , puts image there. if switch wallpaper, same thing, both images in wallpapers folder. if choose first image again, attempt save folder , come message asking if want overwrite it. is normal? why act way? shouldn't easier switch , forth between wallpaper images without having duplicate files or popups asking overwriting? why save images there in first place?

code blocks - How to copy paste in Xterm using ctrl+c , ctrl+v in ubuntu - Ask Ubuntu

how copy , paste in xterm using ctrl+c , and ctrl+v windows in ubuntu 16.04 ? (using codeblocks) i've no clue xterm if choose terminal instead (which superiour application anyway) corresponding shortcuts shift+ctrl-c , shift+ctrl-v respectively.

dual boot - How long can ubuntu work on a usb drive? - Ask Ubuntu

i have 128gb usb drive lying around , planning on installing ubuntu on it. started having concerns how long usb last. read average usb flash drive can have 1 million read/write operations before becoming corrupted. so, how long take reach number? having experiences lifespan of usb drives ubuntu on them? depends on usb drive. cheap usbs such consumer lexar drives may die quickly, , slow. however, there some, such sandisk cruzer extreme ssds, , have higher tolerances cheaper drives. i recommend when permanently installing ubuntu on usb drive use light distribution such lubuntu , disable journaling. reduce write cycles drive- however, disabling journalling puts @ far higher risk of disk corruption. make sure make backups!

Why is apt-get always using proxy, although no proxy is configured? - Ask Ubuntu

i'm trying disable proxy apt-get seems apt-get gets it's proxy configuration somewhere else other /etc/apt/apt.conf , because although apt.conf file empty (and system proxy set none ) it's still trying connect proxy. anyone got idea? i'm using script replace different configuration files in order switch between proxy , non-proxy environements. problem replaced proxy apt.conf file empty apt.conf file, apt ignored. after writing acquire::http::proxy "false"; apt.conf worked without proxy :)

indicator - Show battery percentage in Lubuntu's LXPanel - Ask Ubuntu

how can show battery percentage in lubuntu's lxpanel? have xfce4-power-manager icon doesn't have "show percentage" option. the indicator battery status should looking for: 1. add repository ppa:iaz/battery-status 2. install package sudo apt-get update sudo apt-get install battery-status 3. , last, run battery status indicator applet /usr/lib/battery-status/battery-status --indicator

Python evdev exercise: listing accessible devices - Ask Ubuntu

Image
16.04 installed evdev module, goal: reproduce example in screenshot: screenshot of attempts: the 'indentationerror' error signals corrective action? can done reproduce list of devices on 16.04 instance? if able reproduce exercise on box, please indicate in response. evdev install confirmation: >>> import evdev >>> device = evdev.inputdevice('/dev/input/event0') >>> print(device) device /dev/input/event0, name "logitech m325", phys "usb-3f980000.usb-1.3:1" update: rinzwind has nudged subject-matter in right direction (no 'indentationerror'): >>> devices = [evdev.inputdevice(fn) fn in evdev.list_devices()] >>> import evdev >>> devices = [evdev.inputdevice(fn) fn in evdev.list_devices()] >>> device in devices: ... print(device.fn, device.name, device.phys) ... print(device.fn, device.name, device.phys) ... wondering if observation relevant troublesho...

16.04 - Ubuntu Crashes after Screenshot - Ask Ubuntu

my ubuntu 16.04 has been hanging regularly after taking screenshots using native screenshot app. following scenarios have been observed:- a) screen freezes black rectangle on area have taken screenshot , screenshot application closes. on repeatedly opening screenshot application, prompt save after 10-11 tries. b) system freezes , nothing works ==> have hard restart power button. please help.

lightdm - Restore Ubuntu 16.04 Login Screen - Ask Ubuntu

Image
i installed ubuntu kylin theme want restore original login in screen ubuntu, tried uninstall theme, purge , reinstall lightdm , change default gdm dpkg-reconfigure ubuntu kylin login screen. edit: i tried see configuration in ubuntu tweak show default login screen configuration showing ubuntu kylin when boot computer. kylin-greeter version of lightdm greeter, , switch default greeter ( unity-greeter ) 1 must tell lightdm 1 use via configuration file. what want edit ( or create if doesn't exist ) file /etc/lightdm/lightdm.conf basic steps ( done terminal ) open file text editor. can use nano because it's easier. sudo nano /etc/lightdm/lightdm.conf if don't have [seatdefaults] line, go step 3. otherwise, add line. bellow [seatdefaults] add greeter-session=unity-greeter line. save ctrl + o . exit ctrl + x . reboot, or go tty1 ( via ctrl + alt + f1 ) , login there , restart lightdm sudo service lightdm restart

14.04 - Second screen is off after login - Ask Ubuntu

i using imac27 ubuntu 14.04 linux 3.13.0-100-generic #147-ubuntu smp tue oct 18 16:48:51 utc 2016 x86_64 x86_64 x86_64 gnu/linux i connected apple thunderbolt display 27 , it works until last week . now, after login switchs off. have go nvidia settings , configure again. there appears off. choose position , on , apply. but configuration not saved somehow. tried save x configuration file, no progress. also, after login (second monitor off) fixed using xrandr --output dp-4 --auto --panning 2560x1440+2560+0 . any idea how keep on after login session (maybe without running xrand code on script)?

software installation - Error while loading shared libraries: libmozsqlite3.so: cannot open shared object file: No such file or directory - Ask Ubuntu

i have installed ubuntu today , want upgrade firefox, whenever try run using ./updater , shows me error: error while loading shared libraries: libmozsqlite3.so cannot open shared object file: no such file or directory also, problem not firefox only, os not allowing me install program. please, tell me missing?

drivers - Canon Printer Installations - Wish to locate a tutorial or step-by-step guide that works - Ask Ubuntu

ubuntu 16.04 canon printer installation problems... the major obstacle adopting linux exclusively in small business, monumental hassle, , apparent impossibility of "regular joe" having chance of getting network printer working properly. i have been @ literally weeks now. and, obstacles seem insurmountable. have requested assistance epson laser lp-s5000. seems no 1 has answer that... or isn't sharing. now, have 2 canon inkjets not work network printers. (ix6830 , mg6930) both work computer directly connected to... 1 macos 10.11.6, 1 ubuntu 16.04. believe me... have tried network printer installation options offered in system. have tried understand ppd files (but, cannot locate these printers) , ipp/dns connections. have read cups , gutenprint. and, quite frankly @ loss understand how writers possibly expect without computer science degree comprehend it. the output have been able achieve multiple pages escape characters printed in upper corners. what looking...

upgrade - The required dependency 'apt (>= 1.0.1ubuntu2.13)' for 14.04.3 LTS - Ask Ubuntu

i have tried upgrade ubuntu 14.04.6 problem on upgrade , terminal display same message: required depends not installed required dependency 'apt (>= 1.0.1ubuntu2.13)' not installed. some blogs shows required 14.04.4 version upgrade got 14.04.3 lts. how fix problem? patch or what?

16.04 - Run /home/martyn/Desktop/Scanned Items$ python -m SimpleHTTPServer & in /etc/rc.local - Ask Ubuntu

this question has answer here: how change current path directory has space on it's name? 3 answers i want run /home/martyn/desktop/scanned items$ python -m simplehttpserver & in /etc/rc.local when try & sh /etc/rc.local: 13: /etc/rc.local: /home/martyn/desktop/scanned: not found you have escape white-space characters. instead of: /home/martyn/desktop/scanned items use this: /home/martyn/desktop/scanned\ items edit : david foerster has point not running root.

dual boot - How can I get Gparted to shrink NTFS partition? - Ask Ubuntu

i have been trying dual boot 2008 macbook air windows 10 , ubuntu. 16.04 live dvd boots not offer option install alongside windows 10. when try gparted shrink windows partition, doesn't let me. tried shrinking partition in windows, worked ubuntu installed didn't recognise partition had shrunk, nor did gparted. has got ideas?

My computer boots to a black screen, what options do I have to fix it? - Ask Ubuntu

Image
i trying boot ubuntu on computer. when boot ubuntu, boots black screen. how can fix this? table of contents: if trying install ubuntu if have dual boot system if update or else caused problem if trying install ubuntu 1. ensuring cd/dvd or usb flash drive burned/written correctly , not damaged: how md5 test ubuntu isos. see also: where find checksums of ubuntu iso images? or md5 hash ubuntu .iso (14.04 through 17.04) check out these steps see how check cd once boot make sure it's ready go. verify integrity of burned cd/dvd or written usb flash drive (this checks it's accessible computer on wish install). 2. black/purple screen when try boot livecd the ubuntu installer's startup portion incompatible graphics cards. fixing , getting ubuntu desktop try or install can surprisingly easy fix: nomodeset parameter. see if works you: boot desktop live cd , press ↓ key when see below: press enter , select english: press f6, use ← ↑ ...

command line - When would multiple `///` be used between sub-directories? - Ask Ubuntu

i digging through /var/log/plymouth-debug.log , spotted line: [main.c:716] get_cache_file_for_mode:returning cache file '/var/lib/plymouth//boot-duration' i thought typo typed following , sure enough can have many /// between sub-directories , file name want. example: rick@dell:~$ ls -la /var/lib/plymouth/boot-duration -rw-r--r-- 1 root root 2041 nov 3 21:39 /var/lib/plymouth/boot-duration ──────────────────────────────────────────────────────────────── rick@dell:~$ ls -la /var/lib/plymouth/////boot-duration -rw-r--r-- 1 root root 2041 nov 3 21:39 /var/lib/plymouth/////boot-duration ──────────────────────────────────────────────────────────────── rick@dell:~$ ls -la /var/lib//plymouth///boot-duration -rw-r--r-- 1 root root 2041 nov 3 21:39 /var/lib//plymouth///boot-duration under circumstances want use 2 or more // instead of single / separator? this answered nicely gilles on @ unix & linux: how linux handle multiple consecutive path separators...

system installation - Can't boot or install from stick - Ask Ubuntu

first of all, im sry if im violating rules of forum. anyway, let's question. since couple of days im trying install ubuntu on asus rog laptop. try via bootable stick made.i select stick in bios , boot afterwards. able choose if want install oder live boot it. when im trying live boot ( or normal install -> same result)) it, stuck on purple ubuntu screen (where dots are). screen after screen chose live boot (or normal install). i have tried linuxliveusb, rufus , couple of other tools. have tried multiple usb sticks. everytime same result. reaches 1 dot more or less. (dots loading screen). i've tried every single usb port. thank answers! - juzou screen version tried: ubuntu 16.04.1 lts , older ones. i did not change , worked. reply! -- closed -- edit: maybe adding "nomodeset" grub made work. dont know sure.

What's the policy on commenting changes/value in configuration files at upgrades? - Ask Ubuntu

is there policy ubuntu developers/package maintainers commenting changes values in configuration files? i'm asking because upgrade 16.04 16.10 apparently changed /etc/nsswitch.conf include hosts: files resolve [!unavail=return] dns myhostname instead of hosts: files dns and have no idea means - , kiss have comment right in file. change might have other reasons, sake of question lets assume changed update (if has better example i'll edit question). i'm asking because i'm configuring system system of templates diff result of variable substitution/the output of template existing file , enforce confirmation have change incorporate changes default values template. this appears caused bug noted here , here. in answer specific question, don't know specific policies regarding commenting changes values in configuration files assume ask question of package maintainers here , receive accurate response it's more in realm ours....

14.04 - i am trying to install a netgear wna3100 usb adaptor - Ask Ubuntu

this question exact duplicate of: netgear wna3100 wifi dongle not recognized 1 answer how install netgear wireless adapter on ubuntu 14.04 , download install package windows laptop? just trigger code in terminal sudo apt-get install ndisgtk ndiswrapper-dkms dkms linux-headers-generic build-essential go here more info click here

16.04 - Windows 10 Can't access samba share - Ask Ubuntu

i have ubuntu 16.04.1. have samba 4. windows writes access denied. can reach shared folder, can't access. smb.conf file: [megosztas] path = /home/attila/asztal/megosztas available = yes valid users = fel1 read = no browseable = yes public = yes writeable = yes guest ok = yes i solved problem. added smbpasswd before added user adduser. used smbpasswd -a user again

networking - Wi-Fi problems Acer Aspire e15 E5-575G-53VG Ubuntu 16.04 LTS - Ask Ubuntu

this question has answer here: no wifi in qualcom atheros - ubuntu 16.04 - acer aspire e 15 1 answer i've been having wifi problem on qualcomm atheros long time , have looked solutions everywhere, i've tried wicd, updating driver kvalo, etc.. i have though ran lspci -nnk | grep -ia2 net; dmesg | grep ath10k , error: direct firmware load ath10k/cal-pci-0000:03:00.0.bin failed error -2 please need help, wireless-info found below http://pastebin.com/bvxsbgcb edit: forgot mention dual boot system along windows 10 first, notice this: group cipher : tkip not tkip rather insecure, many linux drivers not connect tkip. check settings in router. wpa2-aes preferred; not wpa , wpa2 mixed mode , not tkip. second, if router capable of n speeds, may have better connectivity channel width of 20 mhz in 2.4 ghz band instead of automatic 20/40 mhz, a...

Video lag on youtube / internet streams for all browsers - Ask Ubuntu

the audio fine video lags. youtube videos fine , others unwatchable. upgrade 16.04 didn't change anything. i'm using firefox tried chrome , had same issues. i've had problem since forever , need help. i'm pretty sure though wasn't beginning. thank much!

grub2 - Why 2x insmod part_msdos in grub.cfg? - Ask Ubuntu

i implemented raid 1 running system. works fine. after raid install grub.cfg got 2 "insmod part_msdos". why , can change this? part of grub.cfg (generated update-grub) load_video insmod gfxterm insmod raid insmod mdraid1x insmod part_msdos insmod part_msdos insmod ext2 there's part of update-grub scripts probe of each of disks in raid , inserts partition module each one. doesn't deduping.

apt - My Ubuntu is showing the following error: signatures were invalid - Ask Ubuntu

when run sudo apt-get update , following error occurs: e: gpg error: http://archive.ubuntugames.org ubuntugames release: following signatures invalid: nodata 1 nodata 2 not that, see big red minus sign @ top right of screen , software center not launching. how fix error. new ubuntu... please help!

command line - Script / Shortcut to switch display priority? - Ask Ubuntu

i wish have shortcut switches priority (i.e. primary, secondary) of displays (laptop + external). ps: aware there's dedicated button/shortcut but, @ least mine, cycles through configurations (i.e. different resolutions). want cycle between 2 configurations only. it turned out wrote it, part of this question . since another question , below outtake of one: #!/usr/bin/env python3 import subprocess # set primary screen, set other 1 scr_data = subprocess.check_output(["xrandr"]).decode("utf-8").splitlines() scrs = [[l.split()[0], "primary" in l] l in scr_data if " connected" in l] screen in scrs: if not screen[1]: subprocess.popen(["xrandr", "--output", screen[0], "--primary"]) it toggles (switches between two) primary screen. to use: copy script empty file, save toggle_primary.py add shortcut key: choose: system settings > "keyboard" > "shortcuts" > ...

16.04 - Clean Install of ubuntu not working on hp 17 notebook - Ask Ubuntu

im trying install ubuntu on clean hdd, old 1 broke, installed in hp 17 p100en. installs fine via usb when remove usb , reboot error message 3f0 no os sytem found. not sure now, im reasonably competent computers , can find way about, great.

java - SAP GUI Error: ... cannot access class sun.awt.AppContext - Ask Ubuntu

after installing sap gui: java -jar platingui740_0-20012039.jar install (which flawless) following error: /opt/sapclients/sapgui/bin/guistart conn=/h/172.20.3.13/s/3200 exception in thread "main" java.lang.illegalaccesserror: class com.sap.platin.base.splash.splashwindow (in unnamed module @0x4f063c0a) cannot access class sun.awt.appcontext (in module java.desktop) because module java.desktop not export sun.awt unnamed module @0x4f063c0a @ com.sap.platin.base.splash.splashwindow.getownerframe(splashwindow.java:99) @ com.sap.platin.base.splash.splashwindow.splashimpl(splashwindow.java:206) @ com.sap.platin.base.splash.splashwindow.splash(splashwindow.java:176) @ com.sap.platin.gui.main(gui.java:70) how fix this? change java version. in case default version oracle-java-9 java hotspot(tm) 64-bit server vm (build 9-ea+140, mixed mode) i changed openjdk 8 openjdk 64-bit server vm (build 25.111-b14, mixed mode) by using command sudo update-alternatives ...

packaging - How do I submit a patch to an ubuntu package which is using git? - Ask Ubuntu

some ubuntu packages using launchpad's git support. e.g. apache2 https://code.launchpad.net/~usd-import-team/ubuntu/+source/apache2/+git/apache2 how create merge request such package? the workflow documented here: https://wiki.ubuntu.com/ubuntudevelopment/merging/gitworkflow

cron - crontab to prevent USB hard drive from spinning down - Ask Ubuntu

i want prevent hard drive, internal drive externally attached via usb dock, spinning down. don't see way adjust apm through hdparm , i'm assuming it's limited firmware of dock. spins drive: sudo dd if=/dev/sdc of=/dev/null count=1 skip=$random but when put same thing in crontab via sudo crontab -e and * * * * * dd if=/dev/sdc of=/dev/null count=1 skip=$random nothing happens. yes, did check whether drive @ /dev/sdc . don't know if info relevant, i've edited crontab several times, , in each time, suggested save in different file default, followed. i'm not sure if correct usage of skip=$random read random block prevent reading cache. also, how can make sure target correct drive persistently across several boot-ups or other orders of plugging in other devices, rather targeting whatever ends being /dev/sdc ? i'm thinking like dd if=(findmnt -rn -s uuid=number_from_blkid -o source) of/dev/null count=1 skip=$random but don't know how nes...

networking - "configuring network interfaces", prompting for password - Ask Ubuntu

it happens few times each day. wifi stops working, disconnects, asks password , doesn't accept correct one. can't connect open wifi though can see it. the thing works physically removing network card usb , putting again. how diagnose , correct problem? my system kubuntu 16.04. result of lsusb, when wifi dies (atheros device): bus 003 device 005: id 1058:0748 western digital technologies, inc. passport (wdbkxh, wdby8l) bus 003 device 001: id 1d6b:0002 linux foundation 2.0 root hub bus 007 device 001: id 1d6b:0001 linux foundation 1.1 root hub bus 006 device 001: id 1d6b:0001 linux foundation 1.1 root hub bus 002 device 033: id 0cf3:1006 atheros communications, inc. tp-link tl-wn322g v3 / tl-wn422g v2 802.11g [atheros ar9271] bus 002 device 001: id 1d6b:0002 linux foundation 2.0 root hub bus 005 device 001: id 1d6b:0001 linux foundation 1.1 root hub bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub bus 004 device 003: id 04f9...

unity - Chrome windows very sluggish when active on different workspaces - Ask Ubuntu

i have problem google chrome on 16.10 laptop. when have @ least 1 google chrome window open @ different workspaces, chrome gets sluggish. interestingly case if websites shown in 1 of windows. not able find out whats specific trigger, might have flash or html5. it's case youtube , google maps, dict.cc shows advertisement. when have 1 of sites open have window minimized, there no problem. i testet firefox, works fine in case. maybe has idea? thanks! the problem solved when deactivated hardware acceleration. scrolling still little bit less smooth when youtube running on workspace hardly noticeable.

16.04 - Alternative to Startup Disk Creator - Ask Ubuntu

this question has answer here: reliable bootable usb creator in ubuntu 8 answers is there alternative startup disk creator creating bootable usb in ubuntu 16.04 ? unetbootin great alternative of startup disk creator . unetbootin ( universal netboot installer ) cross-platform utility can create live usb systems , can load variety of system utilities or install various linux distributions , other operating systems without cd. can install unetbootin in ubuntu 16.04 running commands given below terminal :- sudo add-apt-repository ppa:gezakovacs/ppa sudo apt-get update sudo apt-get install unetbootin references : unetbootin - wikipedia

echo - how to change part of a file name to something else on mutilple files - Ask Ubuntu

i'm making game learn commands , have directories have same number of files of different types in them. need able change part of file name in each directory signifies in deed file directory. e.g, dir 1 name "orange" file 1 name: "water_orange.jpeg" file 2 name: 1_water_orange.jpeg" etc, etc 15 files dir 2 name "indigo" file 1 name: "water_indigo.jpeg" file 2 name: "1_water_indigo.jpeg" etc etc 15 files i have 7 directories 15 files in each , want see if it's possible change colour part of file name in each directory, without have use "mv" command on each individual file. i've tried "echo sed" command both single , double quotes no luck i.e. echo sed "s/orange/indigo/g" , echo sed 's/orange/indigo/g' any sincerely appreciated something following should work: for in $(ls *.jpeg) mv -v $i $(ls $i | sed 's/orange/indigo/') done but very clumsy ...

home directory - useradd ignores defaults in /etc/default/useradd - Ask Ubuntu

ftp migration. moving ftp server windows ubuntu, , rebuilding storage ftp on different server. i'm doing 1 time pass create 100 users, same password, home directories on mounted remote server. here's i'm running: ls /media/oldftp | grep -ev '^[[:digit:]]{4}|^p[[:digit:]]{4}|^w[[:digit:]]{4}' | xargs -n1 -d'\n' useradd -m -g ftpusers -n -p [encryptedpassword] this runs fine. it's supposed to, except home directory in standard location of /home/, instead of location defined in /etc/default/useradd file , useradd -d -b /media/ftpshare . when run useradd -d setting added previous command. why useradd ignore these purported defaults?

folders and files permissions please help - Ask Ubuntu

now have 3 users: x,y,z and 3 folders a,b,c i want make user x have full permission in 3 folders , containing files. i want make user y have write+read+execute permissions on b folder , contents only i want make user z have write+read+execute permission on c folder , contents only how can it? for need assume x member of group g , neither y nor z member of same group. can set (group) ownership , access permissions follows: chown -r x chown -r y:g b chown -r z:g c chmod -r u+rwx,go-rwx chmod -r ug+rwx,o-rwx b c this removes read , traversal permissions other users (aside x , y , , z ) on 3 directories well.

permissions - User profile with only browser access - Ask Ubuntu

i setting ubuntu mate in standalone machine need create user access browser(firefox). other applications should not present or should not have permissions execute. tried few options updating path variable removing access other executable, not replecting. how can made possible? i believe difficult arrange via permissions, because there many dependencies, of may change under updates. not advice. much simpler might opt straightforward window manager (tvfm example), , start firefox login user. can close user's capabilities further blocking applicable config files writing user. this not watertight, enough normal desktop users. if need more aspects, comment on , extend answer.

16.04 - LD_LIBRARY_PATH contains the traditional /lib directory, but not the multiarch directory /lib/x86_64-linux-gnu - Ask Ubuntu

i unfortunately tried install teamviewer in ubuntu 16.04 failed. tried remove of packages required dependency, using command: sudo dpkg --remove --force-remove-reinstreq liblzma5:i386 libc6-dbg:amd64 libpam-systemd:amd64 libgcrypt20:i386 libc6-i386 libpcre3:i386 libasound2:i386 libgpg-error0:i386 libselinux1:i386 libc6-dev:amd64 libgcc1:i386 but got stuck here. sayantan@sayantan-labpc:~$ sudo apt-get -f install [sudo] password sayantan: reading package lists... done building dependency tree reading state information... done correcting dependencies... done following additional packages installed: libc6 libpam-systemd libsystemd0 systemd suggested packages: glibc-doc systemd-ui systemd-container following packages upgraded: libc6 libpam-systemd libsystemd0 systemd 4 upgraded, 0 newly installed, 0 remove , 127 not upgraded. 3 not installed or removed. need 0 b/6,690 kb of archives. after operation, 54.3 kb of additional disk space used. want continue? [y/n] y prec...

Dual-booting Windows 10 and Ubuntu 16.04 on separate hard drives - Ask Ubuntu

in computer, have 1tb hdd , 32gb ssd. windows 10 installed onto 1tb hdd , nothing stored on ssd. i want dual-boot ubuntu 16.04 , install onto 32gb ssd concerned storage size of drive. able access both drives within ubuntu in order store files on hdd? have partition hdd before able access memory on store files while using ubuntu? 32gb ssd enough ubuntu if don't install lot of large applications in ubuntu consume lot of disk space. ubuntu able access 1tb hdd having windows 10 (windows 10 not able access 32gb ssd have ubuntu). recommend shrink windows 10 partition on 1tb hdd , create partition(of ntfs file system) can use data / stuff can accessed both windows 10 , ubuntu. due setup, if later on encounter problems in either windows 10 or ubuntu, data safe , can access operating system working properly. removing operating system not remove data in different partition. since windows 10 doesn't shut down completely(by default), therefore won't able mount ...

boot - slow loader time - Ask Ubuntu

i've installed fresh ubuntu server 16.04 , have notably slower boot time now. nuc 2820 ssd drive. after bios start see blank screen 20 seconds before ubuntu output. executed systemd-analyze , shows next: startup finished in 11.175s (firmware) + 14.277s (loader) + 3.297s (kernel) + 3.451s (userspace) = 32.202s i.e. "loader" slower part of all. it? guess grub. how solve it? searched systemd-analyze , everywhere see loader takes less second. contents of /etc/default/grub is: grub_default=0 #grub_hidden_timeout=0 grub_hidden_timeout_quiet=true grub_timeout=0 grub_distributor=`lsb_release -i -s 2> /dev/null || echo debian` grub_cmdline_linux_default="" grub_cmdline_linux="" edit file /etc/init/failsafe.conf nano /etc/init/failsafe.conf comment out sleeps in failsafe.conf eg. :- $plymouth message --text="waiting network configuration..." || : sleep 40 : $plymouth message --text="waiting network config...

intel graphics - Change monitor refresh rate for 4k monitor - Ask Ubuntu

i try change external monitor refresh rate iiyama prolite x4071uhsu-b1 monitor on xng p406 laptop. i'm using internal intel gpu. xrandr gives me: edp1 connected primary 1920x1080+0+961 (normal left inverted right x axis y axis) 309mm x 174mm 1920x1080 60.02*+ 59.93 1680x1050 59.95 59.88 1600x1024 60.17 1400x1050 59.98 1600x900 60.00 (...) dp1 connected 3840x2160+1920+0 (normal left inverted right x axis y axis) 878mm x 485mm 3840x2160 60.00 + 30.00* 29.97 1920x2160 60.00 2560x1440 59.95 2048x1152 60.00 (...) so, 60hz should available, not used. so try switch 60 hz xrandr --output dp1 --rate 60 . nothing happens. no output in console, no flickering or something. , xrandr gives same output above. am doing wrong? my ubuntu: 16.04 4.7.2-040702-generic kernel jiipeezz pointed me right direction: edited file ~/.config/monitors.xml command sudo gedit ~/.config/monito...

screen - Fails to resume from suspend in 16.10 - Ask Ubuntu

about half time attempt resume suspend, gets stuck @ black screen. diagnostically, i've noticed while it's suspending, screen goes black second, returns normal, goes suspend. i have ubuntu 16.10 kernel 4.8.0-27-generic. it's desktop 3 monitors. here's lshw -c video : lshw -c video *-display description: vga compatible controller product: gm204 [geforce gtx 970] vendor: nvidia corporation physical id: 0 bus info: pci@0000:01:00.0 version: a1 width: 64 bits clock: 33mhz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=nvidia latency=0 resources: irq:46 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff here's lshw (slightly truncated because of se's length limit): description: desktop computer product: system product name (to filled o.e.m.)...