Posts

Showing posts from June, 2010

vim - Can i use visual studio code to edit source code files on other boxes that i normally ssh to? - Ask Ubuntu

i downloaded visual studio code version 1.5.2 on ubuntu box. i'd know if there way set (or maybe code editor) access code files living on other servers have ssh access to. i'm little tired of vim - mean love it... thought it'd cool try out of these other editors because have lot of cool features. thanks.

Changing Ubuntu Touch default browser search engine - Ask Ubuntu

i want change ubuntu touch default browser search engine duckduckgo. however, when go browser > settings > search (engine), duckduckgo not listed in available options. cannot see how can add it. missing or how can change search engine 1 of own selection? phil uk, i'm running 15.04(ota-13) on nexus 4, , duckduckgo listed in browser settings search engine. what's environment?

Lubuntu 16.04,: Why can't I open hotmail without adding additional DNS server? - Ask Ubuntu

after upgraded lubuntu 14.04 16.04 have had problems using hotmail account. has worked sometimes, impossible connect. browser reports 'server not found'. i googled extensively , found whole load of issues relating firefox - resolved clearing cookies, changing dns , ipv6 config etc, etc... after diabling dns prefetch , ipv6 in firefox configuration, hotmail started working immediately. hooray ! pack in again after few days. i gave on firefox , installed chrome. no change ! tried machine lubuntu 16.04 - same, cannot open hotmail. conclusion: nothing browser. lubuntu 16.04 giving problem. finally found article suggested adding 8.8.8.8 additional dns server in preferences | network connections | wifi | ipv4 settings. fixed problem ! what did , why did need ? why did hotmail work sporadically @ beginning, , again after change in firefox settings ?

software installation - Cannot extract .tar.gz file? - Ask Ubuntu

this question has answer here: how install .tar.gz (or .tar.bz2) file? 10 answers i installed .tar.gz file brl-cad. file name brl-cad_7.26.0.2_linux_x86_64.tar.gz @ location /home/user/downloads . i opened terminal , typed in $ tar -zxvf brl-cad_7.26.0.2_linux_x86_64.tar.gz tar (child): brl-cad_7.26.0.2_linux_x86_64.tar.gz: cannot open: no such file or directory tar (child): error not recoverable: exiting tar: child returned status 2 tar: error not recoverable: exiting what should type terminal can extract .tar.gz file? try this: open terminal, press ctrl + alt + t run it: cd /home/user/downloads tar -zxvf brl-cad_7.26.0.2_linux_x86_64.tar.gz

mount - CDROM with Internet Access Required - Ask Ubuntu

i have mounted cdrom sudo mount /dev/sr0 /mnt/iso . however, thing appears .htm file, leads me outdated website page. i know cdrom has .pdf files on it, cannot access reason , not automatically open in windows. so how can being troubleshooting?

How to install wps-office on ubuntu 16.10? - Ask Ubuntu

nazar@android:~$ sudo dpkg -i wps*amd64.deb [sudo] password nazar: selecting unselected package wps-office. (reading database ... 227014 files , directories installed.) preparing unpack wps-office_10.1.0.5672-a21_amd64.deb ... unpacking wps-office (10.1.0.5672~a21) ... dpkg: dependency problems prevent configuration of wps-office: wps-office depends on libpng12-0; however: package libpng12-0 not installed. dpkg: error processing package wps-office (--install): dependency problems - leaving unconfigured processing triggers desktop-file-utils (0.23-1ubuntu1) ... processing triggers mime-support (3.60ubuntu1) ... processing triggers shared-mime-info (1.7-1) ... unknown media type in type 'all/all' unknown media type in type 'all/allfiles' processing triggers hicolor-icon-theme (0.15-1) ... errors encountered while processing: wps-office nazar@android:~$ sudo apt-get install libpng12-0 reading package lists... done building dependency tree reading state

find - Apply exiftran recursivly (rotate all images based on their EXIF info) - Ask Ubuntu

i execute exiftran on .jpg files recursively below current directory. exiftran -ai * need (apply rotation based on exif info) within current directory, not within subdirectories. is there flag don't know of? or workaround using find ? i used find achieve this: find . -type f -name "*.jpg" -exec exiftran -ai "{}" \;

16.04 - In Unity, how can I make application windows open in the center of the screen? - Ask Ubuntu

Image
for gnome this solution seems work center opened application windows horizontally , vertically. ubuntu unity 16.04 have similar feature? what yo need compizconfig settings manager (ccsm): sudo apt install compizconfig-settings-manager sudo apt install compiz-plugins then open ccsm going dash , type ccsm: then go window management , window placement: and play around till you've got want!

debugging - Easy way to install AddressSanitizer enabled package? - Ask Ubuntu

i told friend install ubuntu, having problems software (libreoffice mostly). fix problem, need install addresssanitizer enabled package show useful stacktrace. is there easy way install addresssanitizer enabled package ubuntu? http://clang.llvm.org/docs/addresssanitizer.html

16.10 Unable to locate package libqtwebkit - Ask Ubuntu

i have been using blink in ubuntu 16.04 , upgraded 16.10 today. blink fails following error root@mark-inspiron-13-7359:~# blink traceback (most recent call last): file "/usr/bin/blink", line 30, in <module> blink import blink file "/usr/lib/python2.7/dist-packages/blink/__init__.py", line 41, in <module> blink.chatwindow import chatwindow file "/usr/lib/python2.7/dist-packages/blink/chatwindow.py", line 12, in <module> pyqt4.qtwebkit import qwebpage, qwebsettings, qwebview importerror: no module named qtwebkit and libqt5webkit5 newest version (5.6.1+dfsg-4ubuntu1~2). just pay attention have 2 different versions of qt: qt4 , qt5. got error python2.7 uses qt4, , unfortunately there little qtwebkit removed shipped qt4 packages (as noticed have qtwebkit present qt5 on system, qt4 program cant use it). software developers (in case blink) port code qt5 (or pyqt5 in case). quite huge problem not in ubuntu 16.

cron - running a lfpt cronjob mirror --only-missing from a seedbox, sometimes only pulls a partial file, how can i get the rest? - Ask Ubuntu

the following saved /usr/local/bin chmod 700 , ran crom /etc/crontab every 2 hours @ 37 minute mark. #!/bin/bash login="username" pass="*****" host="seedboxurl" remote_dir='~/folder/i/want/to/copy' local_dir="/media/drivename/files" base_name="$(basename "$0")" lock_file="/tmp/$base_name.lock" trap "rm -f $lock_file" sigint sigterm if [ -e "$lock_file" ] echo "$base_name running already." exit else touch "$lock_file" lftp -u $login,$pass $host << eof set ftp:ssl-allow no set mirror:use-pget-n 10 mirror -c -p10 --only-missing --log="/var/log/$base_name.log" "$remote_dir" "$local_dir" quit eof rm -f "$lock_file" trap - sigint sigterm exit fi this copying files/folders completed torrent folder. i'll end partial local file presume caught mid transfer download folder comple

indicator - gnome-sound-applet no longer available in ubuntu 16.04 - Ask Ubuntu

in 14.04 had gnome-sound-applet in stalonetray applet no longer available in 16.04. there replacement? thanks. i'm using pa-applet . my fork contains fix compilation issue , allows using custom maximum volume via e.g. ./configure max_volume=200.0 an alternative volnoti .

dual boot - What do these GParted instructions mean? - Ask Ubuntu

Image
i shrank windows partition using gparted make room shared data partition both ubuntu , windows. warned me: what instructions 1 , 3 mean? didn't know had choice of sector of hard drive make new partition. , "new ntfs filesystem size"? isn't size of partition i'm making?

Full disk encryption on GPT on BIOS problems - Ask Ubuntu

how encrypt data on hard drive (including /boot , 1mb bios boot partition)? how create grub bootable bios partition encryption? hdd empty now. cannot use laptop now. you cannot encrypt bios boot partition; boot process on bios-based computer uses grub boot ubuntu (or other linux) goes this: cpu powers on , executes bios code, not understand encryption. bios reads first sector (mbr) of hard disk, necesarily unencrypted. the mbr code, tiny, reads more extensive boot loader code stored elsewhere -- in bios boot partition in case of grub on gpt disk. grub reads configuration file, /boot/grub/grub.cfg . may load additional code modules stored in /boot/grub . grub reads kernel , initial ram disk (initrd) file, executes kernel. the kernel runs startup scripts in initrd. the main filesystem mounted , further startup processes controlled there. because bios doesn't support encryption, mbr cannot encrypted. in theory, mbr include encryption code, , bios boot partitio

bash - Problem copying images to backup directory - Ask Ubuntu

i have problem when need copy png , gif images in directory. i have code: #!/bin/bash typea="png" typeb="gif" read -p "say directoy" $directory find ~/*.$typea -size +10000k -exec cp -r $directory {}\ find ~/*.$typeb -size +10000k -exec cp -r $directory {}\ the last 2 commands unterminated, , trying copy $directory files... surely not want. also, please quote variables... i think looking files .gif , .png extensions in ~ on size, want copy directory... in case better ditch assignment of typea , typeb in script , do: find ~ -iname "*.png" -size +10000k -exec cp -r '{}' "$directory" \; find ~ -iname "*.gif" -size +10000k -exec cp -r '{}' "$directory" \; or better find ~ -iname "*.png" -size +10000k -exec cp -r '{}' "$directory" + find ~ -iname "*.gif" -size +10000k -exec cp -r '{}' "$directory" + if expect lot of re

command line - Open all executable script per douple chlick in terminal - Ask Ubuntu

i'm running linux mint 18 kde , use dolphin file manager. when start executable script double click there window can choose between open tzhe script in editor or start script. when start it runs in background - not useful. how can set time start executbale script double click script starts in terminal window? know can "open ...", think double click better solution. thanks, ove

command line - Security Updates make server software not work anymore - Ask Ubuntu

how happens automatic security updates make standard webserver daemons (like lamp or ssh or ftp or tomcat) not work anymore. i run basic webserver ubuntu 16.4 lts on it. automatic security updates enabled. , there lamp, ssh, ftp , tomcat running on it. automatic security updates update apache , tomcat , myql etc... too? i have multiple (vhost) wordpress-sites running on lamp. is there chance security updates make wordpress sites or tomcat applications not work anymore? is worth automatic email notifications automatic installed security updates can check when apache updated wordpress or else still running properly? or security updates 99% fine , shouldn't worry. do automatic security updates update apache , tomcat , myql etc... too? if installed daemons ubuntu package system (with apt on command line, gui software center etc.), there updates them (as long respective ubuntu version gets updates). may take day or 2 longer, because after project (for example

firefox - Ubuntu 16.10: Certain USB-Ports Disconnecting - Ask Ubuntu

using ubuntu 16.10 gnome. issue occurs when playing youtube-videos on mozilla firefox. happens randomly when closing windows. the cpu usage not go on 30% when video played. ram usage 1.2gb/8gb swap usage @ 0gb/4gb after disconnect of wireless mouse , usb-headset, shown in kernel-log: oct 28 15:04:44 cubedesktop gnome-terminal-[1668]: allocating size gtkbox 0x55ae75ce47b0 without calling gtk_widget_get_preferred_width/height(). how code know size allocate? oct 28 15:05:24 cubedesktop kernel: [ 109.131952] ohci-pci 0000:00:12.0: hcdonehead not written back; disabled oct 28 15:05:24 cubedesktop kernel: [ 109.131960] ohci-pci 0000:00:12.0: hc died; cleaning oct 28 15:05:24 cubedesktop kernel: [ 109.132025] usb 4-1: usb disconnect, device number 2 oct 28 15:05:24 cubedesktop kernel: [ 109.183639] usb 4-2: usb disconnect, device number 3 oct 28 15:05:24 cubedesktop fwupd[1545]: g_object_unref: assertion 'g_is_object (object)' failed oct 28 15:05:24 cubedesktop fwupd[154

16.04 - What packages are not needed to run Ubuntu-Desktop? - Ask Ubuntu

is there list of packages can uninstall still have simple desktop? i don't need of additional packages being installed. file manager , that's it. is there list of packages can uninstall still have simple desktop? no. should not hard accomplish. i don't need of additional packages being installed. file manager , that's it. i see 2 approaches how can manage .. start desktop install. open ubuntu software center , find , remove installed software based on categories. might leave libraries. not use advanced feature , uninstall python , stuff that; applications. make sure not delete device driver. start system no desktop. use minimal install version or server install or current desktop system remove desktop. and install nautilus (i assume meant nautilus can pick file manager or command line file manager , skip out on whole desktop; midnight commander dobey suggested). install mandatory filemanager run. including parts need desktop run

command line - How to open a root terminal - Ask Ubuntu

this question has answer here: how run terminal root? 4 answers i person new xubuntu using crouton on chrome book wondering how root terminal open. reason want can modify files ware left behind installing wine , removing ( yes used -remove -autoremove , -purge) can not , morbidly curious access root terminal using admin account open terminal control alt t , type ... sudo -i the ask admin password, , show # . mind terribly easy royally mess system when using # . mind though not required need do. when want remove not own put sudo in front of command , remove it. if there remaining deleting wine should in /home/$user/.wine , should needed remove directory.

Can I run VMWare Horizon View Client on 16.04 LTS? - Ask Ubuntu

i upgraded 14.04 16.04 , tried locating vmware horizon view client package using steps outlined here: how install vmware view client? i received following error : e: unable locate package vmware-view-client therefore, seems not yet available in repositories 16.04. it looks can downloaded vmware website . assist process, there threads installing vmware view client downloaded website above , getting work such this one . i new ubuntu , unsure if there greater security risk installing directly vmware website system not receive periodic package updates. however, able install package website above. unfortunately, when tried connect employer's server, jump login screen. able connect employer's server on machine running windows, , problem isolated case. should expect package added repositories 16.04? if need stick direct download vmware website, there additional packages need installed vmware horizon view client work correctly on 16.04?

Problems updating kernel to 4.8+ on 16.04.1 LTS - Ask Ubuntu

i have 6700k , 1080 gtx card told install nvidia drivers 370.28 did , followed couple guides install kernel 4.8, 4.8.5, 4.9rc2 , every time reboot computer system failure message ubuntu login page, when try logging ubuntu loops page , end having reinstall ubuntu again. i've spent 12 hours trying work no avail. as last kernel guide tried video . i've tried installing 16.10 skip kernel problem there have different problem mouse doesn't work during install. you can install yakkety yakk kernel 4.8.0.25 this: sudo add-apt-repository ppa:canonical-kernel-team/ppa sudo apt update sudo apt install linux-image-generic-lts-yakkety this allow updates come via software updater. if don't it, can uninstall this: sudo apt-get install ppa-purge (if don't have it) sudo apt purge linux-image-generic-lts-yakkety sudo ppa-purge ppa:canonical-kernel-team/ppa i've been using time no problems. hope helps.

dual boot - Time synchronization problem in two operating systems - Ask Ubuntu

this question has answer here: clock time off on dual boot 4 answers i have 2 operating systems in machine: windows 7 , ubuntu 16.04, dual booted. after upgrading ubuntu 16.04 version 15.10, facing strange problem. when open ubuntu, time advances 5.30 hours(i india , our timezone +5.30gmt). suppose correct it, when logs in windows, time decreased 5.40 hours. how fix it? there might installation problem @ time of upgrading. ubuntu uses gmt while windows uses local time-zone. to fix this, you'll want reboot windows, open start , type regedit, tap enter . there, navigate hkey_local_machine\system\currentcontrolset\control\timezoneinformation . next, if don't see entry reads realtimeisuniversal , add 1 right-clicking > new > dword (32-bit) value, fill in name realtimeisuniversal . now double-click entry added, , replace 0 1 . make sure t

apache2 - Default Page still accessible after a2dissite 000-default.conf - Ask Ubuntu

i have brand-new installation of ubuntu 16.04 lts server (32bit) enabled lamp packages. means out of box, serves typical apache2 ubuntu default page on port 80, located under /var/www/html/index.html . one of first things did try , disable page, using venerable sudo a2dissite 000-default.conf command, prompted me do service apache2 reload which called sudo . to surprise, after that, site still accessible: re-loading , shift-reloading in firefox still shows page , can see requests in /var/log/apache2/other_vhosts_access.log . running a2dissite command again shows site 000-default disabled , directory /etc/apache2/sites-enabled/ empty. what doing wrong? edit: as suggestions julius Å . , tried sudo service apache2 restart with same result , checked /etc/apache2/apache2.conf file, shows <virtualhost> in comments. regarding <directory> entries, these defaults in file: <directory /> options followsymlinks allowoverride n

Telegram only runs with sudo - Ask Ubuntu

i don't know why, can run telegram sudo. downloaded tar desktop.telegram.com , extracted contents in /usr/local/telegram. i can open program with: sudo /usr/local/telegram/telegram but not with /usr/local/telegram/telegram if second one, error log: [2016.10.31 12:53:39] launched version: 10019, alpha: [false], beta: 0, debug mode: [false], test dc: [false] [2016.10.31 12:53:39] executable dir: , name: [2016.10.31 12:53:39] initial working dir: /home/iguarna/ [2016.10.31 12:53:39] working dir: /home/iguarna/.local/share/telegramdesktop/ [2016.10.31 12:53:39] arguments: "telegram" [2016.10.31 12:53:39] fatal: not open '/home/iguarna/.local/share/telegramdesktop/log_startxx.txt' writing log! [2016.10.31 12:53:39] connecting local socket /tmp/95578c71afe4942c16be0fb6f3bfa82f-{87a94ab0-e370-4cde-98d3-acc110c5967d}... [2016.10.31 12:53:39] instance of telegram, starting server , app... what reason? the error message fatal: not open '/hom

After dual boot with Windiws 10, Ubuntu can't start - Ask Ubuntu

Image
i black screen, if enter in recovery mode, , repair broken packages, ubuntu starts fine. problem must every time. i guess allready have updatet or reinstalled grub? sudo grub-install /dev/sdx (replace sdx device..) sudo update-grub ?

command line - How does uniq work? - Ask Ubuntu

this question has answer here: uniq command not working properly? 3 answers do not confuse question duplicate of "what difference b/w sort -u , sort | uniq" this in essence word count program confusion raised following command reason asking question: root@sanctum:~/datascience# cat data file supposed file this gives incorrect output: root@sanctum:~/datascience# cat data | sed 's/ /\n/g' | uniq -c 1 1 1 1 file 1 1 1 supposed 1 1 1 1 file piping output sort , uniq gives perfect answer- root@sanctum:~/datascience# cat data | sed 's/ /\n/g' | sort |uniq -c 2 1 2 file 2 1 supposed 1 1 1 output of when piped sort: root@sanctum:~/datascience# cat data | sed 's/ /\n/g' | sort a file file is supposed

mount - Unable to write to external hard drive - Ask Ubuntu

i unable write external hard drive. this output of 'mount' command: joris@joris $ mount [...] /dev/sda1 on /media/joris/lacie4tb1 type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2) [...] and output of gparted: joris@joris $ sudo gparted -l [...] model: lacie p9230 (scsi) disk /dev/sda: 4001gb sector size (logical/physical): 4096b/4096b partition table: msdos number start end size type file system flags 1 258kb 4001gb 4001gb primary lba [...] i have tried running: joris@joris $ sudo mount -o remount,uid=1000,gid=1000,rw /dev/sdb1 and although makes folders (in explorer) appear read/write capable, still unable copy, or write drive. can me?

scripts - Ubuntu Unity 16.10 'sudo: no tty present and no askpass program specified' - Ask Ubuntu

i made script set/unset proxy setting when switch between work , home. script works , wanna run every time automatically when login put in .profile (like : source ~/bin/proxyscript.sh). this works when using ubuntu gnome , during login terminal , asked sudo password. since version 16.10 installed clean version of ubuntu unity , error message "sudo: no tty present , no askpass program specified" when login. in script : sudo service cntlm stop sudo sed ..... /etc/cntlm.conf sudo service. cntlm start i looked @ /etc/sudoers file , added following without result: defaults !/usr/bin/sed !requiretty defaults !/usr/sbin/service !requiretty root all=(all:all) jeroen all=nopasswd: /bin/sed, /usr/sbin/service i don't know can try fix problem. idea ? thanks. you should not use sudo in script. can use policykit instead of sudo in script: #!/bin/bash pkexec env display=:0 xauthority=/home/$user/.xauthority service cntlm stop & sed wha

shortcut keys - Enable/disable touchpad - Ask Ubuntu

Image
i managed install ubuntu 16.04 on asus ux501 vw, of shortcut not working. i'm not looking fix them all, 1 : shortcut allow me enable or disable touchpad, can write long documents working touchpad. i tried find on google got nothing. can explain me how fix please? ! i created bash script negusp 's answer. finds , toggles touchpad device. can configure custom shortcut in system settings. #!/bin/bash read tpdevice <<< $( xinput | sed -nre '/touchpad/s/.*id=([0-9]*).*/\1/p' ) state=$( xinput list-props "$tpdevice" | grep "device enabled" | grep -o "[01]$" ) if [ "$state" -eq '1' ];then xinput --disable "$tpdevice" else xinput --enable "$tpdevice" fi i'm setting ctrl + shift + f9 toggle touchpad enable , disable this:

Can't Run Steam on Ubuntu 16.10 - Ask Ubuntu

i have googled , check few questions on askubuntu without luck. here when run steam in console; running steam on ubuntu 16.10 64-bit steam_runtime enabled automatically /bin/bash: /home/myuser/.local/share/steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required /bin/bash) grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc installing breakpad exception handler appid(steam)/version(1476379980) libgl error: unable load driver: i965_dri.so libgl error: driver pointer missing libgl error: failed load driver: i965 libgl error: unable load driver: i965_dri.so libgl error: driver pointer missing libgl error: failed load driver: i965 libgl error: unable load driver: swrast_dri.so libgl error: failed load driver: swrast i glad help. found this link in [

system installation - How can I install Ubuntu without removing Windows? - Ask Ubuntu

Image
i need pre-installed version of windows 7 (or other version of windows), how install ubuntu without erasing it? the instructions below ubuntu 11.10. other versions similar might have different appearance or order. must make sure windows correctly shutdown (no hibernation, no suspend, no fast boot) , ntfs drive healthy. boot ubuntu cd or usb stick. when prompted, choose "install ubuntu". ensure meet installation prerequisites. ideally, connect internet @ time well. if have wireless network hardware , there available network, can (optionally) connect @ time. be choose " install ubuntu alongside windows " (or "other operating systems" or other similar wording, depending on system configuration). important step ensure ubuntu , windows both available after installation. choose how space give ubuntu , windows. how give each 1 you. complete rest of installation setting timezone , entering information computer , yourself. enjoy

16.04 - Google Chrome personal data loss after every reboot - Ask Ubuntu

after every reboot chrome asks me login again. besides chrome asking me login, have enter facebook 2-way code again (as if every time first time logging in computer). experienced similar issues on different sites every time visit (after reboot) seems first time doing computer (when isn't). this desktop computer installed desktop ubuntu 16.04 has 2 128gb raid-0 vertex-4 ssds. maybe raid-0 has it? i used use windows on desktop computer , ubuntu on laptop computer (where ubuntu 16.04 has worked months way), decided rid of windows , install ubuntu on desktop computer well, did regular installation same usb flash drive used laptop months before. i tried uninstalling chrome far (first time installed via official downloaded .deb file using gdebi package manager. removed using same package manager , installed through apt-get time, same results). any hints on should test find out what's going on appreciated! you mean chromium, don't you? find out ground of probl

partitioning - Extending Disk Size - Ubuntu 16.04 - Virtualbox (.VHD) - Windows 10 Host - Ask Ubuntu

Image
i new linux, , virtualbox. running ubuntu 16.04 using virtualbox on windows 10 host. had setup virtual machine use 8 gb, dynamically extendable drive (vhd). i looking extend size of virtual hard drive now. here have done far (based on information available on various posts) ran vboxmanage command changed storage settings on virtualbox started ubuntu opened gparted the option resize/move partition enabled, on next window, unable increase size (it not allow). please see images below. appreciate if can help!!! gparted view: gparted resize views: a dynamically expanding virtual hard disk 1 in size of .vhd file grows data written virtual hard disk. start out quite small , grow maximum size set. reason can't resize gparted it's dynamic , grows when data added , size curtailed maximum set. since image shows lvm flag on volume, i'm assuming using logical volume manager. create new partition in unallocated space show in image. then reboot vm or

apache2 - phpMyAdmin not loading correctly - Ask Ubuntu

Image
i have made fresh install of ubuntu mate 16.10. i'm setting lamp server local testing (not serving internet). everything apache , mysql setup, using synaptic, , configuration settings carried on previous experience, seemed go ahead without problem. but, after installing phpmyadmin, when load up, see looks backend code: how repair , phpmyadmin load properly? because seeing php source, indicate php culprit, apache configuration well. first verify if php installed which php , if returns, we'll make assumption package installed. next try install, sudo apt install libapache2-mod-php7.0 . after installation should automatically enable module in apache , restart. if not, sudo a2enmod php7.0 , test page again.

command line - Terminal improper output, unprintable character - Ask Ubuntu

Image
ever since have used vnstat , vnstati, not single time have received proper date under day column vnstat. also, vnstati screenshots display unprintable characters. please me solve problem. screenshots: 1:vnstat 2:vnstati thank you after brief conversation in comments... we checked output of date command we checked date format configuration in /etc/vnstat.conf file we checked terminal app preferences in encoding tab we checked language settings in system settings/language support it found setting language support regional format (from india) english (us) , applying system wide, fixed problem vnstat displaying odd characters in date field. a log out may necessary changes take effect. :)

networking - Can't get WiFi to work on Qualcomm Atheros QCA9377 - Ask Ubuntu

i had acer aspire e5-574g laptop weeks , use in dualboot ubuntu , windows 10. on windows 10 wifi working fine, no problems @ all. isn't working on ubuntu or other linuxes @ all. want switch linux of course can't without working wifi. tried could. googled days on how fix problem. didn't find except this: qualcomm atheros qca9377 wireless not working on lenovo 14.04.3 didn't @ me. wifi working extreeemely slow , seconds. it's connecting (or showing it's connected) doesn't load anything. it's working wifi dongle that's temporary solution me. i tried ubuntu , kali linux never worked, seems problem linux. i'm give on linux. i experiencing same issues mentioning, after weeks of useless trouble shooting spend 40 € getting netgear a6100 wifi usb adapter, wifi working stable & fast, 434 mb/s. after each kernel update retry atheros till no luck. agree not elegant solution, working one

16.04 - Safe way to remove a Chroot environment - Ask Ubuntu

i created chroot environment test old release without reinstalling operating system. done it. remove since has large footprint. i tempted delete folder in /var/lib/schroot/ maybe better ask here. is there safe way remove it? edit: can't remember exact steps used create it. not appear command schroot -l userk@dopamine:$ schroot -l chroot:indigo_trusty chroot:ros_trusty these ones created couple of months ago , located in /srv/ userk@dopamine:/var/lib$ ll /srv/chroot/ total 16 drwxr-xr-x 4 root root 4096 feb 17 2016 ./ drwxr-xr-x 3 root root 4096 nov 3 2015 ../ drwxr-xr-x 21 root root 4096 feb 17 2016 indigo_trusty/ drwxr-xr-x 21 root root 4096 feb 17 2016 ros_trusty/ the chroot safely delete 1 in /var/lib/ . here output of tree -l 2 schroot/ ├── mount │   └── indigo_trusty-d4bb07e4-806f-4e23-83c2-5ebbfbd9054e │   ├── bin │   ├── boot │   ├── dev │   ├── etc │   ├── home │   ├── lib │   ├── lib64 │   ├── media │   ├──

performance - programs very slow to start in ubuntu - Ask Ubuntu

i'm running ubuntu 16.10 + cinnamon on workstation. machine old (probably 7+ years), still i7 24gb of ram. have geforce 210 , i'm running nvidia binary driver, version 340.98. starting programs seems take forever. example, started uxterm. took 3 seconds draw window, , 21 seconds (!) before had prompt type at. (subsequent launches quicker, on order of 1 second draw window, , 8 seconds prompt.) any thoughts on might able speed stuff up?

How to fix CVE-2016-5195 on ubuntu-server 14.04.2 LTS - Ask Ubuntu

there problem bug cve-2016-5195 fixed following this guide , used commands: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade after that,i rebooted server, , version of system ubuntu 14.04.5 lts. then, followed this guide test bug, found bug still exists. how mitigate this? here output kernel version: root@ubuntu:~# uname -r 3.16.0-30-generic as suspected , comments confirm, you're using old "hwe" update hasn't been supported long time. need upgrade. in case you're not sure i'm rambling on about, long term support (lts) releases of ubuntu have update packs add new hardware support bundling kernel , x stack of newer ubuntu releases. in case linux 3.16 in utopic (14.10). bundled 14.04.2. was supported long main release of utopic, means it's been end-of-life since july 2015. erk. you have few options: upgrade the latest hwe 14.04, 14.04.5 , based on 16.04 xenial , supported until april 2019. that's usin

ctrl alt f1 on chromebook virtual console - Ask Ubuntu

if have installed ubuntu on chromebook how bring virtual console? (there no f keys) on chrome os can done ctrl + alt + 1 of keys on top of number keys. image of keyboard

When even ntpd doesn't sync time - Ask Ubuntu

i have tried top 2 of most-voted answers how force clock update using ntp? none has worked. using ntpdate doesn't show logs, , exits fine, while ntpd gives following output: 4 nov 13:49:28 ntpd[4754]: ntpd 4.2.8p8@1.3265-o tue jun 7 20:34:16 utc 2016 (1): starting 4 nov 13:49:28 ntpd[4754]: command line: ntpd -gq 4 nov 13:49:28 ntpd[4754]: proto: precision = 0.055 usec (-24) 4 nov 13:49:28 ntpd[4754]: listen , drop on 0 v6wildcard [::]:123 4 nov 13:49:28 ntpd[4754]: listen , drop on 1 v4wildcard 0.0.0.0:123 4 nov 13:49:28 ntpd[4754]: listen on 2 lo 127.0.0.1:123 4 nov 13:49:28 ntpd[4754]: listen on 3 enp1s0 172.25.34.243:123 4 nov 13:49:28 ntpd[4754]: listen on 4 wlp2s0 192.168.132.109:123 4 nov 13:49:28 ntpd[4754]: listen on 5 lo [::1]:123 4 nov 13:49:28 ntpd[4754]: listen on 6 enp1s0 [fe80::2ad2:44ff:feab:2d1e%2]:123 4 nov 13:49:28 ntpd[4754]: listen on 7 wlp2s0 [fe80::162d:27ff:fee8:e407%3]:123 4 nov 13:49:28 ntpd[4754]: listening on routing socket on fd #24

ip - Help setting up anonymous proxy! - Ask Ubuntu

so have vps 20 different ip addresses. i've installed squid3 , it's working. problem when search online "what's ip" ip appears vps ip. want accomplish every time send request server switches network interface if exact same search query displays different ip every time. i don't know if that's possible. so, can me. os ubuntu 14.04 btw. it's possible, you'll have split load 20 outgoing ips. information can found here. link in squid configuration, should work... acl r_20 random 1/20 acl r_19 random 1/19 acl r_18 random 1/18 acl r_17 random 1/17 acl r_16 random 1/16 acl r_15 random 1/15 acl r_14 random 1/14 acl r_13 random 1/13 acl r_12 random 1/12 acl r_11 random 1/11 acl r_10 random 1/10 acl r_9 random 1/9 acl r_8 random 1/8 acl r_7 random 1/7 acl r_6 random 1/6 acl r_5 random 1/5 acl r_4 random 1/4 acl r_3 random 1/3 acl r_2 random 1/2 acl r_1 random 1/1 tcp_outgoing_address x.x.0.20 r_20 tcp_outgoing_address x.x.0.19 r_19 tcp_o

hardware - How to Enable Middle Mouse Button in Ubuntu 16.04? - Ask Ubuntu

this question specific solutions in given version (16.04). free mark duplicate, created solution latest version user. cannot find single solution 16.04 in google , feel free it . okay, try model things in blender in ubuntu 16.04. can guess, uses mmb lot. 1 solution change mmb else, yet blender uses nearly all keys , cannot know when use 1 of them. regarding solution, 1 way change mmb super key. however, using often. so, asking is, how mmb really work in ubuntu 16.04. i used xev clear things up. mouse-wheel-down/up works charm, mmb-click not respond. i using toshiba satellite l450, give detailed hardware information below. any solution (as answer) or bug-tracker link (as comment) welcome. 00:00.0 host bridge [0600]: intel corporation 2nd generation core processor family dram controller [8086:0104] (rev 09) subsystem: toshiba america info systems 2nd generation core processor family dram controller [1179:fc50] 00:01.0 pci bridge [0604]: intel corporation xeon e

mount - How to get more information about a mountpoint - Ask Ubuntu

i have had problems ispconfig morning fixed now, noticed mounts: /dev/sda2 on /var/www/clients/client1/web1/log type ext4 (rw,relatime,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user,grpjquota=quota.group,_netdev) there many of them, every client , web there is. this looked weird. how ispconfig mount /dev/sda2 on many different folders , yet, don't share content. also, sda2 mounted on / . i got some information though googeling , found /proc/self/mountinfo gives more helpful informations: 83 24 8:2 /var/log/ispconfig/httpd/example.net /var/www/clients/client1/web1/log rw,relatime shared:1 - ext4 /dev/sda2 rw,errors=remount-ro,data=ordered,jqfmt=vfsv0,usrjquota=quota.user,grpjquota=quota.group now we're getting somewhere. seems like, ispconfig mounts subfolder of sda2 (namely /var/log/ispconfig/httpd/example.net ) /var/www/clients/client1/web1/log . i don't know why ispconfig this, if knows, feel free comment on question, question is

wine - Why not start the GTA SA - Ask Ubuntu

i decided drive old gentleman in gta, before on windows xp summer , supper, after install linux stopped playing. decided set gta through wine , see in screenshots, game runs nothing happens after download. faced such problem?enter image description here enter image description here enter image description here according wine hq should able run gta sa pretty fine https://appdb.winehq.org/objectmanager.php?sclass=version&iid=3780 i suggest install game of "play on linux", set required settings game.

samba4 - I can't access Samba share from Windows 10 - Ask Ubuntu

i have ubuntu 16.04.1. have samba 4. windows writes access denied. can reach shared folder, can't access. tried smbclient login , writes: nt_status_access_denied smb.conf file: [megosztas] path = /home/attila/asztal/megosztas available = yes valid users = fel1 read = no browseable = yes public = yes writeable = yes guest ok = yes

16.10 - How can I remove an Online Account? - Ask Ubuntu

Image
is possible remove accounts shown in screen below? open terminal , check account plugin packages installed : dpkg --get-selections | grep account-plugin when want remove unity flickr account plugin execute : sudo apt purge account-plugin-flickr libaccount-plugin-flickr when want remove unity google account plugin execute : sudo apt purge account-plugin-google libaccount-plugin-google update addressing requested information in comment below in earlier editions of ubuntu (14.04/16.04) libaccount-plugin packages don't exist, so to remove flickr account plugin execute : sudo apt purge account-plugin-flickr to remove google account plugin execute : sudo apt purge account-plugin-google

Time Machine like folder backups for Ubuntu - Ask Ubuntu

hey guys have interesting backup situation can't seem find program matches needs online came here see if guys knew anything. i program that backs folder once every hour day keeps daily backups (which last hour of day) month keeps archived (zipped tar'd or whatever compression) monthly backups (which last day in month) year and store them in 1 folder. suggestions or config files existing programs match this? the website of timeshift suggests back-in-time solve problem. can find project @ http://backintime.le-web.org/

mount - Playing iPhone (iOS10) music in Rhythmbox on Ubuntu 14.04 - Ask Ubuntu

i have been using rhythmbox on ubuntu 14.04 play music iphone while now. annoying "initialize iphone" dialog box, cancel it, unmount , reconnect phone, , problem solved. background: getting things work ios 10 recently, updated ios 10, , mounting iphone stopped working. somehow fixed cloning libplist , libimobiledevice , libusbmuxd , usbmuxd , , ifuse [note: ifuse doesn't seem necessary if use gvfs ], checking out master branch in each repo, , installing via ./autogen.sh make sudo checkinstall so package versions , dependencies managed via dpkg . for libimobiledevice did ./autogen.sh --disable-openssl i'd use gnutls instead. because had installed of these packages via apt-get , installed libplist dpkg package libplist1 , libimobiledevice libimobiledevice4 , , libusbmuxd libusbmuxd2 . did echo /usr/local/lib > /etc/ld.so.conf.d/libimobiledevice-libs.conf , symlinking when programs complained /usr/lib/libimobiledevice.so.4 , such missing. g

16.04 - Is there a way to install the Ubuntu Software center offline? - Ask Ubuntu

this question has answer here: how can install software or packages without internet (offline)? 24 answers i using 16.04 lts, , after wasn't working deleted on accident , not have software center nor of apps, (inkscape, blender, misc games.) steam running , programs downloaded before work. its not necessary computer have internet connection. access internet (on device) required installation files. if arrange .deb file of software centre asking friend run install. sudo dpkg -i /path-to-file/filename.deb

14.04 - Login screen is reappearing, what to do? - Ask Ubuntu

this question has answer here: ubuntu gets stuck in login loop 37 answers what .xauthority file? 1 answer i using dell inspiron 3558, after opening laptop, when put password in login screen same screen appears after 2 or 3 seconds. please tell me should do. in terminal, type (use correct username): cd /home/your_username ls -l .iceauthority # (that's lower case l) ls -l .xauthority # (that's lower case l) if either ls command returns 1 of these (where shows root, instead of username): -rw------- 1 root root 242476 nov 6 12:48 .iceauthority -rw------- 1 root root 58 nov 6 12:48 .xauthority then type (changing your_username correct username): sudo chown your_username:your_username .iceauthority and/or sudo chown your_username:your_username

playonlinux - iTunes Installation on Ubuntu 16.04 LTS - Ask Ubuntu

good day, i connect ipad onto ubuntu 16.04 lts transfer files on ipad, have tried on playonlinux message says can't sync idevice ubuntu, how can connect idevice on ubuntu 16.04 lts? i need this, because i'm using ipad company purposes? don't use windows @ anymore, there no way me go either. i don't want virtual machine please me sort out. thank in advance. install itunes on ubuntu open command terminal , type sudo apt-get install wine , press “enter.” wine installs ubuntu, allowing download applications not supported linux distribution. type sudo apt-get install ubuntu-restricted-extras in command terminal allow manage mp3 , aac files ubuntu. go online apple.com/itunes/download , click “download now” download 32-bit windows version of itunes. type chmod +x itunessetup.exe in command terminal make itunes installer executable. right-click itunes installer file downloaded computer , select “open wine windows program loader.” itunes installs

Can a Bash shell option be set for a single command? - Ask Ubuntu

i way variable can set single command, such as: lang=fr_fr.utf8 df -h is possible use shopt -s command, or other method, set shell option, such nullglob or extglob, single command in same manner? depending on use case, use subshell: (shopt -s nullglob; foo)

grub2 - Change Ubuntu EFI location - Ask Ubuntu

on macbook, ubuntu installs efi in /boot/efi/efi/ubuntu . how can change installation folder /boot/efi/efi/ubuntu0 ? in ubuntu, efi system partition (esp) mounted @ /boot/efi . can change mount point editing entry in /etc/fstab ; however, doing inadvisable because system utilities , documented procedures may assume esp mounted there, , therefore malfunction if mount esp elsewhere. note extensible firmware interface (efi) firmware that's installed in chips on computer's motherboard. efi reads files on esp boot (with caveats), not installed esp. what's installed esp boot loader(s) , related files, such grub ( grubx64.efi ). boot loaders must installed esp, or @ least partition efi can read; installing them elsewhere render them useless. a caveat: on macs, efi can read boot loaders hfs+ volumes, , apple stores own boot loader on hfs+ volume. defies efi standard, in minor way. third-party boot loaders, including ubuntu's grub, go on esp. in theory, in

webcam - if I log in Guest session and someone connect on my web cam - Ask Ubuntu

if log in guest session , connect on web cam , leave , enter main account person logged in web cam in guest account see me? i don't think main account person can see webcam because switching between accounts , guest session scope session only

why not use Swap file on SSDs instead of Swap partition? - Ask Ubuntu

i have gone through loads of articles people telling remove swap partitions optimize ssds. looking @ upside of having swap utility , why not go swap file? difference? there no real advantage/disadvantage. they 2 methods of accomplishing same goal. as why try avoid on ssd, might want check out possible duplicates: why no swap partitions on ssd drives? on ssd, there advantages swap partition on swap file? do need swap new ssd?

How to Restore/Reset Unity after Messing up with Unity Tweak tool?? [Ubuntu 16.04 LTS] - Ask Ubuntu

Image
so had perfect desktop , running smooth, , decided press 1 button on unity-tweak-tool software , booom, unity-panel gone, can't access unity-dash , themes don't apply correctly. the button messed [restore defaults]: my desktop (no unity-panel, can't access unity dash, theme decorations windows borders doesn't work): i running ubuntu 16.04 lts i've got exact same problem , solved opening terminal ctrl+alt+t , typing these commands: unity-tweak-tool --reset-unity dconf reset -f /org/compiz/ setsid unity this make unity-tweak-tool reset every setting default value, reset compiz configuration, , restart unity.

nvidia - Xubuntu Xenial Google Earth can not recognize graphics card - Ask Ubuntu

i have 2 computers executing xubuntu xenial 32 bits geforce 7025 graphics processor. nvidia driver version:304.132 since yesterday, google earth ,it running crash, informing: can not recognize graphics card crashlog: major version 7 minor version 1 build number 0007 build date oct 6 2016 build time 20:55:36 os type 3 os major version 4 os minor version 4 os build version 0 os patch version 0 crash signal 11 crash time 1478988963 time 10,262 stacktrace glibc: ./libgoogleearth_free.so(+0x1e5cc9)[0xb7316cc9] ./libgoogleearth_free.so(+0x1e5e71)[0xb7316e71] [0xb76f7c14] ./libqtgui.so.4(_zn14qwidgetprivate11show_helperev+0x61)[0xb6805141] ./libqtgui.so.4(_zn7qwidget10setvisibleeb+0x1db)[0xb680681b] ./libqtgui.so.4(_zn14qwidgetprivate12showchildreneb+0x168)[0xb68055a8] ./libqtgui.so.4(_zn14qwidgetprivate11show_helperev+0x61)[0xb6805141] ./libqtgui.so.4(_zn7qwidget10setvisibleeb+0x1db)[0xb680681b] ./libqtgui.so.4(_zn7qwidget10shownormalev+0x5c)[0xb67f852c] ./libgoogleearth_free.s

How can I use Templates in Nautilus file manager of Ubuntu 16.10? - Ask Ubuntu

Image
i followed answers provided in: how create new empty file / template file in ubuntu 16.10 desktop? templates commonly-used document types problem: i still don't have context menu entry "new document" in nautilus of ubuntu 16.10. system: ubuntu 16.10 nautilus 1:3.20.3-1ubuntu3.1 screenshot:

language - How to the ISU thousands separator (space) ? - Ask Ubuntu

i have regional formats set "english (ireland)" in home system. however, produces numbers coma thousand separator in programmes dependant on setting, e.g.: 1,234,567.89 ireland (as other countries in world) signatory international system of units. therefore the thousands separator should space character , e.g.: 1 234 567.89 how can change thousands separator space? i don't find locale in ubuntu combines space thousands separator , dot decimal point. maybe want file bug it. anyway, can fix modifying en_ie locale. regards lc_numeric data copies them en_gb locale, 1 way fix edit en_gb locale definition file , regenerate irish locale: sudo sed -ri 's/^(thousands_sep +)"<u002c>"/\1"<u0020>"/' /usr/share/i18n/locales/en_gb sudo locale-gen en_ie.utf-8

grub2 - chmod hard drive at grub? - Ask Ubuntu

a computer of friend of mine used have command @ grub changed permissions hard drive 666 or whatever access vm without worrying groups &c. friend passed away few months ago , can’t remember had in grub file. may have involved having grub (or other startup process) run bash script included chmod -r 666 /dev/sdb . distinctly remember that, @ end of grub file, included “wait” command (in seconds) allow start processes complete before chmod command worked. now i’m trying have pc work his. figure out more or less did? i’ve managed solve through different route. aim make chmod on drive permanent. solution add line in /etc/rc.local file, before last line ("exit 0"). added line be: chmod 666 /dev/sdb -r but i’ve opted less dramatic, change user ownership of drive: chown -r [username] /dev/sdb this may pose other problems down line, far good.

command line - How to check whether a partition is mounted by UUID? - Ask Ubuntu

if have uuid of drive partition, how go finding out whether mounted or not, using command line? lsblk might help. can print uuid , mount point, so, given uuid, see if mount point not empty: uuid=foo lsblk -o uuid,mountpoint | awk -v u="$uuid" '$1 == u {print $2}' so: uuid=foo mountpoint=$(lsblk -o uuid,mountpoint | awk -v u="$uuid" '$1 == u {print $2}') if [[ -n $mountpoint ]] echo mounted else echo not mounted fi since lbslk can act on specific devices, can do: mountpoint=$(lsblk -o mountpoint "/dev/disk/by-uuid/$uuid" | awk 'nr==2') with first method, there won't error if uuid isn't connected disk. second method, lsblk error out if /dev/disk/by-uuid/$uuid doesn't exist.

16.04 - Userdir with Virtual Host (Apache2) - Ask Ubuntu

using ubuntu 16.04 , apache 2.4.7 want make 2 different types of userdir. the data in /home/user/public_html/ , accessed via www.sample.com/~user/. (www2.sample.com/~user/ should not work.) the data in /home/user/public_html2/ , accessed via www2.sample.com/~user/. (www.sample.com/~user/ should not work.) i finished making 2 virtual hosts using /etc/apache2/sites-availabile/000-default.conf, , tried modify mods-available/userdir.conf. easy make either public_html or public_html2 accessible, failed make both accessible different host names. teach me how this? i cannot write code is, 000-default.conf , userdir.conf these: 000-default.conf <virtualhost *:80> serveradmin admin@sample.com documentroot /var/www/html/www servername www.sample.com errorlog ${apache_log_dir}/error.log customlog ${apache_log_dir}/access.log combined </irtualhost> <virtualhost *:80> serveradmin admin@sample.com documentroot /var/www/html/www2 se

uninstall - Why does removing apps frees less memory compared to installing? - Ask Ubuntu

suppose had installed ndiswrapper, shows need 226 kb of archives. after operation, 1,110 kb of additional disk space used. but when remove purge command, says after operation, 76.8 kb disk space freed. i new linux , learned lot pls can explain? when install software install , dependencies needs, these other software , libraries needs run, when remove it, remove software installed. you can remove dependencies (assuming they're not required else) with: sudo apt-get autoremove or in 1 step removal of original package: sudo apt-get autoremove ndiswrapper