Posts

Showing posts from January, 2015

irc - Difference between weechat and weechat-curses - Ask Ubuntu

i started using weechat irc client on ubuntu. after installation client can started either running weechat or weechat-curses commands. can explain difference in both? weechat more recent version, described here in wiki (in german)

ipv6 - dual-stack static setup won't stay configured in 16.04 - Ask Ubuntu

i have media server (plex) configured on vm on home network. dual stack static ipv4 , ipv6 addresses. after upgrading 14.04 16.04, manual configuration broke , lost static ipv6 gateway route. have following set in /etc/network/interfaces: iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.9 netmask 255.255.255.128 gateway 192.168.1.1 dns-nameservers 8.8.8.8 iface eth0 inet6 static address 2001:***:e3a7::9 netmask 64 gateway 2001:***:e3a7::1 dns-nameservers 2001:***:8:c23::108 this worked fine under 14.04. under 16.04, static gateway nothing. after fresh reboot, following: default via fe80::226:88ff:fee8:7600 dev eth0 so @ least know it's seeing ras on segment (all other devices doing straight slaac seem fine). turned off autoconf vi sysctl , explicitly turned on accept_ra. somehow, 30 seconds after boot, turns off: net.ipv6.conf.eth0.accept_ra = 0 i love know why can't put static ipv6 setup in supposed &quo

How should I add Korean Keyboard on Ubuntu 16.04? - Ask Ubuntu

i wondering how add korean keyboard ubuntu 16.04 lts. i tried install ibus, after having installed korean language, chose "ibus" keyboard input method system in same "language support" window. however, did not work. it great if me. thank you. ibus no longer default im framework in ubuntu typing korean; fcitx is. hence fcitx-hangul package installed when installed korean language, not ibus-hangul . either can switch fcitx in language support, or if want use ibus can install ibus-hangul manually. then next time log in should find hangul in text entry . reference: https://help.ubuntu.com/stable/ubuntu-help/keyboard-layouts.html#complex

16.04 - Error ""Unable to open files..." with Adobe Reader - Ask Ubuntu

i have installed adobe reader 9 (version 9.5.5) in ubuntu 16.04 lts 64-bit, following page: http://notesofaprogrammer.blogspot.de/2016/08/installing-adobe-reader-in-ubuntu-1604.html (i have edited /etc/gnome/defaults.list make default opening pdf files). now, when double-click on pdf file in file manager, following error message: unable open files or uris app . it work when run command acroread <myfile.pdf> in terminal. can start adobe reader (e.g. dash) , open file using menu. double-click produces error... idea wrong in system? thanks help! edit: here content of /etc/gnome/defaults.list [default applications] application/csv=libreoffice-calc.desktop application/excel=libreoffice-calc.desktop application/msexcel=libreoffice-calc.desktop application/msword=libreoffice-writer.desktop application/ogg=rhythmbox.desktop application/oxps=evince.desktop application/postscript=evince.desktop application/rtf=libreoffice-writer.desktop application/tab-separated-values

boot - Unable to access "USBname" - Ask Ubuntu

Image
i have usb flash drive used contain kali linux , tried re-format in ubuntu, use other purposes. suddenly, error screen popped unable access “kali live” . don't know do. error message: error mounting /dev/sdb2 @ /media/asian_rice_ball/kali live1: command-line `mount -t "iso9660" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500" "/dev/sdb2" "/media/asian_rice_ball/kali live1"' exited non-zero exit status 32: mount: /dev/sdb2 write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error in cases useful info found in syslog - try dmesg | tail or so. how should proceed? open gparted: select usb stick in upper right-hand corner choose device menu choose create new partition table create new ms-dos partition takes whole space of usb drive. and should solve problem , if do

Dell shipped laptop start up scripts delllctservice delllctservicecontent starttracker - Ask Ubuntu

i have m3800 dell laptop came ubuntu pre-installed. system stalls @ shutdown, , see error starttracker pid not found. maybe not relevant, , not looking here on how resolve error. because of that, noticed there 2 scripts run @ startup: /etc/init.d/delllctservice /etc/init.d/delllctservicecontent starts /usr/bin/starttracker i have looked around in internet find out these scripts , services start do), couldn't find them, apart (unanswered, more 1yr old) question on dell forums, asking can source code found (since gplv3+): http://en.community.dell.com/support-forums/software-os/f/3525/t/19643280 so, questions are: 1. these scripts do? 2. required ubuntu run on dell laptops? 3. source code them? cause if can't @ source code, there no way know if dell has backdoor in our systems or not.

mono - Package 'libmono2.0-cil' has no installation candidate - Ask Ubuntu

sudo apt-get install libmono2.0-cil i tried apt-get update , upgrade is there way download package? you can use new packages recommended ubuntu's package manager. able unturned server working following suggestions package manager produced. when try install libmono2.0-cil package (as directed unturned setup instructions), ubuntu display message: package libmono2.0-cil not available, referred package. may mean package missing, has been obsoleted, or available source following packages replace it: mono-reference-assemblies-2.0 mono-devel libmono-cil-dev i followed suggestion , installed recommended packages. sudo apt-get install mono-reference-assemblies-2.0 mono-devel libmono-cil-dev .

Recovery my data in hard disk - Ask Ubuntu

this question has answer here: how recover deleted files? 10 answers at time of installing ubuntu 16.04 in laptop. deleted entire data in hard disk. whether possible recover file ubuntu os. if yes kindly provide me solution. there third-party software out there data back, because when file deleted, space marked "empty" not deleted. delete must overwrite space. beware files corrupt.

How to install Geany 1.28 on Lubuntu 16.04 - Ask Ubuntu

the official repository offers 1.27 version, need 1.28, comes save on focus out plugin (not available in plugins 1.27. there option, apart compiling sources? also tried adding ppa: sudo add-apt-repository ppa:geany-dev/ppa , normal installation keep downloading 1.27 version. update: have found plugin installed , running on old pc geany 1.25. need file saveactions.so , in case stored in /usr/lib/x86_64-linux-gnu/geany folder. plugin installs saveactions ? work copy file new system , make plugin active? solved: saveaction in geany-common , sudo apt-get install geany-common , enabling in edit > preferences > general > startup > enable plugin support , , activation in tools > plugin manager > saving actions enable save actions menu in edit > plugin preferences .

grub2 - Unable to boot into Windows after installing Ubuntu, how to fix? - Ask Ubuntu

i installed windows on computer, followed installation of ubuntu. however, i'm unable boot windows install. what can fix this? i going make assumptions: that windows installed , configured boot via uefi. ubuntu installed , configured boot via uefi. you're seeing grub menu @ boot. if of assumptions false, following advice not (though won't hurt either): create file, /boot/grub/custom.cfg (by running sudo -h gedit /boot/grub/custom.cfg ) these contents: #this entry should work version of windows installed uefi booting menuentry "windows (uefi)" { search --set=root --file /efi/microsoft/boot/bootmgfw.efi chainloader /efi/microsoft/boot/bootmgfw.efi } (copy , paste above gedit window comes up, save , quit gedit) reboot , should see entry titled "windows (uefi)" , if select windows should boot. if not work, please run boot info script ( http://bootinfoscript.sourceforge.net/ ) , post results.txt produces have information n

dual boot - Will storage space of other operating system be affected? - Ask Ubuntu

i convert kubuntu xubuntu without redoing whole pc. i have installed windows on same pc, fear if download/install xubuntu, might disturb windows on storage space. xubuntu use storage space of kubuntu or affect windows space? xubuntu can installed in place of kubuntu. you'll presented option replace kubuntu xubuntu in installation phase. if not case, can select existing kubuntu partition / new xubuntu installation in manual partitioning. ok. check installation guide more details. how install ubuntu?

When running apt-get update I receive checksum errors - Ask Ubuntu

when running apt-get update receive checksum errors on of sources packages. note apt-get clean cannot resolve local host name. please assist. this remove package lists , rebuild them. corrupted (they building deltas) during syncing mirrors. sudo rm /var/lib/apt/lists/* sudo apt-get update

gnome - How can I make spellchecking work for additionally installed languages in Firefox and Evolution? - Ask Ubuntu

i using ubuntu gnome 16.04.1 lts. during installation, selected german language , europe/tallinn time zone. result, support german, english, , estonian installed. @ least, when go gnome settings » region , language » language, see german, several variants of english, , estonian in list. unfortunately, seems support estonian not installed. neither in firefox nor in evolution, can select estonian spell checking language. tried install language support estonian via gnome settings, gnome settings considered estonian language support installed, witnessed estonian being in abovementioned list. i try install language packages manually via apt-get . however, not want this, guess might confuse gnome settings. how can safely install support estonian? open terminal window , run command: sudo apt install $(check-language-support) based on description, ought it.

12.04 - Booting with USB modem without Internet - Ask Ubuntu

i have ubuntu 12.04 mini without desktop. atm machine. i have usb modem, start system. modem don't have connection internet( modem ip, use connect ot server). when i'm trying reboot message "booting system without full network configuration without internet" , must press "enter". this pc stay far away, can't press "enter" after reboot. there way solve it? maybe disable connection test or smth else?

suspend - pm-utils not working in Ubuntu 14.04 - Ask Ubuntu

/etc/pm/sleep.d/00_update has these permissions: -rwxr-xr-x 1 root root 148 oct 28 09:46 00_update and following content: #!/bin/bash case "$1" in hibernate|suspend) echo suspended >> ~/.state ;; thaw|resume) echo awake >> ~/.state ;; esac but nothing happens after suspending, hibernating or restarting system. in folder there other files, namely: -rwxr-xr-x 1 root root 210 may 15 2014 10_grub-common -rwxr-xr-x 1 root root 660 dic 6 2013 10_unattended-upgrades-hibernate -rwxr-xr-x 1 root root 1260 may 23 2012 novatel_3g_suspend is there additional step in order make 00_update run properly? since bash script in /etc/pm/sleep.d/00_update run root user, ~/.state means other home directory. replace both occurrences of ~/.state absolute path, /home/w3/.state (ymmv). also, if use encrypted home directory, there times when not mounted (when not logged in), consider writing file /tmp .

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 :)

16.04 - Update 14.04LTS to 16.04LTS bricked - Ask Ubuntu

i have dell optiplex 9020 running ubuntu 14.04lts. ubuntu complained out of date , no longer providing security updates. of course, did not offer way upgrade, looking on stackexchange, found following advice: can smoothly upgrade 1 lts next lts release? sudo apt-get do-release-upgrade now machine locks after booting. can't see in log. there text cursor. alt-f* not work shell. i can press power button, , shows ubuntu logo before shutting down in controlled manner. linux running. any ideas how recover system? assuming should type options in grub. booting linux 3.16.0-77-generic (recovery mode) recovery mode shows: started user manage uid 112 started automatic usb/bluetooth printer setup... failed start network manager wait online at point ctrl-alt-del not work, pressing power button continue through sequence , shut down.

Video player is not working.. in Ububtu 14.04 - Ask Ubuntu

Image
while opening video player showing install plugin then trying install plugin showing as.. software open terminal , type sudo dpkg --configure -a if doesn't this sudo apt autoremove <packagename> if doesn't need internet connection.type in terminal sudo apt-get autoclean remove sources.list file.and create new sources.list... sudo rm /etc/apt/sources.list then, type in sudo software-properties-gtk open software-properties-gtk , newsources.list will created automatically. then change server or other server of choice. must enable repositories new dialog in order create new sources.list. tick boxes click on revert click close. need restore default repositories sudo apt-get update && sudo apt-get dist-upgrade -y (it practice backup file before installing recover if such things happen) now install video player plugins :)

mouse - How do I restore the default cursor in Ubuntu 16.10? - Ask Ubuntu

Image
i performed upgrade 16.04 16.10. i wonder why mouse cursor changing between 2 different themes: i restored default ubuntu 16.10 cursor removing desktop environments unity 7.5: $ sudo apt remove gnome-shell unity8 plasma-workspace

flash - Installing adobe-flashplugin on Ubuntu 16.10 for Firefox - Ask Ubuntu

i trying install adobe-flashplugin on ubuntu 16.10 firefox. used following command: sudo apt-get install adobe-flashplugin which throws following error: err:0 http://archive.canonical.com/ubuntu maverick/partner i386 adobe-flashplugin i386 11.2.202.228-0maverick1 insufficient information available perform download securely hashes of expected file: - sha1:bff9666cc9f108ae59833a0f44c2499f0a0dd261 [weak] - md5sum:b92c92245c190c7dc9d4a9bb4bd780c3 [weak] - checksum-filesize:6591116 [weak] err:1 http://archive.canonical.com/ubuntu maverick/partner i386 adobe-flash-properties-gtk i386 11.2.202.228-0maverick1 insufficient information available perform download securely hashes of expected file: - sha1:5ea9ea111686652665cfca3aa1320b064c4f458f [weak] - md5sum:2ed1fadfb6a07c3ca8ba9b8f3c774edc [weak] - checksum-filesize:131074 [weak] e: failed fetch http://archive.canonical.com/ubuntu/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.228-0maverick1_i38

How is Nautilus file manager GUI programmed? - Ask Ubuntu

Image
since nautilus written in c, how gui created? is there specific c framework allows gui creation or done other way? nautilus written in c mostly, evident project's github page: according wikipedia uses gtk3 of version 2.32. if want create gui c, there's not choice - gtk best option ( although i'll hint @ known borland's turbo c straight 1980s). i'd suggest move c++. c++ there's gtk , qt options.

Ubuntu 14.04: Videos playing twice as fast; no sound - Ask Ubuntu

i've got annoying problem have no sound on machine, , youtube videos playing twice fast. i've googled , tried solutions no avail; none of sound settings change (they're set default analog output (built-in audio) , analog stereo output, none of other options change anything), doing pulseaudio -k doesn't fix anything, , doing pulseaudio afterwards gives me these errors: e: [pulseaudio] pid.c: daemon running. e: [pulseaudio] main.c: pa_pid_file_create() failed. doing pulseaudio -d gives me: pulseaudio: invalid option -- 'd' e: [pulseaudio] main.c: failed parse command line. i installed pavucontrol , disabled video card output (in 'configuration' tab turned hda nvidia profile 'off'), , set built-in audio analog stereo output, nothing. in default sound settings use audio tester , nothing, both analog output , digital output options. makes no difference if i'm using headphones or not (when plug them in they're detected third option

xterm - Lowercase 's' doesn't work in Ubuntu terminal - Ask Ubuntu

this question has answer here: i can't type “b” when i'm in command line 1 answer anyone else had infuriating problem has been bugging me past hour. lowercase 's' , key alone doesn't ever printed on terminal or xterm. every other key works fine , 's' key words fine in other application not in terminal. googling says custom keyboard shortcut has been set s looking @ keyboard shortcuts in system -> keyboard -> custom shortcuts shows no such shortcut , cleared few had 's' in it. rebooting etc. didn't help. interesting thing if press ctrl + shift + v key paste lets me type 's' after can't enter s anymore. have used gconf-editor , dconf-editor , have reset ccsm settings , restarted unit, nothing working. i tried installing other terminal emulators, same problem exists. more investigation found out problem occurs

16.04 - Can not safely remove external hard drive? - Ask Ubuntu

notice i not find solution after installing ubuntu 16.04.2 lts problem no longer exists! the problem i have 1tb transcend external hdd (inner chip wdc_wd10jpvx-22jc3t0_wd-wx11a15r3ac8 ) , when try safely remove either file manager or command line udisksctl unmount -b /dev/sdb1 , udisksctl power-off -b /dev/sdb1 , pops again , won't power off. i'm using ubuntu 16.04.1 lts . it happens either usb2 or usb3. it can safely removed in either mac or windows! i tried 16.04 live , not safely remove! hd can safely removed in live 16.04 booted in pc, , can safely removed in laptop in windows! these output after running udisksctl unmount -b /dev/sdb1 , udisksctl power-off -b /dev/sdb : udevadm monitor udisksctl monitor i have cheap wd black has same issue , there no firmware update available. use back-up drive attach 1/week, stopped worrying , unmount partitions , unplug it... has been successful last 4 years or so.

gphoto2 - digiKam 4.14.0 cannot download photos from my PTP camera in Kubuntu 16.10 - Ask Ubuntu

ubuntu 16.10/kubuntu 16.10 ship photo management program digikam 4.14.0. digikam 4.14.0 can detect ptp camera (canon powershot g1 x); camera listed under "import -> cameras -> xyz". when click on camera name nothing happens. when run digikam console can see error message failed detect camera gphoto2 solid information . digikam 4.12.0 (shipped kubuntu 16.04 lts) used open new window previews of pictures stored on camera. for reason digikam kubuntu 16.10 built without library libgphoto2 , because of ptp cameras not supported. until digikam supports ptp cameras again gtkam can used instead. a way check if ptp cameras supported build of digikam using check shared object dependencies of digikam binary command: ldd /usr/bin/digikam | grep gph the digikam binary inside digikam_4.12.0-0ubuntu7_amd64.deb has following matches: $ ldd digikam | grep gph libgphoto2_port.so.12 => /usr/lib/x86_64-linux-gnu/libgphoto2_port.so.12 (0x00007fadff8dd0

14.04 - No File Type Icon - Ask Ubuntu

Image
i work lot of files , need file type icons identify file types. however, on ubuntu 14.04.5 lts gnome, don't have file type icons. example test.c not show normal icon. on machine looks this: how fix this? i recommend faenza icon set http://tiheum.deviantart.com/art/faenza-icons-173323228 to install open terminal , enter: sudo add-apt-repository ppa:tiheum/equinox sudo apt-get update sudo apt-get install faenza-icon-theme now activate following command: gsettings set org.gnome.desktop.interface icon-theme faenza alternatively can install gnome-tweak-tool via sudo apt-get install gnome-tweak-tool , change settings in there.

14.04 - Can't enable TARPIT in iptables - Ask Ubuntu

i have ubuntu 14.04 box , i'm trying tarpit feature work in iptables. have added the xtables-addons-common , xtables-addons-dkms packages still following error when trying tarpitting: sudo iptables -a tar -p tcp -m limit --limit 10/sec -j tarpit --tarpit iptables: no chain/target/match name. any appreciated!

erlang - ejabberdctl not found in bash Ubuntu(installing ejabberd) - Ask Ubuntu

here site tried use manual: https://www.digitalocean.com/community/tutorials/how-to-install-ejabberd-xmpp-server-on-ubuntu i trying install ejabberd applying tutorials in many site vm ubuntu stuck in beginning. after wrote sudo apt-get update sudo apt-get -y install ejabberd it installs ejabberd. when try write following ejabberdctl register admin localhost mypassword it says ejabberdctl not found. tried restart still same. sudo service ejabberd restart ejabberdctl owned root 550 permissions installed in /usr/sbin meaning non-root users can not execute binary. try: sudo ejabberdctl register admin localhost mypassword sudo elevates privileges root in terminal (after entering password) giving access binary.

16.04 - start not found for job in /etc/init ubuntu - Ask Ubuntu

i have added conf file in dir /etc/init as author "seaweed" description "seaweedfs" start on filesystem or runlevel [2345] stop on runlevel [!2345] limit nofile 1000000 1000000 respawn chdir / setuid root setgid root console log exec /root/work/bin/weed -v=0 volume -mserver=18.01.13.10:9333 -ip=88.9.4.92 -dir=/storage -max=2270 -images.fix.orientation=false -pulseseconds=1 when sudo start seaweedfs error start command not found? i new stuff , dont know problem is.. concerns run job in background , use start stop if needed. any thankful

drivers - direct firmware load for iwlwifi-7265D.ucode failed with error -2 - Ask Ubuntu

i trying fix wifi in intel nuc. have intel(r) dual band wireless ac 7265, rev=0x210 . driver trying load 'iwlwifi-7265d-24.ucode` according dmesg, fails error -2 (see below). system information: $ uname -a linux britt-desktop 4.8.0-27-generic #29-ubuntu smp thu oct 20 21:03:13 utc 2016 x86_64 x86_64 x86_64 gnu/linux $ dmesg | grep 7265d [ 14.578598] iwlwifi 0000:02:00.0: direct firmware load iwlwifi-7265d-24.ucode failed error -2 [ 14.578612] iwlwifi 0000:02:00.0: direct firmware load iwlwifi-7265d-23.ucode failed error -2 $ modinfo iwlwifi | grep iwlwifi filename: /lib/modules/4.8.0-27-generic/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko firmware: iwlwifi-7265d-24.ucode any idea how correct firmware load? thank you edit: i found copy of iwlwifi-7265d-24.ucode , moved /lib/firmware. errors gone, wifi performance still low (~1/10th other older machines on network getting). edit: i have asus rt-ac68w wireless router , using 5ghz band. aft

apache2 - Using multiple SSL on multiple domains using one IP address - Ask Ubuntu

i'm using apache , have 2 domains i've created virtual hosts , installed ssl certificates. 1 domain works , other redirects domain. think because site 1 primary site , need separate ip address each domain when using ssl? i've read quite few articles can use multiple ssl certificates 1 ip doing following in virtual host <virtualhost *:443> i've tried doesn't work me. lot of articles mention sni i'm not 100% sure means. shed light on , point me in right direction? this virtual hosts like site 1 <virtualhost *:80> # admin email, server name (domain name), , aliases serveradmin email@gmail.com servername domain.com serveralias www.domain.com # index file , document root (where public files located) directoryindex index.html index.php documentroot /var/www/html/domain.com/public_html redirect permanent / https://www.domain.com <directory "/var/www/html/domain.com/public_html"> options followsymlin

Unable to Boot Into Current Windows 10 or Ubuntu 15.10 after Cancelling a Ubuntu 16.04 Installation - Ask Ubuntu

a. background i trying install 16.04 using bootable disk on machine dual boots windows 10 , ubuntu 15.10. this machine's factory os windows 8. b. here's did before boot problems while configuring set up, selected option erase , install ubuntu i reached step have selected encrypt disk, left erase checkbox unticked. supplied password , pressed continue. at stage, cancelled set rebooting. haven't reached actual installation process. c. here's happens after now, can't boot either windows 10 or ubuntu 15.10. no bootable disks recognized. from bios setup, can see network boot options , 16.04 bootable disk, if it's inserted usb slot. booting 16.04 bootable disk via try ubuntu or install ubuntu both returns... kernel panic - not syncing: vfs: unable mount root fs on unknown-block(1,0) cpu: 6 pid: 1 comments: swapper/0 not tainted 4.4.0-31-generic #50-ubuntu hardware name: ... call trace: ...dump_stack ...panic ...mount_block_root ...mount

Ubuntu 16.04 detects 16GB SD cards but not 32GB cards on Lenovo Yoga Thinkpad - Ask Ubuntu

i have installed ubuntu 16.04 on yoga thinkpad , need transfer files 32gb sd card. as title mentions, ubuntu not detect card. thought slot might not connected (it used computer bought), can see slot lspci , card work fine on xubuntu , windows. so tried inserting other cards slot (all other cards have 16gb) , work. any ideas? i've tried looking, couldn't find same problem. thanks! there known problem card compatibility on yoga. a lot of users experiencing same issues are. it's not related directly ubuntu, machine itself. there post on lenovo forums users have been contributing experiences different brands , models of sd cards. you can find here . it contains more comprehensive list of known working , non working cards. it might pay check card against list see if affected.

How do I decide what version of Ubuntu to install? - Ask Ubuntu

this question here avoid choosing the wrong ubuntu version number . so, not about: which flavour of ubuntu choose? nor choosing server or desktop version... nor which desktop environment should install? nor which ubuntu best hardware? nor what difference between lts , normal releases? nor what meaning of version numbers? . so in answer below simple guide ubuntu version you, independent of future releases! to choose right version of ubuntu, head official ubuntu current releases site. if want current stable version of ubuntu , don't problems start reading top of list , stop when see first lts (long term support) version , download , install that. if you're bit of ubuntu hobbyist or like upgrading often (at least once/year, more if can) start reading top of list , stop when see first version , download that. if you're pioneer , want advancing human race start reading top of list , stop when see first version says future ( warnin

No sound on HP Chromebook 14 running Ubuntu 16.04 - Ask Ubuntu

Image
i have installed os , there no sound. os thinks headphones 'digital stereo (hdmi)' output the sound settings give following options: i managed fix (for now). did launch alsamixer in terminal , change sound card default intel one, didn't change after 10 minutes of static audio worked. linux, happen. also, don't freaked out if laptop not charge when go charge it. it'll take 5 minutes kick in.

How to update all your ubuntu-make packages? - Ask Ubuntu

currently can't update packages umake. here's link closed github issue how update installed software?#122. mentionned need remove package , reinstall this. umake --remove <type> <package> && umake <type> <package> for example, if know idea shoul reinstalled, type: umake --remove ide idea && umake ide idea so lookong solution update umake packages. assuming have choosed default installation path, packages installed in $home/.local/share/umake/ so can list them , update them this: for path in $(ls -d $home/.local/share/umake/**/*/); package=$(basename ${path}); type=$(basename $(dirname ${path})); echo "reinstalling ${package} of ${type}"; umake --remove $type $package && umake $type $package; done

command line - Unable to rename a file, delete, create a new folder, cut, paste in a volume neither by terminal nor by GUI - Ask Ubuntu

this question has answer here: how make read-only file system writable? 4 answers shubbh@tuxedo:/media/shubbh/new volume$ sudo rm resume.pdf abc.pdf rm: cannot remove 'resume.pdf': read-only file system rm: cannot remove 'abc.pdf': no such file or directory shubbh@tuxedo:/media/shubbh/new volume$ sudo mv resume.pdf songs mv: cannot move 'resume.pdf' 'songs/resume.pdf': read-only file system shubbh@tuxedo:/media/shubbh/new volume$ sudo mkdir mkdir: cannot create directory ‘a’: read-only file system try this: open terminal, press ctrl + alt + t run it: exec sudo -i fdisk -l fdisk report called partitions mounted in system. suppose /media/shubbh/new volume /dev/sdc1 continue running umount /media/shubbh/new\ volume fsck -y /dev/sdc1 mkdir /media/shubbh/new\ volume chmod -rf 777 /media/shubbh/new\ volume mount /dev/

partitioning - Enabling write access to partition - Ask Ubuntu

i have formatted partition in ubuntu 14.04 lts running system large chunk of disk space allocated it. not mount default when computer starts up, , not writable either. it's pretty annoying can't use it. so, how enable write access me, sole user? the output of df -t command returns following details: filesystem type 1k-blocks used available use% mounted on` /dev/sda3 ext4 503834856 71520 478146904 1% /media/deependra/e4da4ac5-3b38-4b89-9402-397eb940e4d3 also, how enable partition auto-mount on starting system? partitions mount @ boot if specified in file /etc/fstab , can set mount options here ensure writable. the ubuntu wiki has a page fstab , can see fstab tag wiki first, make mount point partition in /media , example, sudo mkdir /media/storage then make backup of fstab sudo cp /etc/fstab /etc/fstab-bak then uuid of partition mounted. since know partition want /dev/sda3 can grep it sudo blkid | grep sda3 the ou

no sound card found after upgrade - Ask Ubuntu

just upgraded old dell 5150 16.10. sound card not detected , instead shows 'dummy output'. found few threads regarding problem , followed instructions - namely purge alsa , pulseaudio, install same, followed reload , reboot. still no card detected 'system settings gone. ran upgrade again, followed instructions again, exact same result (proof of insanity?). dead sound card perhaps? as per instructions output of sudo lshw | grep -a11 multimedia -multimedia unclaimed description: audio device product: nm10/ich7 family high definition audio controller vendor: intel corporation physical id: 1b bus info: pci@0000:00:1b.0 version: 01 width: 64 bits clock: 33mhz capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: memory:efffc000-efffffff i expect sound device picked automatically module s

Graphics issues after/while installing Ubuntu 16.04/16.10 with NVIDIA graphics - Ask Ubuntu

i installed or upgraded ubuntu 16.04, i'm having problems graphics card. the display blank the display flickers items on screen not display correctly certain programs complain of graphics issues the computer boots low-graphics mode your specific issue may not here, try solutions described in answers anyway. this question broad, each 1 of these issues has 1 solution. if experiencing login loop, check last part of answer. if experience 1 of listed issues , have own solution (mine didn't work, or there's faster way), feel free post polite answer, describing problem , how fixed it. those attempting install ubuntu, please refer section titled: if unable enter tty or trying install ubuntu . please aware answer may become outdated. best update regularly, can't guarantee anything. driver version used below may not latest. please check launchpad page confirm. each of issues described (and maybe more) can fixed following steps below. if y

16.04 - Errors were encountered while processing in python - Ask Ubuntu

i'm using ubuntu 16.04 desktop , facing below error while apt-get operation : reading package lists... done building dependency tree reading state information... done 0 upgraded, 0 newly installed, 1 reinstalled, 0 remove , 0 not upgraded. 10 not installed or removed. need 0 b/224 kb of archives. after operation, 0 b of additional disk space used. (reading database ... 120416 files , directories installed.) preparing unpack .../python2.7_2.7.12-1~16.04_amd64.deb ... unpacking python2.7 (2.7.12-1~16.04) on (2.7.12-1~16.04) ... processing triggers mime-support (3.59ubuntu1) ... setting python3 (3.5.1-3) ... running python rtupdate hooks python3.5... dpkg-query: package 'hplip-data' not installed use dpkg --info (= dpkg-deb --info) examine archive files, , dpkg --contents (= dpkg-deb --contents) list contents. traceback (most recent call last): file "/usr/bin/py3clean", line 210, in <module> main() file "/usr/bin/py3clean", line 196, in

systemd - How to create ubuntu server 16.04 autologin? - Ask Ubuntu

something has changed in server 16.04 lts, can't find tty1, need make auto-login on tty1 (in console mode), in 14.04 lts can make work. i can't find /etc/init/tty1.conf how to, or link? in ubuntu 16.04, uses systemd , method different. i'll quote relevant bits of related post how override or configure systemd services? : say want have tty2 autologin user (this not advisable, example). tty2 run getty@tty2 service ( tty2 being instance of template /lib/systemd/system/getty@service ). this, have modify getty@tty2 service. […] in particular, have change execstart line, is: $ systemctl cat getty@tty2 | grep exec execstart=-/sbin/agetty --noclear %i $term to override this, do: sudo systemctl edit getty@tty2 and add: [service] execstart= execstart=-/sbin/agetty -a <username> --noclear %i $term […] now: $ systemctl cat getty@tty2 | grep exec execstart=-/sbin/agetty --noclear %i $term execstar

mount - how to create a udev rule for usb flash with two partitions to create persistent node under /dev? - Ask Ubuntu

i have usb flash memory, created 2 partitions on it, when attached takes sda , sda1 , sda4 instead of sdb, sdb1, sdb4. prevent confusion decided create udev rule symlink under /dev persistently. i created below rule action=="add", subsystem=="usb", attrs{idvendor}=="0461", attrs{idproduct}=="4d81", symlink+="myusb" when reboot creates symlink under /dev/myusb can not mount it. sudo mount /dev/myusb /media/myusb mount: /dev/bus/usb/002/003 not block device i think error because contains 2 partitions. shoul do? i think problem cannot mount whole drive several partitions @ once. have mount each partition itself. mounting means getting access filesystem, can different on 2 different partitions. , how put 2 filesystems 1 directory? have have @ least 2 subdirectories /media/myusb/part1 . that said uuids , labels. you create udev rule triggering script mounts 2 partitions uuid, like #!/bin/bash mount /dev/di

power management - Laptop shuts off below 60% - Ask Ubuntu

since last few days have been facing problem. laptop shuts off when reaches 60% on battery. same thing happening in windows 10 ubuntu 16.04lts. have lenovo g580. , dont have special power management / drivers installed in either ubuntu or windows. kind of appreciated. thanks

16.04 - Minimize, Restore, Maximize & Full Screen toggle hotkey - Ask Ubuntu

i'd use alt + ↑ toggle if window minimized minimized → restore → maximize → fullscreen and i'd alt + ↓ toggle other way around. i'm not finding on issue. which option in tool can with? dconf editor? compiz config? unity tweak?

apt - How do installs work? - Ask Ubuntu

i'm trying comprehensive understanding of common terms mean on end of things. "installing" program mean gets out directory, /bin or /opt , , has name added path in .profile file? i under impression installing program meant there tons of files , modifications existing files scattered around os in various places. ever true? if so, how 1 un-install that? keep os clean , organized, if can remove binary /bin , wouldn't know how clean install if leave tons of changes around os. how work? baseline "installing" program broad term. actual definition place or fix (equipment or machinery) in position ready use. so basically, having in right position , setup able function , used properly. definition of term i'll using throughout answer. process apt (advanced packaging tool) the actual "under-the-hood" process of apt-get explained muru in this post . covers what command , accesses. i'm linking answer because don&

drivers - Bluetooth Broadcom 43142 isn't working - Ask Ubuntu

bluetooth on can't find or found other devices. sudo service bluetooth status ● bluetooth.service - bluetooth service loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) active: active (running) since ხუთ 2015-06-04 22:33:18 get; 13min ago main pid: 26678 (bluetoothd) cgroup: /system.slice/bluetooth.service └─26678 /usr/sbin/bluetoothd -n ივნ 04 22:39:14 rangoo bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/hfpag ივნ 04 22:39:14 rangoo bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/hfphs ივნ 04 22:39:14 rangoo bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/a2dpsource ივნ 04 22:39:14 rangoo bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/a2dpsink ივნ 04 22:39:14 rangoo bluetoothd[26678]: bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/hfpag ივნ 04 22:39:14 r

command line - Syntax error: end of file unexpected - Ask Ubuntu

i have shell script use build project on jenkins. when run script on local windows machine runs fine, when run script on ubuntu server gives error error: syntax error: end of file unexpected (expecting "}") build step 'execute shell' marked build failure finished: failure i using jenkins on both windows local machine , ubuntu server contents of shell script : echo 'asklytics-commons-test: cleaning ...' ./gradlew clean || { echo 'gradlew clean --refresh-dependencies failed!!' ; exit 1; } echo 'asklytics-commons-test: building ...' ./gradlew build || { echo 'gradlew building failed!!' ; exit 1; } echo 'asklytics-commons-test: jarring...' ./gradlew jar || { echo 'gradlew jarring failed!!' ; exit 1; } echo 'asklytics-commons-test: publishing ...' ./gradlew publish || { echo 'gradlew publish failed!!' ; exit 1; } the shebang line must first thing in file. since use bash features, fir

bash - woof does not work with files whose names contains spaces or brackets - Ask Ubuntu

i wrote bash script , put in ~/.local/share/nautilus/scripts/ . in nautilus, if right click on file , select script menu, start http server share current file, , qr code display, mobile can scan url download file. server stop when close qr pic window. it works, when filenames contains space or brackets, cannot download file. ▶ cat ~/.local/share/nautilus/scripts/share-http.bash #!/bin/bash port=8080 pkill woof file=`echo -n $nautilus_script_selected_file_paths|sed 's/\ *$//'|sed 's/\ /\\\ /g'` echo $file >> ~/tmp woof -c 4 -p $port \'$file\' & # woof -c 4 -p $port $nautilus_script_selected_file_paths & url=`ifconfig|awk '/inet /&&!/127./{print $2}'|sed 's/.*://'` qrencode -s 5 -o /tmp/url.png "http://$url:$port" eog /tmp/url.png && pkill woof this script needs woof+qrencode run. i find string $nautilus_script_selected_file_paths has suffix space, modify code. in bash, should work: ▶ woo