Posts

Showing posts from August, 2010

system installation - How to skip user creation when installing - Ask Ubuntu

i customising ubuntu live cd. i want skip user creation step during installation , instead asks root password. possible so? my workaround: create user first, then passwd root change unix password. then log in root account , usedel user . but want skip user creation together. you can install ubuntu oem distributor, installer. way installs os asks create user , contunues further setup @ client eg. in case might handy.

laptop - Disable suspend after screen lock - Ask Ubuntu

Image
i use ubuntu 16.10 on laptop (with closed lid) attached docking station , external monitor. after lock (i.e. through ctrl+alt+l) machine, ubuntu suspends after few minutes. how can disable behavior? i aware of power options in system settings. choices follows: maybe problem solved disabling "suspend when lid closed" (as technically, lid closed when device attached docking station). however, prefer keep "suspend when lid closed" option since use laptop without docking station. thanks help! you can try this. open terminal , type: gksu gedit /etc/systemd/logind.conf set these 2 lines this: handlelidswitch=suspend handlelidswitchdocked=ignore save file, reboot , test under 2 environments (docked , undocked). if unacceptable results, change power settings "do nothing" on lid close event have set "suspend" now. shouldn't have reboot test 2 environments again.

login - How to shift user in ubuntu using ssh keypair - Ask Ubuntu

in aws ec2, login ubuntu user ssh keypair: ssh ubuntu@hostname -i path_to_the_keypair now, want shift root user try login root user entering $ su root and asks password how enter ssh password. is there way change user using ssh keypair? no. can't authenticate su using keypair. have configured sudo , can "change root user" using sudo -i .

KeepassX on 16.10 disabled the http option - Ask Ubuntu

Image
i installed latest ubuntu on computer , noticed keepassx doesnt have http option activated, whereas on ubuntu 16.04 does. the versions same: 2.0.2 --> 3679b2170142c14362fa75e990ef85b80b1b1b46 is there missing? option important allows communication between application , internet browsers, , auto-fill password. ok, seems using fork of keepass on other computer here: https://github.com/eugenesan/keepassx keepassx still maintained feature looking (the keepasshttp integration) yet merged (> 3 years old) -> https://dev.keepassx.org/issues/91 (there pr: https://github.com/keepassx/keepassx/pull/111 ) so if looking keepassx keepasshttp support, can version eugenesan's ppa: https://launchpad.net/~eugenesan

16.04 - Can't upgrade kernel in xenial - Ask Ubuntu

i have problem 1 server. time ago there installed trusty, upgrade xenial. problem looks doesn't want newer kernel ;) % uname -a linux 36monkeys 3.11.0-12-generic #19-ubuntu smp wed oct 9 16:12:00 utc 2013 i686 i686 i686 gnu/linux hm, 3.11? why? % apt list --installed|grep linux warning: apt not have stable cli interface. use caution in scripts. console-setup-linux/xenial-updates,now 1.108ubuntu15.2 [installed,automatic] libselinux1/xenial,now 2.4-3build2 i386 [installed] linux-base/xenial,now 4.0ubuntu1 [installed,automatic] linux-firmware/xenial-updates,now 1.157.4 [installed,automatic] linux-generic/xenial-updates,xenial-security,now 4.4.0.45.48 i386 [installed] linux-headers-4.4.0-38/xenial-updates,xenial-security,now 4.4.0-38.57 [installed,automatic] linux-headers-4.4.0-38-generic/xenial-updates,xenial-security,now 4.4.0-38.57 i386 [installed,automatic] linux-headers-4.4.0-45/xenial-updates,xenial-security,now 4.4.0-45.66 [installed,automatic] linux-headers-4.4.0-...

asus - Any way to get better sound quality like using IcePower audio wizard in Windows 8.1? - Ask Ubuntu

hi know strange question anyway, have asus x555lab comes windows, thing asus gives small program called "audio wizard", have options improvement audio quality,so problem in linux tool doesn't exist , audio sounds notably worst, wanna know if there exist alternative or tweak purpose improve sound quality of laptop. pic of software(i found in internet.) sorry english, i'm not best speaking it. x) pulseaudio equalizer provides effective equalizer different presets , settings ubuntu. sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install pulseaudio-equalizer

16.04 - battery doesn't charge - Ask Ubuntu

i have laptop dell inspiron 7559. installed ubuntu 16.04 lts. wanted make battery thresholds charging. installed package should (i can't remember name of package). battery doesn't charge @ all. when switch second os (windows 10) battery charges fine. please advice me something? there way charge battery 80%, example? have watched other posts theme, them seems suitable thinkpad owners. sudo apt-get remove tp-smapi-dkms this module think have installed.

suspend - System fails to sleep/shut down while using Intel graphics card (Skylake) - Ask Ubuntu

for reason system refuses sleep/shut down when using intel graphics card (using nvidia card fine). laptop based on intel skylake. graphics card intel hd graphics 530. i'm on 16.04 lts , kernel 4.4.19-040419-generic. i'd provide more information if possible unfortunately thing see black screen , empty command prompt @ first line. laptop gets stuck @ stage , nothing further shown. have hold power button every time shut down. maybe there other ways me collect debug information?

14.04 - cgroupfs-mount fails to start and restrict installationof other packages - Ask Ubuntu

i'm having weired issue cgroupfs-mount on server running ubuntu 14.04, don't how started whenever try install new packages, receive error: * cgroupfs-mount managed via upstart, try using service cgroupfs-mount start invoke-rc.d: initscript cgroupfs-mount, action "start" failed. i tired searchfor possible reason , found manual modification of /etc/fstab alter service execution commented entries still receiving error. receive when trying remove package. whats wrong?

Cannot install tomcat8 on 16.04 - Ask Ubuntu

if run sudo apt-get install tomcat8 i getting: reading package lists... done building dependency tree reading state information... done suggested packages: libtcnative-1 tomcat8-admin tomcat8-docs tomcat8-examples tomcat8-user following new packages installed: tomcat8 0 upgraded, 1 newly installed, 0 remove , 161 not upgraded. need 0 b/41,9 kb of archives. after operation, 306 kb of additional disk space used. preconfiguring packages ... selecting unselected package tomcat8. (reading database ... 403872 files , directories installed.) preparing unpack .../tomcat8_8.0.32-1ubuntu1.2_all.deb ... unpacking tomcat8 (8.0.32-1ubuntu1.2) ... processing triggers systemd (229-4ubuntu10) ... processing triggers ureadahead (0.100.0-19) ... setting tomcat8 (8.0.32-1ubuntu1.2) ... job tomcat8.service failed because control process exited error code. see "systemctl status tomcat8.service" , "journalctl -xe" details. invoke-rc.d: initscript tomcat8, action ...

ram - A large download is causing my server to completely crash. Why is this happening and how do I fix this? - Ask Ubuntu

i got vps ubuntu server. has 1gb of ram reason why got has gigabit i'm using quick downloader , dropbox uploader. i've been trying download 13gb wikipedia dump when use either wget or curl, starts download , gets 10 seconds of gigabyte in, server totally dies. dead. can't boot up. solution rebuild it. have more enough disk space , i'm trying on clean 16.04 install. has happened else? suspect it's because of 1gb of ram since server have on provider 2gb. the commands i'm running: curl -o http://dumps.wikimedia.your.org/enwiki/20161020/enwiki-20161020-pages-articles.xml.bz2 and wget http://dumps.wikimedia.your.org/enwiki/20161020/enwiki-20161020-pages-articles.xml.bz2

fonts - Fontconfig error: line 126: junk after document element - Ask Ubuntu

when give command gedit test13.c , i'm getting kind of error opening file. if try file name command gedit test12.c there no error. ubuntu@ubuntu-optiplex-360:~/naresh/desktop$ gedit test13.c fontconfig warning: line 103: having multiple values in isn't supported , may not work expected fontconfig error: line 126: junk after document element fontconfig error: cannot load default config file test13.c contains: #include <stdio.h> void main() { printf("0x7a, 0"); //printf("\xe6\x91\x83\n"); } actually think related font used when rendering file on machine, i.e. there font configuration file font bad syntax. there have been several bug reports issue in past; this 1 example. if have installed fonts manually, possible explanation. in case: it's warning, , nothing worry about.

Ubuntu installation interrupted - Ask Ubuntu

i installing ubuntu usb fdd alongside windows 7. when left laptop few minutes, toddler pushed power button of laptop. screen black/blank when got back. i've trying fix it. want reinstall couldn't, won't boot usb now. should do? the easiest thing in case of interrupted install start on trying fix partial install lead dependency hell. therefore: boot again usb take "something else" re-format ext4 partitions created taking care not remove windows partitions let install finish while toddler sleeping.

boot - ACPI Warning Argument #4 type mismatch - Ask Ubuntu

output of dmesg: http://paste.ubuntu.com/23381803/ in dmesg, there below error: acpi warning: \_sb_.pci0.rp01.pxsx._dsm: argument #4 type mismatch - found [buffer], acpi requires [package] (20150930/nsarguments-95) which seems bios or related error. how fix this? there case related bug? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/15884 (i had filed bug , using new os on same machine. other details: ~  lsb_release -a no lsb modules available. distributor id: neon description: kde neon user edition 5.8 release: 16.04 codename: xenial ~  uname -a linux neon 4.4.0-45-generic #66-ubuntu smp wed oct 19 14:12:37 utc 2016 x86_64 x86_64 x86_64 gnu/linux the acpi warning: ...._dsm: argument #4 type mismatch - found [buffer], acpi requires [package] warning annoying harmless. message shown because nvidia not conform official acpi specification. it can not "fixed" using required "package" type because break many laptops ...

boot - Installed new Motherboard, Windows failed to start. - Ask Ubuntu

looked trough internet couldn't find solutions exact problem. i have windows 7 , ubuntu 16.04 in dual-boot , installed new motherboard, when try boot windows, message shows up: windows failed start. recent hardware or software change might cause. status: 0xc000000e at least unbuntu still works without sound. i have no clue do. this totally off-topic on askubuntu, here's answer you: you can't switch motherboards windows. it's doesn't work. linux can adapt whatever hardware it's been booted on, windows cannot. it's crashing because drivers , such installed previous motherboard aren't compatible new one. not mention, switching motherboard deactivate windows license key well...

startup - Can't understand systemd in Ubuntu 16.04 - Ask Ubuntu

i trying fight against synaptics commands not executed on startup ubuntu 16.04 (on macbookair), detailed here . after trying rc.local realised have create systemd service instead. i 1) created file 2 lines #!/bin/bash echo 'hello, world.' > desktop/foo.txt and saved /usr/bin/touchpad . made executable via chmod . 2) created file [unit] description=touchpad [service] type=oneshot execstart=/usr/bin/touchpad [install] wantedby=multi-user.target and saved /etc/systemd/system/touchpad.service . made executable, too. 3) finally, run systemctl enable touchpad.service i shut down , started again hoping see file on desktop named foo.txt text hello, world in it, nothing happens. wrong?

utorrent installation - local host page doesn't work - Ask Ubuntu

i'm learning ubuntu , trying install utorrent via terminal. followed instructions provided, when put last command terminal ((utserver -settingspath)) terminal close , local host doesn't work - site cannot reached ... ideas ??? in advance you have put settings path after command, choose directory installed utserver in . command : utserver -settingspath /path/to/utserver/directory/ the command instalation utserver -settingspath /opt/utorrent-server-alpha-v3_3/ you can run utserver daemon can run in background , not closing when close terminal adding "-daemon" command utserver -daemon -settingspath /opt/utorrent-server-alpha-v3_3/ browse http://localhost:8080/gui/ or replace "localhost" server's ip , default login "admin" no password.

After uninstall, steam still asks to be installed - Ask Ubuntu

steam installed via steam.deb on website, uninstalled. still, each newly created user gets asked to start steam complete installation of steam current user. upon first login. how remove this? as told in this forum post , steam did not uninstall completely. left files /var/lib/update-notifier/user.d/steam-install-notify , /usr/share/app-install/desktop/steam:steam.desktop on hard drives. former contained text. removing via sudo rm -rf /var/lib/update-notifier/user.d/steam-install-notify seems solve problem.

Should I really follow all these steps to dual boot with Windows 10? - Ask Ubuntu

it's been many years since i've installed sort of linux distro. in day, yes, of steps in this article required successfuly dual boot windows & ubuntu. but ubuntu on 16.10 now. should try "install ubuntu alongside windows" option , let ubuntu sort of figure out partitions/boot manager/everything? or end broken boot manager or messed partition? i've skimmed page linked, looks reasonable, 1 caveat: page gives insufficient detail on how determine boot mode , control boot of ubuntu installation medium correct mode. in brief, computers windows 8 , later come windows installed in efi/uefi mode. (but not all) windows 7 installations use bios/csm/legacy mode, vast majority of earlier windows versions. if installed windows yourself, bets off, except older versions (vista , earlier, except on exotic platforms), support bios mode. it's imperative ubuntu installation use same boot mode windows installation. see this page of mine information on determ...

dual boot - How do I install Ubuntu alongside a pre-installed Windows with UEFI? - Ask Ubuntu

Image
i'm absolutely new linux. know how install ubuntu alongside pre-installed windows 8+ os. should wubi, or through live usb/dvd? what steps need take correctly install ubuntu? if using ubuntu 16.04+, many issues compatibility solved. still, depending on version using , hardware / model have, might need or of steps provided in answer. if reading in august 2017+, can ubuntu 17.04 have installed on over 40+ laptops uefi, ranging lenovo, dell, hp, sony, acer , toshiba models 2016 , up, , have had no issues @ installing ubuntu following steps in installer. basic steps mean: insert ubuntu usb installer select install ubuntu (install ubuntu alongside windows) select wireless card & upgrade 3rd party software while installing ubuntu finish installation , see ubuntu install without issue windows or ubuntu. now, not 100% full proof verification. mentioning impressed fact out of 43 total laptops, 43 did not have issues whatsoever on end. still, if have issue, reaso...

Get Unity 8 Menu Bar on GNOME? - Ask Ubuntu

i checked out unity 8 on ubuntu 16.10 system, , didn't when went log out amazed menu bar , i'd menu bar in gnome, primary environment. possible @ all? or there alternative similar? here screenshot of menu bar i'm talking about. unity , gnome use different rendering formats. from answer: how can use gnome shell's menus in unity? unity uses gtk draw dropdown menus, , gnome shell uses css.

16.04 - Dual screen on GTX 1050 Ti (375.10 drivers) with DVI and HDMI. HDMI screen is blurry and colors are off, how can I fix? - Ask Ubuntu

i have 2 identical 23" screens. previous setup gtx 470 both screens attached dvi. have gtx 1050 ti offical 375.10 drivers on ubuntu 16.04. everything work fine except screen attached hdmi blurry , low quality overall. if switch screens, 1 attached hdmi still bad. in system settings->displays, hdmi screen detected 7". how can fix hdmi screen?

proxy - IP based load balance in nginx - Ask Ubuntu

i have 2 backend server running on 192.168.0.101:8080 , 192.168.0.102:8080. i have nginx running on 192.168.0.111:80, want force nginx reverse traffic in specific backend srever ip. geo $upstream { 192.168.0.150 backend-1; 192.168.0.250 backend-2; default backend-1; } upstream backend-1 { ip_hash; server 192.168.0.101:8080; } upstream backend-2 { ip_hash; server 192.168.0.102:8080; } server { listen 80; location / { proxy_pass http://$upstream; proxy_redirect off; proxy_set_header host $host; proxy_set_header x-forwarded-host $host; proxy_set_header x-forwarded-server $host; proxy_set_header x-real-ip $remote_addr; proxy_set_header x-forwarded-for $proxy_add_x_forwarded_for; } } i confused configuration. gonna work meant ? every request 192.16...

cron - How can I set sublime as default text editor for crontab? - Ask Ubuntu

how can set sublime default text editor crontab? i write cron jobs regularly able edit crontab -e using sublime rather nano. i have started creating .desktop file sublime. i have tried use select-editor terminal not display sublime option. ubuntu 15.10 the sequence pick editor cron following, first 1 wins: visual environment variable editor environment variable /usr/bin/editor so set visual sublime's path e.g.: export visual=/usr/bin/subl add ~/.bashrc permanent assignment. for 1 run, send visual crontab 's environment: visual=/usr/bin/subl crontab -e

gui - error message when running zenity under 16.04: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged - Ask Ubuntu

under ubuntu 16.04 following message gtk-message: gtkdialog mapped without transient parent. discouraged when open zenity command zenity --text-info --filename=<filename> this didn't happen under 14.04. presume answer related this post post doesn't explain how implement proposed solution. please explain file should add suggested lines to? you fix warning giving gtkdialog parent modal to. relevant functions gtk_window_set_transient_for() (which sets window on top of, or transient for, one) , optionally gtk_window_set_modal() make modal dialog. various gtkdialog constructors do. ignore it. it's warning , not error. application works, it's not coded best practices in mind, seems. have modify zenity 's source code implement fix described in linked question , compile yourself, but... works anyway, why should bother? if want rid of output in terminal, redirect stderr (standard error stream, that's warning gets p...

16.04 - Mednafen fullscreen spans multiple monitors - Ask Ubuntu

i having problem mednafen in fullscreen mode. works great windowed, when go fullscreen mode spans across both monitors, making games impossible play. know of way can go fullscreen on 1 monitor? i'm using ubuntu 16.04lts , mednafen 0.9.38.7. video section initialization screen - initializing video... video driver: opengl video mode: 768 x 672 x 32 bpp pixel shader: none fullscreen: no special scaler: none scanlines: off destination rectangle: x=0, y=0, w=768, h=672 opengl implementation: intel open source technology center mesa dri intel(r) ivybridge desktop 3.0 mesa 11.2.0 any suggestions or advice appreciated. thanks in advance the way i've been able work edit mednafen-09x.cfg file so: ;full-screen horizontal resolution. nes.xres 1920 ;full-screen vertical resolution. nes.yres 1080 by default, these values set 0. 2 monitors causes mednafen split video output across both of them dead center - making unplayable. you'll need each...

16.04 - How do I let Ubuntu find the install path for tcl? - Ask Ubuntu

i running ubuntu 16.04. trying install r package tcltk . when run install.packages('tcltk') , following error: installing package ‘/home/esander/r/x86_64-pc-linux-gnu-library/3.3’ (as ‘lib’ unspecified) --- please select cran mirror use in session --- error: .onload failed in loadnamespace() 'tcltk', details: call: fun(libname, pkgname) error: can't find usable init.tcl in following directories: /opt/anaconda1anaconda2anaconda3/lib/tcl8.5 ./lib/tcl8.5 ./lib/tcl8.5 ./library ./library ./tcl8.5.18/library ./tcl8.5.18/library my first thought uninstall , reinstall tcl . did so, , if run sudo apt-get install tcl , says @ newest version (8.6.0+9). ok, seems r looking tcl in strange places (and looking tcl 8.5), want find path , somehow link r it. when run whereis tcl , get: tcl: apparently ubuntu can't find install path. tried find brute-force way, running find / -name tcl 2> /dev/null , , got: /usr/share/ruby-rouge/demos/tcl /usr/share/doc/...

14.04 - Upgrading interrupted and apt-get got broken, how to fix it? - Ask Ubuntu

i upgrading 14.04.5 16.04 using software updater on laptop. after closed lid , trigered system suspend during downloaded packages installing, didn't go sleep mode. so, opened lid found screen went black date , "root" label on top bar. clicking mouse or pressing button did nothing give flash on screen. thought maybe because upgrading going on, , left computer on day , left work. when came laptop , find screen left , no response button press. so, went tty mode , found there broken things (i don't remember what's on screen). tried typed in sudo apt-get update , , returned message showing apt-get broken (maybe told me soft links cannot found well). turned off computer , restarted it, , couldn't go login screen more. systemd status systemd-modules-load.service showed there errors on loading core modules, , system gave on booting ubuntu. apt module couldn't loaded update-notifier/apt-check , python3 or something. could shadow light on me fix problem? ...

16.04 - Issues with Remington Hindi Keyboard Layout (m17n), Small diacritical sign in hindi using remington keyboard layout is shifting to previous character - Ask Ubuntu

remington hindi keyboard layout not working in ubuntu 16.04 - hindi-remington (m17n) while typing on remington layout in ubuntu of text not being rendered correctly, example: कार्यालय became कायार्लय, पुलिस became पिलुस i have installed i-bus , selected hindi-remington (m17n), while typing in windows in same layout working properly, please resolve.

networking - connect: Network is unreachable? - ping - Ask Ubuntu

when attempt ping google's dns or outside network connect: network unreachable ? i can't update either put down this i new networking... , ubuntu. these results of commands thought might help $ ip 1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state unknown link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc mq state qlen 1000 link/ether 00:0e:7f:a9:10:54 brd ff:ff:ff:ff:ff:ff inet 192.168.0.5/24 brd 192.168.0.255 scope global eth0 inet6 fe80::20e:7fff:fea9:1054/64 scope link valid_lft forever preferred_lft forever 3: virbr0: <no-carrier,broadcast,multicast,up> mtu 1500 qdisc noqueue state down link/ether 86:0b:cb:43:63:a5 brd ff:ff:ff:ff:ff:ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0 mcserver@helloworld:~$ $ vi /etc/...

unity - Can sign in to xfce but not to Ubuntu Desktop environment after update - Ask Ubuntu

Image
i updated ubuntu 14.04 installation , upon rebooting no longer able sign ubuntu desktop environment. i've tried several approaches such as: renaming .xauthority , restarting ensuring .xauthority not owned root (also ran command sudo chown -r $user:$user $home pretty files in home directory executable) sudo apt-get install ubuntu-desktop , sudo apt-get install --reinstall ubuntu-desktop content of .xsession-errors : script ibus started @ run_im. script auto started @ run_im. script default started @ run_im. init: at-spi2-registryd main process ended, respawning init: at-spi2-registryd main process ended, respawning init: at-spi2-registryd main process ended, respawning init: at-spi2-registryd main process ended, respawning init: gnome-session (unity) main process (6756) terminated status 1 init: unity-settings-daemon main process (6735) killed term signal init: disconnected notified d-bus bus init: logrotate main process (6631) killed term signal init: xsession-in...

grub2 - Grub lists unknown kernels - Ask Ubuntu

this question has answer here: how run update-grub? 2 answers when boot (ubuntu 14.04) grub not load os. if list advanced options, grub lists kernels 3.13.0-100-generic , uname -r outputs 3.13.0-96-generic . i have installed grub customizer, , sees linux-image-extra-3.13.0-32-generic linux-image-extra-3.13.0-92-generic linux-image-extra-3.13.0-93-generic linux-image-extra-3.13.0-96-generic any idea going on? for definitive answer of what's installed run this: ls /boot/vm* if grub menu doesn't agree list run: sudo update-grub when run: uname -r it lists kernel booted isn't newest 1 might see in advanced options menu.

command line - Making a large file using the terminal - Ask Ubuntu

i want make file large in size testing purposes should contains unique words (strictly not repeated). can in gb, tb, etc. may terminal? i using ubuntu 16.04 (xenial xerus). creating infinite number of words, guaranteed unique the script below generate guaranteed unique words characters alphabet. issue fixed length of characters produce limited set of possibilities, limiting size of file. i therefore used python 's permutations , produces (finite) number of unique words. however after using combinations, start over, printing words 2, 3, four, n times etc., every value n create new unique word. have generator produce 100% unique words. the script: import itertools import string ab = [c c in string.ascii_lowercase] t = 1 while true: n in range(1, len(ab)+1): words = itertools.permutations(ab, n) word in words: print(t*("".join(word))) t += 1 how use simply copy script empty file, save unique_generator...

Ubuntu 16 cannot boot after a clean install, although boot repair shows fixed - Ask Ubuntu

the boot repair log here . shows fixed successfully, next time when start pc,it's still same. run sudo grub-install /dev/sda , shows grub-install: error: failed canonical path of /cow. other info: ubuntu operating system in computer. for command fdisk -l, shows following. sdb1 usb install ubuntu. seems boot installed on usb. device start end sectors size type /dev/sda1 2048 487423 485376 237m efi system /dev/sda2 487424 16488447 16001024 7.6g linux swap /dev/sda3 16488448 76488703 60000256 28.6g linux filesystem /dev/sda4 76488704 976771071 900282368 429.3g linux filesystem /dev/sda5 976771072 976773119 2048 1m bios boot disk /dev/sdb: 3.7 gib, 4004511744 bytes, 7821312 sectors units: sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes i/o size (minimum/optimal): 512 bytes / 512 bytes disklabel type: dos disk identifier: 0x0053722e device boot start end sectors size ...

dual boot - Grub2 not loading - Ask Ubuntu

this question has answer here: acer aspire e15 not dual boot 4 answers how reinstall grub 2 answers i have been trying set ubuntu dual boot after install grub2 bootloader not starting. tried boot repair still nothing happening. the link boot repair information is: paste2.org/5xvccmvx . can tell me i'm doing wrong?

android - Chrome remote desktop does not work on Ubuntu 16.04 - Ask Ubuntu

i upgraded ubuntu 16.04 , chrome remote desktop doesn't work. working "my computer" section. i've set home computer , trying access through crd on android following error: the remote computer not responding connection requests. please verify online , try again. even though home computer shown online on list in cdr. i've been looking solutions on google nothing worked. update: have 2 routers @ home 1 main connected internet , connects first router. maybe chrome remote desktop doesn't work because desktop computer connected second router?

lock screen - ubuntu 16.10, unity: cannot login into computer after it goes to sleep - Ask Ubuntu

machine goes sleep, come hours later , mouse/keyboard nothing. cannot login. can ssh in computer , gracefully reboot. using nouvea driver video card. machine not laptop. not using suspend. not sure how troubleshoot this. ideas? i must outlier. using default nouveau display driver , changed on nvidia 367.57 driver. no longer having issue screen lock. never experienced before , have been using ubuntu since warty. hope helps else...

16.04 - Which component calls xrandr when I connect/disconnect a display? - Ask Ubuntu

when connect/disconnect display notebook, monitor layout adapted automatically. there way turn behavior off? i have nonstandard monitor setup, applying panning , scaling. want full manual control on monitor setup. also, when try configure manually full tri-head setup, gnome freezes -- suspect related hot-plug detection want turn off. i've looked in /etc/udev haven't found rules. turned off xrandr plugin unchecking org.gnome.settings-daemon.plugins.xrandr.active in dconf-editor no avail.

Unity 8 not working - Ask Ubuntu

Image
every time try start unity 8 in ubuntu 16.10. not start. have restart bug report. it's quite common bug, unity 8 still in development , unstable , missing tons of features, it's demo, not pcs support it. in next updates made better , support wider range of pcs. there not can give.

Touchpad for Razer Blade doesn't work for ubuntu 16.04 - Ask Ubuntu

i have new razer blade 2016 , installed ubuntu 16.04 on it. however, can't touchpad work, although buttons do. have use external mouse. here's output xinput: $ xinput --list ⎡ virtual core pointer id=2 [master pointer (3)] ⎜ ↳ virtual core xtest pointer id=4 [slave pointer (2)] ⎜ ↳ logitech usb receiver id=11 [slave pointer (2)] ⎜ ↳ logitech usb receiver id=12 [slave pointer (2)] ⎜ ↳ razer razer blade id=14 [slave pointer (2)] ⎜ ↳ razer razer blade id=15 [slave pointer (2)] ⎣ virtual core keyboard id=3 [master keyboard (2)] ↳ virtual core xtest keyboard id=5 [slave keyboard (3)] ↳ power button id=6 [slave keyboard (3)] ↳ video bus id=7 [slave keyboard (3)] ↳ video bus ...

sound - software update interrupted and audio driver not working - Ask Ubuntu

i tried update software software center , failed , next day unable install apps software center or apt-get command. mine ubuntu 16.04 , uname -a linux prem 4.4.0-45-generic #66-ubuntu smp wed oct 19 14:12:37 utc 2016 x86_64 x86_64 x86_64 gnu/linux here error sudo apt-get install update sudo: unable resolve host prem [sudo] password premkr: reading package lists... error! e: unable parse package file /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_binary-amd64_packages (1) e: unable parse package file /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_binary-i386_packages (1) e: encountered section no package: header e: problem mergelist /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_i18n_translation-en e: package lists or status file not parsed or opened. my audio not working either.can please me? edited: kindly brief more on questions as possible. try this: open terminal, press ctr...

How to grep two numbers from the same line at different places using bash? - Ask Ubuntu

i want grep 2 numbers same line in example below: // examplefile.txt solver.cpp:229] iteration 2000, loss = 0.305721 solver.cpp:245] train net output #0: accuracy = 0.926112 solver.cpp:245] train net output #1: accuracy = 0.723957 solver.cpp:245] train net output #2: accuracy = 0.599623 sgd_solver.cpp:106] iteration 2000, lr = 0.000227383 solver.cpp:229] iteration 2020, loss = 0.294722 solver.cpp:245] train net output #0: accuracy = 0.855208 solver.cpp:245] train net output #1: accuracy = 0.71616 solver.cpp:245] train net output #2: accuracy = 0.619429 i need number right of "solver.cpp:229] iteration " , right of ", loss = ". need both numbers @ same time such resulting file looks this: // resultfile.txt 2000 0.305721 2020 0.294722 i know how 1 of numbers using grep grep ", loss = " examplefile.txt | sed -e "s/.* //" > resultfile.txt does know how second number simultaneously? one possible w...

Dropbox not working on Ubuntu 16.04 - Ask Ubuntu

dropbox apparently installed in home directory. 'env' via terminal shows line 'pwd=/home/ray/dropbox' message updating proxy settings when try run application. have tried follow thread on updating http_proxy environment variable think got confused! could please clarify need have drawings on laptop want access (via dropbox) on aquaris m10 (non-ubuntu) m10.

package management - install Jupyter for Python 2.7 in Ubuntu 14.04 - Ask Ubuntu

how can install jupyter python 2.7 in ubuntu 14.04? i try: sudo add-apt-repository ppa:jolicloud-team/ppa sudo apt-get update the output update: ign file: inrelease get:1 file: release.gpg [181 b] get:2 file: release [196 b] ign file: translation-en_us ign file: translation-en hit http://storage.googleapis.com stable inrelease ign http://us.archive.ubuntu.com trusty/universe translation-en_us fetched 5,905 kb in 6s (915 kb/s) w: failed fetch http://ppa.launchpad.net/jolicloud-team/ppa/ubuntu/dists/trusty/main/binary-amd64/packages 404 not found w: failed fetch http://ppa.launchpad.net/jolicloud-team/ppa/ubuntu/dists/trusty/main/binary-i386/packages 404 not found e: index files failed download. have been ignored, or old ones used instead. and then: s...

thinkpad - Monitor detected in Windows 10 but not Lubuntu - Ask Ubuntu

i'm running lubuntu 16.10 on lenovo thinkpad t450s laptop. have connected vga cable acer v173 monitor. machine dual-boots lubuntu windows 10, , can use monitor fine in windows, lubuntu doesn't seem detect it—it doesn't show in xrandr. same situation obtained when tried old dell monitor. but, had different monitor working fine yesterday, before flew california new jersey (i unfortunately don't remember brand or model). how can debug this? the problem has disappeared mysteriously appeared. so, @ least time being, it's solved.

/etc/fstab pass enabled in filesystem, but with tune2fs -l "Last checked" not updated - Ask Ubuntu

i tried issue, not find explanation. why filesystem marked <pass>=1, root filesystem , or <pass>=2 (in /etc/fstab file), i. e., fsck enabled @ boot time seems not update parameter "last checked". mean "last checked" parameter can show tune2fs or dumpe2fs . my ubuntu installed on laptop, can assure there several boots per week. example of /etc/fstab , can see fsck enabled @ boot time. /dev/mapper/lubuntu--vg-root / ext4 errors=remount-ro 0 1 uuid=69e551b5-5167-4b50-9b89-f0a79afead43 /boot ext2 defaults 0 2 output of tune2fs / dumpe2fs : # tune2fs -l 69e551b5-5167-4b50-9b89-f0a79afead43 last mounted on: /boot last mount time: wed nov 9 17:12:18 2016 last write time: wed nov 9 17:12:18 2016 last checked: sun oct 23 20:46:24 2016 #tune2fs -l /dev/mapper/lubuntu--vg-root last mounted on: / last mount time: wed nov 9 17:12:17...

How can I remove time in other locations from the Unity date indicator menu? - Ask Ubuntu

Image
i un-ticked "time in auto-detected location" "time in other locations". however, time of current (i assume auto-detected location) still being shown in time & date indicator menu. how can remove red-highlighted entry menu (screenshot 3)? screenshot 1: screenshot 2: screenshot 3:

python - cx_Oracle in Ubuntu: distutils.errors.DistutilsSetupError: cannot locate an Oracle software installation - Ask Ubuntu

i try install python dependencies django project sdu.edu.kz. project uses cx-oracle. when try: ./install_python_dependencies.sh install it installs modules except one. module of cx-oracle. however, installed cx-oracle program on computer. it prints error: collecting cx-oracle==5.2 (from -r requirements/base.txt (line 82)) using cached cx_oracle-5.2.tar.gz complete output command python setup.py egg_info: traceback (most recent call last): file "<string>", line 1, in <module> file "/tmp/pip-build-rp7c9i/cx-oracle/setup.py", line 170, in <module> raise distutilssetuperror("cannot locate oracle software " \ distutils.errors.distutilssetuperror: cannot locate oracle software installation ---------------------------------------- command "python setup.py egg_info" failed error code 1 in /tmp/pip build-rp7c9i/cx-oracle/ how locate oracle software installation? ideas? please, help ...

gnome super button doesn't search files - Ask Ubuntu

in unity, key combination "super+f" finds files name (even partial name) no trouble, in gnome, pressing "super" , searching works applications , folders (among other things), not files. i have changed "search" settings on "system settings" doesn't seem anything. ("files" marked, still won't find files) am missing something? or alternatively, key combination search files in gnome? i using ubuntu 16.10 gnome shell version 3.20.4

Problem with Bash script: 'declare: not found' - Ask Ubuntu

i had script running fine when ran today, says declare: not found . using bash shell , path @ starting of script correct. two flagged lines in script follows: declare -a response response=($result) it says ( unexpected guess coming because of first error. worth mentioning point when type in declare directly works fine. declare | grep user shows user=ashfame username=ashfame values="$svn_bash_username"; so, whats wrong here? are using sh instead of bash ? sh (linked dash ) not support declare keyword, nor syntax var=(list) for initializing arrays.

networking - Ethernet stopped working after running some commands - Ask Ubuntu

i trying share internet connection ethernet wire. didn't work. but cannot internet ethernet. i executed command: sudo ifconfig enp2s0f1 169.254.82.80 the result of ifconfig this: enp2s0f1 link encap:ethernet hwaddr 2c:56:dc:80:9a:3e inet addr:169.254.64.195 bcast:169.254.255.255 mask:255.255.0.0 inet6 addr: fe80::2e56:dcff:fe80:9a3e/64 scope:link broadcast running multicast mtu:1500 metric:1 rx packets:0 errors:0 dropped:0 overruns:0 frame:0 tx packets:48 errors:0 dropped:126 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:0 (0.0 b) tx bytes:8640 (8.6 kb) enp2s0f1:avahi link encap:ethernet hwaddr 2c:56:dc:80:9a:3e inet addr:169.254.8.45 bcast:169.254.255.255 mask:255.255.0.0 broadcast running multicast mtu:1500 metric:1 lo link encap:local loopback inet addr:127.0.0.1 mask:255.0.0.0 inet6 addr: ::1/128 scope:host ...