Posts

Showing posts from February, 2015

virtualization - Fail to Nvidia GPU passthrough in Ubuntu - Ask Ubuntu

i followed this post setup passthrough. referred other articles . installed driver following this article . i tried both following options qemu 2.2: -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \ -device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on \ -device vfio-pci,host=02:00.1,bus=root.1,addr=00.1 \ -m q35 and -device vfio-pci,host=02:00.0,multifunction=on,x-vga=on \ -device vfio-pci,host=02:00.1 \ -vga none when run lspci -vv on guest: 01:00.0 vga compatible controller: nvidia corporation gk104 [geforce gtx 760] (rev a1) (prog-if 00 [vga controller]) subsystem: device 196e:0984 physical slot: 0 control: i/o+ mem+ busmaster- speccycle- memwinv- vgasnoop- parerr- stepping- serr+ fastb2b- disintx- status: cap+ 66mhz- udf- fastb2b- parerr- devsel=fast >tabort- <tabort- <mabort- >serr- <perr- intx- interrupt: pin routed irq 10 region 0: memory @ fc000000 (

sound - Bug free kernel version for Dell 7559? (skylake) - Ask Ubuntu

i installed 16.04 on dell 7559 has following hardware: intel® core™ i7-6700hq cpu @ 2.60ghz × 8 intel® hd graphics 530 (skylake gt2) i started kernel version 4.4.1 , nightmare. if let go sleep go soft lock , have shut down. headphone jack doesn't output sound , bluetooth works in non high fidelity mode. installed 4.8.3 , fixed soft lock issue audio issues remain. wanted see if has found kernel version seems work?

clipboard - Odd behavior of xclip - Ask Ubuntu

the xclip manual says there 3 storage locations named primary (xa_primary), secondary (xa_secondary) , clipboard (xa_clipboard). copied (ctrl+c) text browser , examined contents of 3 locations mentioned above in terminal: xclip -s primary -o xclip -s secondary -o xclip -s clipboard -o all 3 contain same text. if type date | xclip -selection xa_primary only xa_primary should contain date text. in fact other 2 i.e. xa_secondary, , xa_clipboard contain same text (date information). 3 1 , same? , if point? what baffled me more, ctrl+shift+v (still in terminal mode) pastes orgiginal text copied browser! suggests shell's own clipboard in operation well. does have example demonstarates 3 locations can hold different values @ same time , how relate regular clipboard? unfortunately xclip silently ignores invalid command line options: there no -s option both -selection , -silent start -s . have use @ least -se . as xclip ignores -s option commands xclip

partitioning - How to resize partitions? - Ask Ubuntu

previously, have installed windows 7 on 320 gb laptop 3 partitions 173, 84 , 63 gb each. 63 gb partition windows installed. rest file containers. now changed os ubuntu 12.04 lts. installed ubuntu replacing entire windows 7 on 63 gb partition. rest of partitions remain ntfs windows partition , can still access them both (the 173 , 84 gb partitions). now want change 2 partitions of windows ubuntu format partitions plus importantly, want extend 63 gb partition more 100 gb because @ moment running out of memory. whenever try install application, using wine, complains shortage of memory. how do extending activity before entirely format laptop again , lose important files on partitions? (step 0:) valuable. pretty tried , tested formula things can go wrong. power cut @ wrong moment ruin day if haven't backed up. boot livecd or liveusb drive in "try me" mode. load gparted (should installed default, can apt-get if it's not) resize partitions (right clic

updates - E:Line 1 too long in source list /etc/apt/sources.list.d/medibuntu.list - Ask Ubuntu

this question has answer here: how remove broken software source? 3 answers ubuntu keeps telling me there system error , won't send updater updates site. line keeps comming up: e:line 1 long in source list /etc/apt/sources.list.d/medibuntu.list. how fix this? i tried removing medibuntu list doing sudo rm /etc/apt/sources.list.d/medibuntu.list and can updates again.

networking - Ubuntu Desktop 14.04 network problem - Ask Ubuntu

understand have 0 experience flavor of linux. post long winded i'm going give info can please bear me. machine parameters socket 478 3.2ghz p4, 3gb memory, 500gb ide hd, vga, ralink wifi network card. installed ubuntu server v14.04 installed correctly along network connectivity. unfortunately server poor choice newbie learn on it's total command line interface. coming windows environment more little daunting start learning on. so switched on ubuntu desktop v14.04. installs correctly (i think?) when reboots after installation connects wifi network. after 15-20 seconds disconnects network , reconnect after reboot. disconnects if remotely network related firefox etc. at point i'm not sure do. appreciate guys can give me. please remember put you're talking total noob.

Ubuntu 16.04 boot error (HP ProBook) - Ask Ubuntu

i tried dual boot ubuntu 16.04 along side windows 10, windows 10 booting got messed due ubuntu boot error. removed windows , have installed ubuntu. still having errors while booting on ubuntu. have tried ubuntu boot repair. wanted know bios settings should use. using hp probook. boot mode should set legacy, uefi hybrid or uefi native ? any changes done in boot order? intel smart connect technology should enabled or not? fast boot enabled? secure boot enabled? while installing message in uefi , not able launch os again in bios mode? if continued in uefi mode can't launch windows 10? have choosed option "continue in uefi mode"

I'm on ubuntu 16.04 and, I installed xampp - Ask Ubuntu

when i'm trying create file i'm getting message warning: fopen("file.txt","w"): failed open stream: permission denied in /opt/lampp/htdocs/first/global.php on line 4 error how can fix this? just install lamp-stack sudo apt-get install lamp-server^ . plus, describe 'question' better.

No sound on the desktop but if present in the lock screen. Dell - Intel - Ask Ubuntu

Image
when start computer have sound on login screen, typical sound of logon sounds, on desktop not work @ all. i tried solution presented @oadams @ ask ubuntu 130809 , restarting computer recognized drivers did not sound or desktop, or lock screen. screenshots: i erased line added , left bel team originally, sound in lock screen. screenshot: my computer dell inspiron 14 3459, , i'm ubuntu 16.10. thank much.

printing - can not print, CUPS Service Stopped - Ask Ubuntu

i have tried add printer (ubuntu 12.04) , when clicking printer icon, dialog box yet "add printer" grayed out can not click it.did research went terminal typed in "sudo system-config-printer" got me new dialog box, tried "trubleshoot' , came "cups service stopped the cups print spooler not appear running,. correct this, choose system->administration->services main menu , “cups” service." tried, looked find above yet got nowhere.never thought printing difficult. have idea why can't add 1 printer, or attempt?

software installation - 14.04 VMWare Player & Workstation “unable to start services” error - Ask Ubuntu

Image
my system: 4.2.0-42-generic #49~14.04.1-ubuntu x86_64 wmware 11.0.0-2305329.x86_64.bundle snapshot 1: snapshot 2:

lvm - Interpretting systemctl status output - Ask Ubuntu

i'm trying solve lvmetad startup warning lvmetad startup warning , , in process typed following command: sudo systemctl status lvm2-lvmetad.service the output is: ● lvm2-lvmetad.service - lvm2 metadata daemon loaded: loaded (/lib/systemd/system/lvm2-lvmetad.service; disabled; vendor preset: enabled) active: active (running) since lun. 2016-10-24 09:02:16 cest; 1h 20min ago docs: man:lvmetad(8) main pid: 615 (lvmetad) tasks: 1 (limit: 4915) memory: 2.6m cpu: 4ms cgroup: /system.slice/lvm2-lvmetad.service └─615 /sbin/lvmetad -f i'm perplexed loaded line: mean loaded disabled (and still active on next line) ? loaded notes whether service file loaded memory. other possible values besides loaded masked or error in case of invalid syntax. disabled , enabled relate whether service set start on boot or not. man systemctl : enabling hooks unit various suggested places (for example, unit automatically started

dual boot - Ubuntu doesnt show unallocated partition but rather the whole NTFS partition - Ask Ubuntu

first of disk doesnt show primary in windows disk managment when try split partition rather simple volume. when split partition, can allocate ntfs easy sounds. when try allocate using ubuntu installation, can see whole partitiom split 2 ntfs , not new partition created free space. the laptop had windows 8 installed in it, , upgraded win10. believe disk gpt , not mbr. how solve problem? without having format/lose data.

wireless - Updated to kernel 4.8.4-wifi no longer connects - Ask Ubuntu

i'm very new linux. downloaded , installed new kernel, 4.8.4, , wifi shows "enable networking" doesn't connect anything. i'm not sure installing unsupported kernel not idea (except need specific fix implemented there). now, wifi working again, should remove new kernel. open terminal , type: sudo apt-get autoremove linux-image-4.8.4... #(press <kbd>tab</kbd> autocomplete) sudo apt-get autoremove linux-headers-4.8.4... #(press <kbd>tab</kbd> again) and last very important sudo update-grub now reboot, old kernel (if haven't removed meanwhile, in case, need download , install old kernel manually.) edit how install older kernel: download these files: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.14-xenial/linux-headers-4.4.14-040414_4.4.14-040414.201606241434_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.14-xenial/linux-headers-4.4.14-040414-generic_4.4.14-040414.201606241434_amd64.deb http

How do you actually install ndiswrappers without internet connection? - Ask Ubuntu

how install ndiswrappers without internet connection because link in following link doesn't work: https://help.ubuntu.com/community/wifidocs/driver/ndiswrapper and need able install driver linksys ae3000 wireless network adapter practice lab wireless networking class in class room during instructors office hours. tried on own, hit dead end when realized link explains how doesn't work when in class room practicing.

sound - How to show WAV files on Ubuntu - Ask Ubuntu

i have wav files on phone , not shown on folder when open in nautilus on ubuntu? should do? your phone not usb-storage device provides access filesystem , using mtp provides selective access filesystem on phone. because old usb-storage method lead corrupt files because didn't handle concurrency issues. it seem either wav type of file filtered out mtp or files in question might big. fair assumption phone because typically use compressed audio whereas wav files large uncompressed pcm data more common in music production. i found ftp server app android phone , use on wifi via nautilus, click 'connect server' dialog, less battery efficient don't file transfer anyway.

The Software center won't start anymore how to fix it? - Ask Ubuntu

Image
my software center in ubuntu 14:04 wont start anymore. error received below in screen shot. i'm new in ubuntu. so, can give me step step instructions solve issues more appreciated. thank in advance.. :) i had same problem 14.04. each time computer started dialog appear stating - system program problem detected -do want report now? when tried report after awhile state didn't have enough ram it, , had try solve problem myself. realized ubuntu hadn't been updating system lately quite unusual clicked on software updater , wouldn't connect either. next approach open synaptic , might me. noticed square in front of update manager gray exclamation mark meant needed upgraded. right clicked on , selected upgrade marked other file selected applied it, , after finished quit synaptic. time system updater worked, , after downloading , installing 210 mega-bytes , restarting, ubuntu software center working again. that' can tell you. i'm not expert.

ftp - Can't upload wordpress theme, plugins or images with Filezilla - Ask Ubuntu

i'm using ubuntu 16. if download plugin in wordpress panel works fine, when upload plugin, image or theme ftp (filezilla) nothing happens. it create directory files, wordpress doesn't it. have multiple websites same problem (on same server). this not ubuntu question. as, if have can upload ftp server not permissions issue. place should go in stack overflow or wordpress 1 (if exists). but need activate theme follows: log in wordpress administration panels. select appearance panel, themes. from themes panel, roll on theme thumbnail image theme interested in see options theme. clicking live preview test. to activate theme click activate button. more on themes can found here

uefi - Installing Ubuntu 16.10 64BIT on External HD in Legancy Mode ("Reserved BIOS boot area" issue) - Ask Ubuntu

i beginner , want try ubuntu first time. i have lenovo y700 laptop uefi (access uefi "novo" button) i want install ubuntu on external hd (wd passport 1tb), without influencing system boot , uefi , internal drive (with win10 on it). now, know many users had problem after installing ubuntu on external hd on pc pre-installed windows in efi mode. as understand, prevent changes in uefi, 1 of solutions install ubuntu in legancy mode . don't mind change between legancy mode , uefi anytime need use either win10 or ubuntu. so, used rufus image ubuntu-16.10-desktop-amd64.iso make bootable ubuntu installation usb stick first. set mbr partition scheme bios or uefi in fat32 file system. then boot ubuntu in legancy mode , connected network , start installation progress. i've chosen boot loader installed in dev/sdd (my dedicated external drive). i created 2 partitions on sdd drive: swap partition , main ext4 partition . there big ntfs partition don&

14.04 - How to prevent opening of a terminal window when a "Show In Folder" action is selected for the downloaded file? - Ask Ubuntu

for reason, when download , try open via "show in folder" option, opening terminal window. possible prevent , instead show in folder/new window tab? i tried after reading answer , don't have nautilus installed. nautilus -q && nautilus & thanks lot. you reinstall nautilus below; sudo apt-get install nautilus nautilus default file manager. maybe removed accidentally.

[16.04]Error after login - Ask Ubuntu

i using ubuntu 16.04 , windows 10. first problem ubuntu showed empty screen after boot. turning gfxmode in grub text solved problem. after installed nvidia drivers. after login screen error box shown , again login screen. had same problem or how solve it?

Katoolin: command not found - Ask Ubuntu

i have followed instruction install katoolin , happens: # sudo katoolin sudo: katoolin: command not found i have searched hard on net no joy. doing wrong? have macbook pro 2011 i7 processor. judging comments question, placed katoolin executable not directly /usr/bin , in subdirectory of it. when enter command, system searches in number of directories matching executable file. if example type foo , system looks /bin/foo , /sbin/foo , /usr/bin/foo , on. first such file found gets executed. directories searched defined in environment variable path . but system not search in sub directories of directories listed in path . therefore, if put katoolin executable to, say, /usr/bin/katoolin/katoolin instead of /usr/bin/katoolin , won't found. additionally, executable must have correct permissions ( sudo chmod +x /usr/bin/katoolin ) , correct name. if type katoolin , example /usr/bin/katoolin.py won't found either.

server - Can't install OwnCloud - Ask Ubuntu

i use ubuntu server 16.04 , want install owncloud. i found tutorial configuration. far went pretty can't install owncloud. commands on screenshot worked same way in terminal. when run "apt install owncloud" afterwards shows errors on screenshot --> i tried apt , apt-get what miss? you should not have created release.key file inside of /etc/apt/sources.list.d directory, home directory, shown in screenshot. please remove file rid of errors regarding file extension. furthermore, should run apt-get update after adding owncloud repository. screenshot shows repository , it's key added apt, doesn't yet index packages holds.

mount - 16.10 Drives not visible in Files - Ask Ubuntu

after recent upgrade 16.10 several of drives not visible in files. can click on other locations access drives, prefer have them show mounted drives. below output of blkid terminal: /dev/loop0: type="squashfs" /dev/loop1: type="squashfs" /dev/sda1: uuid="7b79aafa-e198-421b-8d30-320e10ac1f80" type="ext2" partuuid="75285aea-01" /dev/sda5: uuid="4c462g-h2mu-u1tl-vgjy-h5ue-hndn-11s1ce" type="lvm2_member" partuuid="75285aea-05" /dev/sdb1: label="backups" uuid="16107f884abe06b5" type="ntfs" partuuid="7e1be820-01" /dev/sdb2: label="other stuff" uuid="333134700ad8ff48" type="ntfs" partuuid="7e1be820-02" /dev/sdb3: uuid="7694ea8094ea426b" type="ntfs" partuuid="7e1be820-03" /dev/sdb4: label="hp_recovery" uuid="8e505347505334e5" type="ntfs" partuuid="7e1be820-04"

16.04 - Where does a .deb file go after installation? - Ask Ubuntu

i installed dolphin 4.0 .deb file, application or how access it? deb files contain packaged application, along identifiers tell os it's deb, , few instructions installation. if open deb , browse it, you'll find files under paths they'll end once deb installed. to open deb file installed, assuming 1 can opened, can either run command in terminal (dolphin's dolphin ) or search it. first, though, should reboot. app isn't indexed until reboot, won't see icon it.

16.04 - Running x86_64 linux and getting ERROR: 32-bit Linux Android emulator - Ask Ubuntu

Image
this separate error error: 32-bit linux android emulator binaries deprecated getting same error message. i'm running: ubuntu 16.04.1 lts kernel linux 4.4.0-45-generic(x86_64) desktop environment lxde 64-bit java server vm i've seen previous results dealing same error , suggesting update 64 bit linux am. running avd 32bit forced results in following error. starting emulator avd 'nexus_5_api_22' sh: 1: glxinfo: not found [140514843576128]:error:./android/qt/qt_setup.cpp:28:qt library not found @ /opt/android/sdk/tools/lib/qt/lib not launch '/opt/android/sdk/tools/qemu/linux-x86/qemu-system-x86_64': no such file or directory the reason missing because there no linux-x86 folder linux-x86_64/qemu-system-x86_64 is there way can running, preferably in supported 64-bit mode? i hope solve problem. had freshly installed latest android studio , perform basic steps run 'hello world' project in emulator but had same problem

software installation - Error installing TeamViewer on Ubuntu 16.04 64-bit - Ask Ubuntu

i trying install teamviewer v11.0.67687 (deb 32-bit / 64-bit multiarch) got i386 dependency error message. then installed packages manually sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install -f but there package didn't download called libpng12-0 , when try install with sudo dpkg -i downloads/teamviewer_11.0.67687_i386.deb it says selecting unselected package teamviewer:i386. (reading database ... 219696 files , directories installed.) preparing unpack .../teamviewer_11.0.67687_i386.deb ... unpacking teamviewer:i386 (11.0.67687) ... dpkg: dependency problems prevent configuration of teamviewer:i386: teamviewer:i386 depends on libpng12-0. dpkg: error processing package teamviewer:i386 (--install): dependency problems - leaving unconfigured errors encountered while processing: teamviewer:i386 so tried downloading teamviewer wget not working. wget http://download.teamviewer.com/download/teamviewer_i386.deb also tried using apt-get in

LightDM does not display on startup? - Ask Ubuntu

i've had issue since switch systemd. it persists on 16.10. when start system, lightdm not show (it running, blinking underscore shows instead). have restart virtual terminal. how can fix this? (reinstalling lightdm doesn't work, , reinstalling os not option). the contents of /var/log/lightdm/lightdm.log.old : [+615957.88s] debug: seat seat0 changes active session [+615967.48s] debug: seat seat0 changes active session c152 [+615976.68s] debug: seat seat0 changes active session c151 [+615976.68s] debug: session c151 active [+615993.68s] debug: seat seat0 changes active session c152 [+615998.08s] debug: seat seat0 changes active session c151 [+615998.08s] debug: session c151 active [+616027.63s] debug: seat seat0 changes active session c152 [+616036.37s] debug: seat seat0 changes active session c151 [+616036.37s] debug: session c151 active

How to disable release upgrade notification emails? - Ask Ubuntu

i have ubuntu 14.04 server installation consistently sends weekly email, root user, following content: /etc/cron.weekly/update-notifier-common: new release '16.04.1 lts' available. run 'do-release-upgrade' upgrade it. how stop these emails, without upgrading 16.04? there method doesn't involve disabling script mentioned in first line of email? ideally i'd allow /etc/cron.weekly/update-notifier-common continue run, calling /usr/lib/ubuntu-release-upgrader/release-upgrade-motd , /usr/lib/ubuntu-release-upgrader/check-new-release scripts, stop new release messages. useful these scripts still warn if current release becomes eol. by default cron sends mail email address mentioned in mailto environment variable on crontab , presumably have set email address, stdout/stderr cron job sent email address. the output /usr/lib/ubuntu-release-upgrader/release-upgrade-motd script (run weekly job /etc/cron.weekly/update-notifier-common ) checks new v

networking - Why do I have both eth0 and "Wired connection 1" in my 'Network Connections' list? - Ask Ubuntu

why have both eth0 , "wired connection 1" in 'network connections' list? don't both refer same device eth0? this list accessible clicking 'edit connections...' menu clicking on network icon in upper panel area. ifconfig shows have eth0, wlan0 , lo one connection profiles of networkmanager, other actual interfaces/devices. you can configure multitude of profiles, adding, modifying, deleting them. tell networkmanager "activate" connection on device. means, configure actual networking interface. check nmcli connection vs. nmcli device

How do I reset a lost administrative password? - Ask Ubuntu

Image
i'm working on ubuntu system, , client has forgotten administrative password. doesn't remember entering one; there. i've tried suggestions on website, , have been unsuccessful in deleting password can download applets required running files. there solution? by default first user's account administrative account, if ui prompting password it's person's user password. if user doesn't remember password need reset it. need boot recovery mode. boot machine, , after bios screen, hold down left shift key. prompted menu looks this: i've noticed on systems timing when hit left shift key can tricky, miss , need try again. hit down arrow until select 2nd entry top (the 1 recovery mode in description ) , hit enter . now should see menu: using arrow keys scroll down root , hit enter . you should see root prompt, this: root@ubuntu:~# at stage should have read-only filesystem. have remount write permissions: mount -o rw,remount

lamp - Phpmyadmin error HTTP 500 after fresh install - Ask Ubuntu

Image
in ubuntu 16.10 freshly installed lamp server , installed phpmyadmin when open localhost/phpmyadmin i'm getting http 500 error php version 5.6 mysql version 14.14 dist rib 5.7.16 apache 2 version 2.4.18 , have tried solutions got online none worked even if install of other packages except 1 , try install phpmyadmin, returns 500 server error. thank you let's try installing phpmyadmin dependencies. presume you're using php 7. sudo apt-get install php-mbstring php7.0-mbstring php-gettext then restart apache sudo apache2 restart

package management - How to run the traceroute command in linux? - Ask Ubuntu

Image
my gcse coursework in linux asking me this: whenever attempt it says this: so need install packages , work? the default command purpose in ubuntu tracepath . however can install traceroute running sudo apt install traceroute as can see in error message.

14.04 - GCC Fatal error output: no such file - Ask Ubuntu

i been trying compile c file gcc filename.c -o outputfilename but gcc gives gcc: error: no such file or directory gcc: fatal error: no input files compilation terminated. i changed file permission 777 made sure current working directory same place file. , made sure c source code(text/x-csrc) file type. i run test you: $ gcc main.c -o test2 $ ./test2 number`s = 13 string = 13 what files in folder: $ ls -l -rw-r--r-- 1 dan dan 401 Окт 15 00:54 main.c -rw-r--r-- 1 dan dan 204 Окт 12 00:01 main.h -rw-r--r-- 1 dan dan 1984 Окт 15 00:54 main.o -rwxr-xr-x 1 dan dan 8720 Ноя 3 00:09 test2 gcc *.c files in working directory, check this: $ pwd /home/dan/git/c/test1 and lets run compile in wrong directory: $ cd .. $ pwd /home/dan/git/c $ gcc main.c -o test2 gcc: error: main.c: no such file or directory gcc: fatal error: no input files compilation terminated. so make sure work dir correct, use cd command change current dir, more in "man cd&q

wine - Running Skype on PlayOnLinux - Ask Ubuntu

ok, many may wondering why want , not use of alternatives or web based chat. 1 of reasons few want change. other because of ms's notorious database want make sure have own local chat history. , why on linux? because don't trust windows run 24/7 (i'm anyways turning 32-bit ubuntu 14.04 server, so). so what's wrong skype 4.3 linux? well, whenever launch skype , when trying sync chat logs crashes. i tried follow following tutorial: https://askubuntu.com/a/722140/195219 the problem cannot access link particular version of skype needed. wanted ask comment have far few reputation points that. thought i'd break rule , ask answer deleted , recommended ask new question. so after question becomes, have copy of particular version of skype can running on playonlinux? or ask galgalesh fix link? do not try run skype on playonlinux , install skype linux alpha . think it's more comfortable , easier.

nvidia - How to identify and correct corruption of Ubuntu installation? - Ask Ubuntu

Image
i set new computer ubuntu 16.04.1 lts (gnu/linux 4.4.0-45-generic x86_64) it working fine while started giving me address boundary errors , unity desktop theme screwed up, missing icons, etc.: the explanation have had enabled nvidia , intel proprietary drivers: and seems have not happened since turned them off. desktop still screwed , don't trust else may have been corrupted. i ran destructive badblocks on hdds before installing them , fsck seems fine on of them. ran memtest while , didn't find errors: i can run sudo debsums -sa , finds files have intentionally changed. how confirm cause , how repair corrupted files?

How to install smarty3 into specified directory such as `/usr/share/php5` with `apt-get install`? - Ask Ubuntu

apt-get install smarty3 dpkg -l smarty3 /usr/share/php/smarty3 the smarty3 installed on /usr/share/doc/smarty3 , /usr/share/php/smarty3 . how install smarty3 specified directory such /usr/share/php5 apt-get install ?

unity - Ubuntu 16.04 immediately terminates all running programs on restart or shutdown? - Ask Ubuntu

when choose restart or shutdown in ubuntu 16.04, terminates running applications. i'm not prompted save open documents or - , i've lost work several times due (in particular, because various installs may prompt restart). this didn't happen in earlier versions - on shutdown applications wanted prompt me save open documents, etc. is change by-design behavior (and can change it), or bug? see discussion on earlier question .

uninstall - apt purge/remove is not freeing up all of the space that it should - Ask Ubuntu

i installed cinnamon desktop apt , said 85mb. when use sudo apt remove cinnamon or sudo apt purge cinnamon , amount of disk space says freeing 1164kb, 1mb. why there such discrepancy? there wasted space on computer. this because desktop environments cinnamon tend compilation of lot of different programs, file managers, terminal emulators, web browsers, etc. after use sudo apt-get remove cinnamon need use sudo apt-get autoremove to remove packages no longer needed.

unity - Enable global menu on Eclipse running on minimal Ubuntu Core - Ask Ubuntu

global menus work fine out of box in minimal ubuntu installation gtk2 apps, , gtk3 apps run fine if libdbusmenu-gtk3-4 installed. but eclipse, i've installed jayatana , libdbusmenu-gtk3-4 , libdbusmenu-gtk4 , gnome-menus , nothing seems work. missing here? can't find more dbus or global menu packages installed on standard desktop try. ps record, eclipse runs fine global menu on normal ubuntu desktop installation. install required libraries sudo apt install unity-gtk3-module set gtk module variable use unity module, add line below: $ nano ~/.profile export gtk_modules=$gtk_modules:unity-gtk-module

14.04 - How to update to the latest numpy and scipy on Ubuntu 14.04LTS - Ask Ubuntu

on ubuntu 14.04lts, python3, have >>> import numpy >>> import scipy >>> numpy.__version__ '1.8.2' >>> scipy.__version__ '0.13.3' i want update numpy , scipy recent version 1.9.2 , 0.16.0 , tried following commands sudo pip3 install --upgrade numpy sudo pip3 install --upgrade scipy both commands ran successfully, version numbers didn't change 1.9.2 , 0.16.0 @ both python packages (after restarting computer). knows how update version? thank much!! i found @david foerster's comment quite helpful. had python3-numpy , python3-scipy installed, overriding later install, issued: sudo apt-get remove python3-numpy and proper versions there, revealed by pip3 show numpy

Cannot assign more than 3584 mb of ram for guest OS in VirtualBox - Ask Ubuntu

Image
i using ubuntu 64 bit host operating system , have installed virtualbox version 5.1.8 r111374 (qt5.5.1). cannot create more 3584 mb ram guest operating system irrespective of operating system , versions. have 16 gb ram in host operating system. how can assign more 3584 mb of ram guest os this link solved problem. had installed virtualbox .deb file directly, instead had install "debian-based linux distributions" section scrolling down virtualbox downloads page , , follow instructions.

networking - How does Libreoffice store remembered passwords for network shares? - Ask Ubuntu

Image
i'm opening files remote network share in libreoffice. have enter password in following dialog: there's option "remember password". if used option, password stored? stored unencrypted or use gnome keyring?

Howto autostart a java -jar file after MySQL (mariadb) has started in Xubuntu 16.04? - Ask Ubuntu

i used run script in startup , session in xubuntu 14.04 autostart java app: xfce4-terminal -e "bash -c \"cd /home/restaurant/documents/dist/ && java -jar posv2.jar; exec bash\"" but running same script in 16.04 causes mysql exceptions; assume these exceptions thrown because mysql wasn't loaded yet when script ran. therefore question how can make sure script called once mysql has been loaded successfully? create script start every boot checking every 2 seconds if mysql process running, if execute command. lets create script called filename.sh content: #!/bin/bash app="gedit" while true; pid=`pidof $app` if [ ! -z $pid ]; # found process running on system. java -jar "/home/restaurant/documents/dist/posv2.jar" exit 0 fi sleep 2 done make executable: chmod +x filename.sh just change app="gedit" process name instead of gedit . make running @ st

Double entry for "files" window title on Nautilus - Ask Ubuntu

Image
i experiencing strange issue since upgraded ubuntu 16.04 16.10 yakkety yak. i see duplicated "files" title on nautilus windows. can tell me why happens , can find configuration file fix ?

mount - Pretend or reverse encryption - Ask Ubuntu

i have network share contains files , folders , want mount in way reads through mount point sees encrypted data (data encrypted on fly). when writes mount point data decrypted on fly. scenario i'm interested in giving on-line sync application dropbox access mount point cannot see real data. want use dropbox backup mechanism. reason don't want maintain duplicate data (normal vs encrypted) in way tools cryptsync require ( http://stefanstools.sourceforge.net/cryptsync.html ) feels wasting space when should not necessary. there ready solution problem or maybe point me tools start reading (i'm new linux , filesystem crypting tools).

MAAS deployment of node via MAAS API fails, boot error - Ask Ubuntu

i installed maas on system consists of master cluster , 4 nodes. installing used autopilot use ubuntu 14.04 lts trusty , maas version 1.9.4+bzr4592-0ubuntu1 (trusty1) i commissioned nodes nodes refuse deploy (for testing tried deploy via maas api) two nodes have following problem. seems ubuntu gets installed after reboot system fails boot form local disc following error. on screen of deploying node: tftp prefix: trying load; pxelinux.cfg/01-48-0f-cf-44-75-8e booting local disk ... cannot read master boot record or sector 0 boot: and here gets stuck until timeout. from machine events of deploying node maas api: node changed status - 'deploying' 'failed deployment' tftp request - chain.c32 tftp request - pxelinux.cfg/01-48-0f-cf-44-75-8e pxe request - local boot i hope sb can me, thomas the error in bios configuration, disabled hard drive booting. solution: activate hard drive booting in bios options.

samsung - How to move all music from a certain playlist in Rhythmbox to my phone? - Ask Ubuntu

i have playlist of 100 songs in rhythmbox , have samsung's music folder open, how transition songs phone without having copy each 1 album and/or artist's folder? i don't want have pore through albums try , find individual files when i've compiled them single play list in rhythm box. you can select musics shortcut ctrl+a , drag them in phone, @ right location.

unity - Ubuntu desktop isn`t focussing after minimising a window on Ubuntu 16.04 - Ask Ubuntu

Image
when open window (for example nautilus), can see in panel name of focused program (nautilus), when minimize window, can still see in unity panel word nautilus, , menu , shadow below panel disappears. the situation worse if choose show menu in title of window, not in panel of system. in case behaviour same, there no information of focused windows @ all. what need focus desktop click in place of desktop. annoying bug. please, me it! (this repeats window, nautilus here example) when nautilus open (everything ok). immediately after minimizing nautilus window (a bug: desktop isn't focused, shadow disappears). the problem telegram atareo ppa. when try launch telegram in tray via /opt/telegram/telegram -startintray strange behavior appears. if quit telegram (or start usual) everithing normal. don`t why telegram produces bug though. it's aceptable workaround me, all!

home directory - VPN Server - SSH Configuration Changed - Ask Ubuntu

i have private vpn server have been using months hosts web interfaces can accessed on vpn. i don't connect server ssh much, since connect vpn , that's that. however, have logged on via ssh first time in while , things different. home directory missing folders had left there before (there isn't .ssh directory anymore, , had folder containing information openvpn certificate authority) , ssh seems configured take passwords had set before allow logins rsa , not accept password logins. however, can still connect vpn without issue. my vps host has done maintenance , rebooted machine few times since last logged in, wouldn't expect have caused this. there reason why might have happened? missing .ssh directory , change in ssh configuration related?

wireless - How can I turn off wifi on thinkpad T460s? - Ask Ubuntu

Image
i have t460s has no physical switch turning off wifi, eg save battery or when on airplanes. f8 key seems have relevant icon, seems have no effect. other f keys work, such changing brightness or volume. don't have windows installed on machine, ubuntu mate 16.04. how can turn off wifi? in terminal run nmcli radio wifi off when want turn on: nmcli radio wifi on as mentioned in comment livewirebt (thanks!) can use commands in custom keyboard shortcuts: go menu set custom keyboard shortcuts and add new 1 each nmcli command. click says "disabled" , press key combination want use (for example, super + alt + w )

wireless - Intel Dual BandWireless-AC 3168 does not work on Ubuntu 16.04 - Ask Ubuntu

Image
i unable connect wifi - option of wireless connectivity not shown; there option of ethernet. using ubuntu version 16.04. $ lspci -knn | grep net -a2 05:00.0 network controller [0280]: intel corporation device [8086:24fb] (rev 10) devicename: intel dual bandwireless-ac 3168 802.11 ac 1x1 wifi + bt 4.0 combo adapter subsystem: intel corporation device [8086:2110] $ ifconfig wlan0 wlan0: error fetching interface information: device not found $ modprobe iwl3945 modprobe: error: not insert 'iwl3945': operation not permitted $ ifconfig wlan0 wlan0: error while getting interface flags: no such device this adapter supported since kernel 4.6. the kernel version in ubuntu 16.04 4.4. you can install kernel 4.8 ubuntu 16.04 way: sudo add-apt-repository ppa:canonical-kernel-team/ppa sudo apt update sudo apt install linux-generic-lts-yakkety sudo add-apt-repository -r ppa:canonical-kernel-team/ppa reboot after it. after linux-generic-lts-yakkety package

bash - Which file descriptors (/dev/fd/##) are used in process substitution? - Ask Ubuntu

i have program takes 2 inputs: my_program --input1 {videofile1} --input2 {videofile2} i want redirect inputs through process substitution (because inputs large video files, want transcode on-the-fly). through experiment, i'm using following, functionally fine: my_program --input1 /dev/fd/63 --input2 /dev/fd/62 <( {video transcoding command 1} ) <( {video transcoding command 2} ) my question : why file descriptor numbers 63 , 62? guaranteed take values, or system-dependent? apologies if well-documented, can't find in searches far. thanks time! videoprocessing wellknown seeking file. means cannot use stream input. , if using output program, stream - no matter whether use pipes or fds. but maybe in luck your program can use pipes. in case should fine: my_program --input1 <( {video transcoding command 1} ) --input2 <( {video transcoding command 2} ) the <() may if giving on stdin < does. not. instead substituted link pipe: $ ech

Launched applications intrude into list of "locked" apps in Unity Launcher -- how to get to bottom? - Ask Ubuntu

Image
i've been using "vanilla" ubuntu lts setup since 14.04, , upgraded 16.04 lts while back. painless, , seemed working normally. i've noticed oddity: i use "super-[hold]" numbers locked apps keyboard shortcuts. when other applications launched, have (up until recently) appeared @ bottom of launch sidebar, shortcut numbers remain constant. recently (when? not sure!) behaviour has changed. now, every time start non-locked application, comes in @ position #4, , "unlocked" stack continues there, other non-locked apps showing under "new" #4. of course, throws stable super + [0-9] shortcut out of kilter. to illustrate: i have checked unity tweak tool setting this, found nothing relevant. have looked @ dconf-editor under com > canonical > unity > launcher , i'm none wiser. question : how unlocked, launched apps added @ bottom of unity launch sidebar (which used "normal"!)? possibly related, no help: i

boot - 16.04 'Alongside' Windows 7 install option - Ask Ubuntu

Image
in previous installs, saw line item option install 16.04 alongside windows: a failed attempt boot , install ubuntu (screen freeze) followed ubuntu usb attempt: 'alongside' install option not present: exploration of 'something else' menus result in wiping existing windows install (would avoid , have dual-boot system). question is possible , steps restore 'install alongside windows' option? is problem unique windows 7? or 16.04? procedures, reference, suggestions , lessons-learned appreciated. try defrag windows first , install ubuntu

server - Can I make a user's home directory be /var/www/html for vsftp? - Ask Ubuntu

i have ubuntu 16.04 web server. hosts 1 site using nginx. want keep things simple, , store index.html file , whole website in /var/www/html . i need able ftp files /var/www/html . have installed vsftp. i've created user useradd command, i'll call exampleuser . used command: sudo usermod -d /var/www/html exampleuser ... thinking make home directory of exampleuser default directory when log in ftp. however, when attempt log in ftp, "login error". i've checked , double checked username , password , i'm they're correct, i'm guessing it's permissions issue (also because experience of time in linux when things don't work hoped it's because of permissions). though it's possible vsftpd configurations issue. i think i've set html directory in /var/www have right access: /var/www$ ls -la total 12 drwxr-xr-x 3 root root 4096 nov 10 06:54 . drwxr-xr-x 14 root root 4096 nov 10 06:54 .. drw

python3 - Geany is not compiling python script, but it runs on terminal - Ask Ubuntu

Image
i installed anaconda, , run scripts on terminal with: python3 scritp.py when execute on geany get: importerror: no module named 'numpy' how run python script on geany on terminal? you should write full python3 path execute on geany, explained below: first, on terminal: which python3 and you'll like: /home/myuser/anaconda3/bin/python3 copy it, open python script on geany, build>set build commands>execute commands>execute> , substitute python /home/myuser/anaconda3/bin/python3 (of course if using other python version, procedure same)

flash - How to disable "extra packages can be installed" popup in Kubuntu 15.04? - Ask Ubuntu

kubuntu 15.04 shows notification (and taskbar icon) on each boot, after log in, offering me install packages, flash, , don't want install it. i've pressed "cancel" many times, in next boot notification pop-up again. what can make notification stop? i found answer on kubuntu forum . in kde can turn off "restricted codec availability" under ' system settings ' -> notifications -> ' other notifications '. it works me (kubuntu 15.04 kubuntu-ppa backports).

16.04 - Top menu bar text very large - Ask Ubuntu

i have ubuntu 16.04. wanted change theme via unity tweak tool, got large. i'm not sure did happen. able reset display settings after doing research on google, top menu bar text still huge. also, whenever hover on program in launcher, program name large well. i'm not sure do. appreciated.

12.04 - dpkg: error processing matlab-support (--configure) - Ask Ubuntu

i upgraded ubuntu 10.04 12.04 in laptop. during process got error message regarding installation of following packages: dynare-common , dynare , matlab-support , dynare-matlab now when run sudo apt-get update sudo apt-get upgrade i following errors setting matlab-support (0.0.17) ... no default matlab path found. exiting. dpkg: error processing matlab-support (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of dynare-matlab: dynare-matlab depends on matlab-support; however: package matlab-support not configured yet. dpkg: error processing dynare-matlab (--configure): dependency problems - leaving unconfigured no apport report written because error message indicates followup error previous failure. errors encountered while processing: matlab-support dynare-matlab e: sub-pr

flash - How do I get newest version of adobe flashplayer? - Ask Ubuntu

this question has answer here: get latest flash player on ubuntu 3 answers how install adobe flash player? 20 answers how newest version of adobe flashplayer? i don't have application open apt links other way go ubuntu software center , install flash player plugin.

ethernet - Networking - Shared to other Computers - How to find a client's IP address? - Ask Ubuntu

Image
the hardware this: laptop internet access via wifi. router practically inaccessible. headless banana/raspberry/your-favorite-flavor pi needs sd image , additional packages. so temporary crossover cable between pi , laptop, setup laptop's ethernet port "shared other computers" (*), image sd card, , boot pi. now, address pi have can ssh it? i don't have force particular address, like question wants . want know is. (*) network notification -> edit connections... -> wired connection 1 -> edit button -> ipv4 settings tab -> method = shared other computers there's couple things can do. assuming you've got single ethernet connection going laptop raspberry, arp-scan suffice. first , figure out what's name of ethernet interface. in case that's eth3 . thus, here's example: bash-4.3$ sudo arp-scan -i eth3 --localnet [sudo] password xieerqi: interface: eth3, datalink type: en10mb (ethernet) starting arp-scan

kubuntu - Why can't I create groovy project in Eclipse and Netbeans? - Ask Ubuntu

system : ubuntu 16.04 eclipse : neon.1a release (4.6.1) netbeans : netbeans ide 8.2 (build 201609300101) $ java -version openjdk version "1.8.0_111" openjdk runtime environment (build 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14) openjdk 64-bit server vm (build 25.111-b14, mixed mode) $ javac -version javac 1.7.0_80 $ grails -version grails version: 2.3.11 netbeans issue - trying create grails project netbeans leads following error in new project wizard not requested modules can enabled: [standard module org.netbeans.modules.groovy.kit jarfile: home/user_me/software/netbeans-8.2/groovy/modules/org-netbeans-modules-groovy-kit.jar] my netbeans.conf file has following set java_home netbeans_jdkhome="/usr/lib/jvm/java-1.8.0-openjdk-amd64" eclipse issue - using route, new project > create new project > grails > grails project leads error: no grails installation configured so tried configuring grails installation, , added

system installation - How do I install Ubuntu? - Ask Ubuntu

Image
i see full how-to guide on how install ubuntu. first, need download current version of ubuntu @ download ubuntu desktop . select architecture (32-bit vs 64-bit), , click big orange button. if computer has @ least 2gb of ram, select 64-bit version of ubuntu. if unsure of flavor need, select 32-bit run if have 64-bit processor. may download distro release, such kubuntu or xubuntu or other flavours . next, downloading large .iso file, 800mb-1.6gb. can take few hours, depending on connection speed. let file download. then, burning onto dvd or liveusb. ubuntu 14.04 .iso file large fit on cd, need either burn dvd or else make ubuntu live usb using flash drive has @ least 2gb. (links windows, if switching operating system check "easy ways switch ubuntu" section on the download page. ) if using windows 7 or higher, may double-click file (assuming don't have program associated it). otherwise, install imgburn (sadly, not open source). may may able right-click ,

package management - Cannot Do Anything With apt-get - broken dependencies with kmod. What do? - Ask Ubuntu

(precise)fatih@localhost:~$ sudo apt-get -f install reading package lists... done building dependency tree reading state information... done correcting dependencies... failed. following packages have unmet dependencies: kmod : breaks: module-init-tools (< 4) breaks: module-init-tools:i386 (< 4) e: error, pkgproblemresolver::resolve generated breaks, may caused held packages. e: unable correct dependencies i've been unable anything. install wont work, configure doesn't help, , neither updating stuff. can fix dependency? (precise)fatih@localhost:~$ lsb_release -a; apt-cache policy kmod module-init-tools module-init-tools:i386 no lsb modules available. distributor id: ubuntu description: ubuntu 14.04.5 lts release: 14.04 codename: trusty kmod: installed: 15-0ubuntu6 candidate: 15-0ubuntu6 version table: *** 15-0ubuntu6 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 packages 100 /var/lib/dpkg/status module-init

nautilus - Ubuntu 16.10 Files closes straight after opening - Ask Ubuntu

since upgrading 16.04 16.10, when click 'files' icon in launcher opens usual closes again. can't browse filesystem bit of nuisance. can re-install files app? running nautilus terminal, opens closes again leaving in terminal window: $ sudo nautilus [sudo] password mike: (nautilus:8973): gtk-warning **: failed register client: gdbus.error:org.freedesktop.dbus.error.serviceunknown: name org.gnome.sessionmanager not provided .service files initializing nautilus-dropbox 2015.10.28 ** error:nautilus-canvas-container.c:6032:finish_adding_new_icons: assertion failed: (!container->details->auto_layout) aborted (core dumped) this contents of /var/log : total 6884 -rw-r--r-- 1 root root 1845 nov 16 18:36 alternatives.log -rw-r--r-- 1 root root 31487 oct 28 19:01 alternatives.log.1 -rw-r--r-- 1 root root 681 sep 29 19:32 alternatives.log.2.gz -rw-r--r-- 1 root root 500 sep 1 17:17 alternatives.log.3.

16.04 - Sound card is installed but it is not listed - Ask Ubuntu

i've got ubuntu 16.04 installed , past few days. able play sounds analog audio output (with headphones connected it). i have hdmi connection , speakers on monitor. today switched audio output hdmi, moment did this, realized analog audio output missing in list late. can not switch analog anymore. though know installed , working. the funny thing when turn on computer, welcome sound still played headphones (the audio output missing). i've read couple of posts , questions, here , there, assume sound card not installed, while mine is. has got suggestions me? [update] $ lspci | grep audio 00:03.0 audio device: intel corporation xeon e3-1200 v3/4th gen core processor hd audio controller (rev 06) 00:1b.0 audio device: intel corporation 8 series/c220 series chipset high definition audio controller (rev 05) even though i'm not sure if relevant: $ aplay -l **** list of playback hardware devices **** card 0: hdmi [hda intel hdmi], device 3: hdmi 0 [hdmi 0] subdev

packaging - How can I create directories using snapcraft? - Ask Ubuntu

i have file want copy snapcraft source .snap building: parts: foo-config: plugin: dump source: . stage: - etc/foo.conf if try , build snap , etc/ directory not exist error. there way use dump plugin (or otherwise) create directories copying files? stage going parts/$partname/install/etc/foo.conf . if want move foo.conf other directory , have in $snap/etc/foo.conf , you'll need use organize . organize create needed directories. parts: foo-config: plugin: dump source: . stage: - etc/foo.conf organize: <path>/foo: etc/foo.conf

find - Output is stopped because of & (ampersand). I need to enclose each line of output in quotes? I think? - Ask Ubuntu

i use pushbullet send list of modified files phone each morning. use find , printf clean list , push pushbulet script. /home/user/scripts/pushbullet/pushbullet.sh "synced: `find /mnt/1tb/tv/ /mnt/1tb/movies/ -type f -ctime -1 | wc -l`" "`find /mnt/1tb/tv/ /mnt/1tb/movies/ -type f -ctime -1 -printf "%f\n"`" first gets count of modified files, , list of modified files without directory. the problem if file name file&cheese.mkv message sent me stops @ 'file' , nothing after ampersand sent. problem pushbullet script. i think easiest make sure each line of list output goes in quotation marks cannot work out how this. any ideas? you can each filename in quotes piping find output while , using echo find ... | while read line ; echo \""$line"\" ; done replace find ... whole find command. the escaped quotes \" print literal " around each line, quote variable prevent expansions. output