Posts

Showing posts from January, 2012

gnupg - gpgkeys: no keyserver host provided - Ask Ubuntu

i trying install r gpg --keyserver keyserver.ubuntu.com --recv-key e084dab9 gpg: keyring `/home/milenko/.gnupg/secring.gpg' created gpg: keyring `/home/milenko/.gnupg/pubring.gpg' created gpg: requesting key e084dab9 hkp server keyserver.ubuntu.com gpg: keyserver timed out gpg: keyserver receive failed: keyserver error this not help gpg --keyserver keyserver.ubuntu.com:80 --recv-key e084dab9 gpg: requesting key e084dab9 keyserver.ubuntu.com:80 gpgkeys: no keyserver host provided gpg: keyserver internal error gpg: keyserver receive failed: keyserver error i on ubuntu 16.04.

Ubuntu Server 16.04 - Firstboot script help - Ask Ubuntu

i working on setting automated install put on machines not have access internet. have package of required .deb files have downloaded, since there no internet. have got preseed file, sets partitions, installs os, , copies post install packages machine. have late_command copies , runs script sets post_install script run @ first boot. script extracts packages.tar file, sets extracted directory source, installs required packages. this comes in. works, installing packages. logs show looks them getting installed, none of them installed. when run script manually after install, runs fine, , installs packages. have experience this? post_install script: http://pastebin.com/dvm1prt8 firstboot log: http://pastebin.com/xsddbsza

graphics - Detect if an application uses gtk or qt - Ask Ubuntu

previously, laptop used ubuntu 14.04 without trouble, after passing ubuntu 16.04 (not upgrading, formatting), i've rendering problems. since cannot put here specific details because don't know happening, i'm searcher error yet. my current assumption that, rendering issues affecting gtk applications (for example, pdf images being rendering poorly in evince , not in okular ). what want know if there's way know, in easiest way possible, if application gtk or qt one, open different applications, see shows bad rendering, , library has been use build software.

boot - Unable to access BIOS anymore (fastboot issue perhaps) - Ask Ubuntu

a few weeks ago, installed lubuntu 16.04 on machine alongside windows 10. now, win 10 boots through uefi , lubuntu boots through csm. (don't ask why, having issues) that setup alright, have take step of changing boot mode whenever wanted switch os. fine till , update broke windows. didn't have time worry fixing it, time being said i'll go linux while however, cannot access bios. on machine (a toshiba satellite c855d), pressing f2 before boot allowed me enter bios. no longer works. no matter how fast or when press f2 key, boots directly ubuntu. read somewhere holding escape before boot allow me enter bios, if hold (or function keys) more second, system beeps indefinitely no other feedback. now think may have accidentally (re?)enabled fastboot, , why cannot go anywhere before linux boots, after googling, have no idea go. without being able access bios or boot menu, how can windows? edit in case interested in why want go windows i want play games (although can...

Kernel, Loader, and Firmware boot times too high, how can I speed up them? - Ask Ubuntu

i have problem boot times on hdd. systemd-analyze time returns this: startup finished in 5.413s (firmware) + 6.303s (loader) + 4.379s (kernel) + 26.090s (userspace) = 42.187s i managed reduce "userspace" using "critical-chain" , removing useless services. firmware, loader, , kernel times seems high. come clean installation of ubuntu gnome 16.04 , i'm using kernel 4.4.0-45-generic. can me?

python 2.7 - OSError: [Errno 2] No such file or directory on Ubuntu 16.04 - Ask Ubuntu

using ubuntu, trying use scikit-learn examples snippet: #!/usr/bin/env python # -*- coding: utf-8 -*- """ examples of reading texts files , classifying them """ __future__ import division import datetime import sklearn.datasets time1 = datetime.datetime.now() ##from sklearn.datasets import fetch_20newsgroups ######## reading text files rootpath = r"/home/web2py/corpus/20news-18828/" however, got error: file "/usr/local/lib/python2.7/dist-packages/sklearn/datasets/base.py", line 201, in load_files folders = [f f in sorted(listdir(container_path)) oserror: [errno 2] no such file or directory: '/home/web2py/corpus/20news-18828/ i ery new ubuntu , scikit-learn stuff. issue/error , how solved.? oserror: [errno 2] no such file or directory: '/home/web2py/corpus/20news-18828/ i ery new ubuntu , scikit-learn stuff. issue/error , how solved.? i see error here if meant home directory: /home/ . should /ho...

lxde - How to prevent Lubuntu to launch lxpanel on startup? - Ask Ubuntu

couldn't find @lxpanel command in several autostart files distributed in live version of lubuntu 16.04, i'm wondering specify panel has created when session starts. can kill afterwards lxpanelctl exit , prefer not start it, reduce overall startup time.

16.04 - Guys is it possible to dual boot windows 10 and ubuntu on this machine - Ask Ubuntu

i have windows 10 installed uefi bios, want install ubuntu on it. first time did nothing appeared, got taken windows. second time did command gnu appeared able type , nothing, if typed exit exited , taken windows. deleted ubuntu again , same problem continued formatted laptop. want know possible download ubuntu , dual boot windows. if yes, how? specs below: * bios: uefi * hard drive: 1tb * operating system: windows 10 * laptop graphics card: nvidia geforce 940m 2gb dedicated ram guys important me, because ubuntu studying.

command line - bash - echo negation - Ask Ubuntu

echo ${string##*.} # show after last "." how can revert (negate) - show before last "." ${string%.*} remove shortest trailing portion matching .* see example parameter expansion in excellent bashguide

16.04 - Thumbdrive does not show files after write - Ask Ubuntu

(possibly) noob question, couldn't find via google so..trying luck here. using ubuntu 16.04, when write files thumbdrive, , open thumbdrive in computer, not appear. tried multiple files, dont appear if never wrote them. anyone has clue whats going on?

unity - Ubuntu 16.04 : Nautilus doesn't club windows from mounted drives - Ask Ubuntu

Image
i have installed 16.04 on system. have 2 external drives mounted. before, whenever open windows, show me in single nautilus window default on top in unity application bar. now, have click on mounted drives shown @ bottom. somehow clubbing them single nautilus disabled. how can club them, have click on nautilus icon instead of individual drives. nautilus version : 3.14.3 below screenshot : i hope problem clear. if not, kindly let me know. thank you,.

Why do Thunderbird emails to a particular type of addresses consistently bounce? - Ask Ubuntu

emails send people gmx.de in second part of address consistently bounce, while these people don't seem have problem on side: happily send me mail , receive others on address. problem not seem in undesired mail detection (which incoming mail anyway, isn't it? i'm still training it, i've been on thunderbird month now). when still used windows outlook (until recently) did not have problem. happy if has suggestion! in thunderbird open tools menu , go options -> advanced -> general -> advanced configuration -> config editor . confirm warning careful , press keyboard combination ctrl + f. opens search window. fill in window: mail.strictly_mime . press enter, , come out preference. adjust true . source

networking - Ubuntu 16.04 - cannot re-connect the WiFi network after connection changes - Ask Ubuntu

say ubuntu laptop connected wifi network. reason had restart wireless router. after router rebooted successfully, wifi network list not update , when log out , in system again, network can set automatically. same thing happen when turn off network function on ubuntu , try reconnect. does. 1 can help? the system x64_86 , run on asus - k550l laptop. think problem arose when installed system ( cleared disk ubuntu :) ) it's not unacceptable annoying me sometimes.. appreciated! after running lspci -nn gives following information: 00:00.0 host bridge [0600]: intel corporation haswell-ult dram controller [8086:0a04] (rev 09) 00:02.0 vga compatible controller [0300]: intel corporation haswell-ult integrated graphics controller [8086:0a16] (rev 09) 00:03.0 audio device [0403]: intel corporation haswell-ult hd audio controller [8086:0a0c] (rev 09) 00:04.0 signal processing controller [1180]: intel corporation device [8086:0a03] (rev 09) 00:14.0 usb controller [0c03]: inte...

apt - Ubuntu 16.04 -ImportError: No module named 'UbuntuDrivers' - Ask Ubuntu

i having problems opening software-properties , closing; couldn't open. tried open on terminal , i'm getting error: /usr/lib/python3/dist-packages/softwareproperties/gtk/softwarepropertiesgtk.py:40: pygiwarning: gdk imported without specifying version first. use gi.require_version('gdk', '3.0') before import ensure right version gets loaded. gi.repository import gobject, gdk, gtk, gio, glib /usr/lib/python3/dist-packages/softwareproperties/gtk/softwarepropertiesgtk.py:40: pygiwarning: gtk imported without specifying version first. use gi.require_version('gtk', '3.0') before import ensure right version gets loaded. gi.repository import gobject, gdk, gtk, gio, glib traceback (most recent call last): file "/usr/bin/software-properties-gtk", line 37, in <module> softwareproperties.gtk.softwarepropertiesgtk import softwarepropertiesgtk file "/usr/lib/python3/dist-packages/softwareproperties/gtk/softwarepropertiesg...

nvidia - vgaarb: this pci device is not a vga device : driver message - Ask Ubuntu

i vgaarb: pci device not vga device in dmesg. screen flashes lot @ boot, , @ times can booted tty. can ctrl+alt+f7 desktop environment. output of dmesg: http://paste.ubuntu.com/23381803/ any guesses guys? similar problems https://chakralinux.org/bugtracker/index.php?do=details&task_id=1332 https://bbs.archlinux.org/viewtopic.php?id=216155 other details: output of lspci , /var/log/xorg.0.log http://paste.ubuntu.com/23381786/ . output of lshw http://paste.ubuntu.com/23381790/ vga card: $ lspci | grep vga 00:02.0 vga compatible controller: intel corporation sky lake integrated graphics (rev 07) os , kernel: ~  lsb_release -a no lsb modules available. distributor id: neon description: kde neon user edition 5.8 release: 16.04 codename: xenial ~  uname -a linux neon 4.4.0-45-generic #66-ubuntu smp wed oct 19 14:12:37 utc 2016 x86_64 x86_64 x86_64 gnu/linux since might related nvidia: ~  dpkg -l | grep nvidia ii nvidia-361 ...

kernel - Computer lock up troubleshooting tips/solutions? - Ask Ubuntu

i using hp 15 notebook pc ubuntu , computer locks on ridiculous level. it's @ least dozen times per day. i'm sure it's hardware problem @ point "guaranteed" customer care manufacturer refuses me because uninstalled windows pc (oops.) guess gotta fix end. out there have troubleshooting tips or solutions? appreciated. update 1: advised use kernel param "intel_idle.max_cstate=1" fix issue intel bay trail /etc/default/grub there current bug in intel bay-trail based devices involving frequent freezes, lockups , crashes, have intel cpu sleep states (c-states). current alternative, of kernel ~4.8, prevent cpu entering c-states deeper 1. first, open /etc/default/grub sudo gedit /etc/default/grub find line containing quiet splash , , add intel_idle.max_cstate=1 directly following it: quiet splash intel_idle.max_cstate=1 save , close. then, run command: sudo update-grub and you're set! unfortunately, fix dirty , results in fa...

gpu - CPU on Ubuntu running high - Ask Ubuntu

in terminal used "top" check processes , how of cpu being used thought max 100%, restored 292,000 photos recoverjpeg on sda1 hdd, opened folder , nautalis fluctuating between 130% , 170% , should close program , @ risk of gpu locking ? when looking @ cpu% or load factor have divide number of cpu cores x hyper threading. if have quad core processor hyper threading it's in interpreted 8 cpu's. if cpu% shows 200% , 8 cpus real cpu usage 25%. if load factor show ".92" , have 8 cpus real load factor ".115". in conky massage load factor (for 5 minutes, 10 minutes , 15 minutes) using: ${execpi .001 (awk '{printf "%s/", $1}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $2}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $3}' /proc/loadavg; grep -c processor /proc/cpui...

hard drive - HD errors - boot failed again with Ubuntu 16.04 - Ask Ubuntu

boom! morning has happened again... new hard disk bought 2 days ago. :( :( like previous hard disk, had manually run fsck repair hard disk errors. after ubuntu boots normally. what's going on? before had 2 terabytes hd "green label" western digital, bought more reliable 1 terabytes "black label". i have installed smartmontools also, check new hard disk. tool didn't find error or problem. i have no idea or should investigate further... motherboard info: sudo dmidecode -t 2 # dmidecode 3.0 getting smbios data sysfs. smbios 2.6 present. handle 0x0002, dmi type 2, 15 bytes base board information manufacturer: asrock product name: n68-gs4 fx version: serial number: m80-4c025302133 asset tag: d05099606e79 features: board hosting board board replaceable location in chassis: chassis handle: 0x0003 type: motherboard contained object handles: 0 bios ...

Is there a support contact for the Ubuntu Software Centre purchases? - Ask Ubuntu

i bought in ubuntu software centre , getting error on install (all of automated via software centre). there can contact this? this purchase of linux format 158. notice error log mentions linux format 157, different issue. error if delete issue 157 related file. error log: installarchives() failed: (reading database ... (reading database ... 5% (reading database ... 10% (reading database ... 15% (reading database ... 20% (reading database ... 25% (reading database ... 30% (reading database ... 35% (reading database ... 40% (reading database ... 45% (reading database ... 50% (reading database ... 55% (reading database ... 60% (reading database ... 65% (reading database ... 70% (reading database ... 75% (reading database ... 80% (reading database ... 85% (reading database ... 90% (reading database ... 95% (reading database ... 100% (reading database ... 1649832 files , directories installed.) preparing unpack .../lxf158_1.0-0ubuntu2_all.deb ... unpacking lxf158 (1.0-0ubuntu2) ....

login - Xubuntu guest session crashing - Ask Ubuntu

we have 3 computers @ our facility our guests use. of them installed xubuntu 14.04. one has issue guest session. after login crashes , returns login screen. not able find out cause, nor solution. perhaps should try copying files /etc/skel/ 1 of cunctional pc's troublesome 1 , see if helps. what cause? have examined of logs, can't find see causing this. i gave taking time - , reinstalled system. solved problem.

nvidia - Ubuntu 16.04; Not Sending Signal to Dual Monitor Setup But Works With Single Monitor - Ask Ubuntu

so problem whenever try plugging in second monitor, ubuntu crashes. works fine when single monitor plugged in. when plugging in second monitor , having ubuntu stop sending signal monitors, i've tried sshing in check /var/log/xorg.0.log , see if system can see either monitor @ all, no luck since system crashes (still new os; don't know if there other logs can check me out). similar problem when try booting system both monitors plugged in: make grub, , ubuntu crashes. i've read through older forum questions , dug around google solutions. i've tried uninstalling , reinstalling nvidia drivers , tried nouveau drivers found in additional drivers (i have gtx 970). solutions, , trying different wires (which shouldn't problem because setup works windows), find. any suggestions? if duplicate question, missed first time question asked. if point me in right direction, appreciate it. thanks! edit/update after running 2 scripts in background , sending/updating output ...

upgrade - How did I end up with 16.04 LTS but 2.6.32 kernel, and how to fix it? - Ask Ubuntu

for reason, vps seems running ubuntu 16.04.1 2.6.32 kernel. how possibly have ended here, given 16.04.1 comes 4.4 kernel? , how can safely fix problem? i tried apt install linux-generic (and rebooting afterwards) didn't help. diagnostic info when log on vps, get: welcome ubuntu 16.04.1 lts (gnu/linux 2.6.32-042stab117.14 x86_64) relevant command output: $ lsb_release -r release: 16.04 $ uname -r 2.6.32-042stab117.14 2.6.32-042stab117.14 kernel number virtuozzo ( openvz ). openvz container-based virtualization linux. openvz creates multiple secure, isolated linux containers (otherwise known ves or vpss) on single physical server enabling better server utilization , ensuring applications not conflict. each container performs , executes stand-alone server; container can rebooted independently , have root access, users, ip addresses, memory, processes, files, applications, system libraries , configuration files. openvz free open source softwa...

networking - mon0: ERROR while getting interface flags: No such deviceuse - Ask Ubuntu

when try use command airodump-ng mon0 returns device not found how solve this? dani@danish:~$ sudo airmon-ng start wlp12s0 found 5 processes cause trouble. if airodump-ng, aireplay-ng or airtun-ng stops working after short period of time, may want kill (some of) them! pid name 795 networkmanager 808 avahi-daemon 911 avahi-daemon 994 wpa_supplicant 1133 dhclient process pid 1133 (dhclient) running on interface wlp12s0 interface chipset driver wlp12s0 broadcom wl - [phy0]mon0: error while getting interface flags: no such device (monitor mode enabled on mon0) it rather known broadcom sta driver doesn't support monitor mode. can confirm yourself: iw list my wireless card reports: supported interface modes: * ibss * managed * ap * ap/vlan * monitor * p2p-client * p2p-go * p2p-device moreover, broadcom devices, 1 , 1 driver supports device. these, know of...

networking - Ethernet port and WiFi adapter not detected, Ubuntu 16.04 - Ask Ubuntu

Image
excuse me newbie mistakes i'm making, first time running linux distro. i'm running ubuntu 16.04 off live usb drive on dell vostro 2510. if plug ethernet cable in, doesn't show under network. cable , connection work fine on other computers, i'm thinking it's os not detecting port on computer. same thing happens wifi, os doesn't detect laptop's wifi adapter. i've tried disabling , reenabling networking taskbar. here's screenshot network settings: here's ifconfig: ubuntu@ubuntu:~$ ifconfig lo link encap:local loopback inet addr:127.0.0.1 mask:255.0.0.0 inet6 addr: ::1/128 scope:host loopback running mtu:65536 metric:1 rx packets:4852 errors:0 dropped:0 overruns:0 frame:0 tx packets:4852 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 rx bytes:358752 (358.7 kb) tx bytes:358752 (358.7 kb) i'm left no way access internet on machine. how...

java - Can't create new project in Netbeans8.1 - Ask Ubuntu

Image
i downloaded netbeans 8.1, want start learn programming in java. downloaded "all" java bundle , left install while went school. suppose finished installing because when got icon on desktop. when clicked on new project, running program first time, not create new project. so run ubuntu 16.04 , don't know if have problem java version or something? because i've done research can't use solutions got because problem isn't same others i've seen. can please me this? edit yes! tried install additional plugins link recommended, , got message: message when downloading plugins, gui builder or java it seemed me other research i've done computer uses jre instead of jdk. saw have change that, , searched computer jdk have openjdk, has folder inside named jre, , oracle-java-8, has jre inside, have seen jdk folder... meen downloaded wrong type of java before downloaded netbeans?

server - service temporarily unavailable short periods - Ask Ubuntu

i noticed every , "service temporarily unavailable" message on of sites running on server, after refresh work again. can see resources have been allocated correctly not 100% causing this. logs can check pinpoint problem? have not tried since don't know causing this. had @ php limits , seems standard , nothing have been changed. i running ubuntu server 14 nginx.

LibreOffice Calc GUI not in order under Xubuntu - Ask Ubuntu

Image
as see ui not in order, , cannot tell if because of "playonlinux" or not. writer seems ok though, why gui not ok?

keyboard - Down Arrow Key not working. Need to reassign - Ask Ubuntu

i'm new linux/ubuntu/etc, , gabbed old unused laptop home. turns out down arrow key doesn't work, need reassign. reassign pgdn key down arrow key, have no idea start. i running ubuntu 14.04 tahr if need other info ask , try find it many thanks

wireless - Xubuntu 14.04.05 LTS, usb wifi doesn't connect after waking up - Ask Ubuntu

i've got asus wifi usb adapter (n10) works fine except ubuntu doesn't seem detect when wake computer suspend. works fine on reboots, , when take out , plug in again works too. if auto-detect though, nicer. might worth noting i've got windows 8 on hard drive too, , when waking detects wifi adapter fine. thanks help!

command line - Seafile can't run for ccnet daemon Error - Ask Ubuntu

Image
what can if seafile can't run throwing ccnet daemon error? use these commands: ccnet -c ~/.ccnet -d seaf-cli start seaf-cli status line 1 runs ccnet daemon (a background process) line 2 starts seafile line 3 check status from on, can sync folders.

youtube-dl: download a YouTube channel without user ID - Ask Ubuntu

the youtube-dl ytuser:<youtube username> option referred in question: youtube-dl : downloading youtube user's complete video collection requires user id. youtube channels not indicate user id, this youtube channel . how can download entire channel? you don't need use youtube-dl ytuser:<youtube username> option. able start downloading , download several videos channel linked in question without using option, answer won't work on older versions of youtube-dl. tested answer on both old , new version of youtube-dl. worked on latest version of youtube-dl, didn't work on old version. update youtube-dl latest version before start downloading videos in channel. sudo apt-get install python-pip sudo pip install youtube-dl if you're fussy am, don't need use sudo pip . can install latest version of youtube-dl inside python virtual environment using pip install youtube-dl without sudo . have 2 versions of youtube-dl installed. can us...

16.04 - Installing ubuntu on an HP chromebook - Ask Ubuntu

this question has answer here: true ubuntu on chromebook arm 3 answers i have chrome book. hp chromebook 14. want install ubuntu on it. no dual booting. simple ubuntu. there way? i recommend taking @ galliumos . it's based on xubuntu 16.04 modifications run better on chromebooks, such special kernel patches audio support. linked above hardware compatibility chart detailing chromebooks compatible galliumos, , steps needed install it.

filesystem - fsck error on boot: /dev/sda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY - Ask Ubuntu

i dual boot ubuntu , windows 7. browsing on firefox in ubuntu , of sudden error message, rebooted. now when try boot ubuntu message: fsck util-linux 2.26.2 /dev/sda6 contains file system errors, check forced. /dev/sda6: inodes part of corrupted orphan linked list found. /dev/sda6: unexpected inconsistency; run fsck manually. (i.e., without -a or -p options) fsck exited status code 4 root filesystem on /dev/sda6 requires manual fsck busybox v1.22.1 (ubuntu 1:1.22.0-15ubuntu1) built in shell (ash) enter 'help' list of built-in commands. (initramfs) _ how can fix this? try this: fsck /dev/sda6 (where /dev/sda6 partition mentioned) then reboot , should fine.

networking - Ubuntu Server 16.10 - WiFi Driver installation without internet - Ask Ubuntu

during installation of ubuntu, detected wireless adapter fine , able connect without problems. however, after installation, no longer detects wireless adapter. first tried setting etc/network/interfaces: auto lo iface lo inet loopback auto wlan0 iface wlan0 inet static address 192.168.2.30 netmask 255.255.255.0 gateway 192.168.2.254 wpa-ssid idhere wpa-psk passhere dns-nameservers 8.8.8.8 192.168.2.254 then tried changes: sudo ifdown wlan0 && sudo ifup -v wlan0 which resulted in: wpa_supplicant: /sbin/wpa_supplicant daemon failed start this didn't tell me tried: sudo /etc/init.d/networking restart this resulted in error telling me run: journalctl -xe and here got errors: could not read interface wlan0 flags: no such device wext: not set interface 'wlan0' up wlan0: failed initialize driver interface since wired connection not available me (broken port), started doing research on how install drivers original cd (which on usb ...

python - how can i plot simple functions like sine x with IPython? - Ask Ubuntu

Image
my teacher plot functions jupyter or ipython. have installed jupyter , have home screen. but how can plot function? i have tried: plot sin(x) but message: file "<ipython-input-4-7979a129f00f>", line 1 plot sin(x) ^ syntaxerror: invalid syntax from terminal type: sudo apt-get install ipython-notebook python-numpy python-matplotlib the latest version of ipython notebook known jupyter notebook. can optionally install jupyter notebook instead of ipython notebook. in ubuntu 14.04/16.04/16.10 follow instructions in this answer install jupyter notebook upgrading ipython notebook jupyter notebook. starting ubuntu 17.04, can install jupyter notebook default ubuntu repositories ( sudo apt install jupyter-notebook jupyter-core python-ipykernel ). python-ipykernel necessary running python 2.x programs in jupyter notebook, otherwise supports python 3.x. if jupyter notebook installed, command start jupyter jupyter notebook , first line ...

command line - Untar files to destination directories based on tar file names - Ask Ubuntu

i have tar file named _home_rock_files.tar tarred in source server , once copied tar destination server have same directory structure _home_rock_files . now, question arises here. i want write shell script automatically untars _home_rock_files.tar , untars archive /home/rock/files/ ; destination path specified in file name this. i came set of bash commands: [sudo] find * -type f -name "specify file name"| while read file ; # read files destpath="$(echo "$file"| sed 's/_/\//g;s/.tar//')"; #rerplace _s /s , drop .tar ext achive destpath mkdir -p "$destpath"; #create directory path of despath tar xzf "$file" -c "$destpath" ; #untar file destpath done

gconf - What schema is Gnome using - Ask Ubuntu

still trying understand schemas are, though looks gnome loads there general data configure desktop. there several in /usr/share/glib-2.0/schemas/ , how know 1 gnome using? also, there command gnome change different schema? gsettings , gconf seem update xml files, i'm still missing link alter current schema. i'm running gnome 3.4.1 under ubuntu 12.04-based distro.

networking - 16.10 not seeing USB WiFi device on startup - Ask Ubuntu

after update 16.10 not seeing on startup plugged usb wifi device. make see wifi adapter have manually replug usb cabel , start working. syslog after replug nov 5 05:39:50 vv0iadyk kernel: [ 319.718918] usb 1-8: new high-speed usb device number 7 using xhci_hcd nov 5 05:39:50 vv0iadyk kernel: [ 319.876121] usb 1-8: new usb device found, idvendor=148f, idproduct=3070 nov 5 05:39:50 vv0iadyk kernel: [ 319.876123] usb 1-8: new usb device strings: mfr=1, product=2, serialnumber=3 nov 5 05:39:50 vv0iadyk kernel: [ 319.876124] usb 1-8: product: 802.11 n wlan nov 5 05:39:50 vv0iadyk kernel: [ 319.876126] usb 1-8: manufacturer: ralink nov 5 05:39:50 vv0iadyk kernel: [ 319.876126] usb 1-8: serialnumber: 1.0 nov 5 05:39:50 vv0iadyk mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8" nov 5 05:39:50 vv0iadyk mtp-probe: bus: 1, device: 7 not mtp device nov 5 05:39:51 vv0iadyk kernel: [ 321.411210] usb 1-8: reset high-spe...

boot - How to move Ubuntu into RAM AFTER booting, whilst deleting as much as possible? - Ask Ubuntu

this post suggests how move ubuntu ram http://dreamlayers.blogspot.com/2012/10/running-linux-from-ram.html i'm wanting pretty same, on low memory system 512mb or less. so, given "standard" ubuntu 16.04 server, directories delete trim down minimum before moving whole thing ram , running there? put way, not essential? by "minimum" mean ability run many of command command line utils plus run scripts, interpreters i.e. python. the ultimate idea able reformat hard disk server booted from, , after still have of "common" command line tools available carrying out various tasks required install new operating system onto top of existing hard disk. my specific question being, can delete base install of ubuntu server 16.04 whilst still having functional os common uses?

14.04 - Ubuntu 14 dual monitor problem - Ask Ubuntu

i have problem ubuntu 14, these steps: put applications on 2 screens. lock ubuntu. allow monitors sleep. unlock ununtu. opened apps still running of them moved single monitor. can't access opened app until lock & unlock ubuntu again. this problem happened suddenly, did not changed setting. have 2 philips 24" monitors, same model.

Would the application "Terminal" normally come ALREADY installed on a MacBook? - Ask Ubuntu

i discovered terminal window opened on macbook , had never heard of , has made me suspicious of share macbook (wife). computer illiterate , had commands in suggested computer being used remote control. didn't install app. says didn't. can tell me @ least if have come factory installed? being paranoid!? thank you yes. mac osx comes terminal app pre-installed.

Missing Nvidia driver problem causes overheating, but installed driver results in black screen (ubuntu 16.04) - Ask Ubuntu

i run ubuntu/gnome 16.04 on xmg a516 nvidia geforce gtx 965m. right use nouveau driver, can see in picture. problem think fan gpu not working because right side of laptop gets pretty hot after time , not hear sound fan. in contrast fan cpu works perfect (left side). lm-sensors not detecting fans or gpu temperature. i read need install nvidia driver work, if after reboot boot black screen (tried apt-get install nvidia-367 , .deb nvidia homepage). purge/remove nvidia driver , here go ubuntu gives me gui again. me okay if not use nvidia card, not okay notebook overheating. appreciate hints can give me! software center picture sudo sensors-detect sudo sensors acpitz-virtual-0 adapter: virtual device temp1: +45.0°c (crit = +120.0°c) coretemp-isa-0000 adapter: isa adapter physical id 0: +45.0°c (high = +100.0°c, crit = +100.0°c) core 0: +43.0°c (high = +100.0°c, crit = +100.0°c) core 1: +43.0°c (high = +100.0°c, crit = +100.0°c) core 2: +42.0...

hard drive - Why is e2fsck just filling my screen with numbers? - Ask Ubuntu

i ran e2fsck alternate superblock because superblock missing. couldn't boot ubuntu, ran recovery mode. at beginning asked me if wanted narrow extent trees, , pressed yes all. after few minutes started printing numbers, numbers scroll fast see , take whole screen. it's been going 20 or 30 mins (this 3tb nas hard drive connected sataiii). should stop it? how long should running for?

Parental control but not restriction - Ask Ubuntu

i have way measure spent time in computer in each application. in case of son, has account in desk computer, use play game , watch cartoons on netflix/youtube. measure how time spends on each thing, not want restrict internet parent control does, know how time son spend if not have restrictions. if there way implement in own account more 2 applications. by way, using sparky linux, hope not big problem... thanks. there whatpulse . in theory if set program autostart in child’s account track how time spent on specific applications, , other things. however, think son may turn off if opens himself , chooses quit. if knows of more elegant solution, please share.

16.04 - Stuck in login loop after installing AMD graphics driver - Ask Ubuntu

installed amd graphics driver form here . after reboot, unable login. keeps comming login screen when type password , hit enter. can't login guest user. i have tried every thing form solution nothing worked me. have tried this chown username:username .xauthority sudo chmod a+wt /tmp dpkg-reconfigure lightdm sudo service lightdm restart file . profile seems fine. i using ubuntu 16.04 lts, linux kernel version 4.xx please suggest can't work done without ubuntu. thanks in advance. your gpu not supported amdgpu driver. should uninstall driver installed amd. you need either use open source radeon driver included ubuntu, or downgrade ubuntu 14.04 (no newer 14.04.4 point release) , use fglrx proprietary driver if need use rather open source radeon driver.

wireless - Archer T6E conflagration - Ask Ubuntu

i new in ubuntu world. have tp-link archer t6e ac1300 installed computer. however, cannot use wifi on linux ubuntu 16.04.1 lts because don't have drive wireless card. contacted company told don't have driver ubuntu. facing same problem motherboard , gpu drivers. don't have available drivers ubuntu. have maximus gene viii matx motherboard , 1060 1060 gtx 3gb gpu. thanks i had issue, setup rather simple fix. if under applications>system tools. you'll find program called additional drivers, open it. browse tab "additional drivers" , wait load. amongst list of other potential drivers, find 1 says "broadcom corporation: bcm4360" , select "use driver" option, "apply changes" button. i'm unaware if system restart required, restart after installing new drivers insure functional before begin. if solution not work machine, apologize. ~best of luck!

sound - Default audio device selection not working - Ask Ubuntu

Image
i set device default: but when open new audio application, ignores selection: i had same problem. went audio , video (phonon audio , video) , had change order of devices listed under audio hardware setup fixed issue me running kubuntu 16:10 kde plasma.

networking - TLP turned off the OS's ability to show available wireless connections - Ask Ubuntu

Image
hello installed tlp , when battery got low, wifi stopped. connected power adapter. , got wifi back. have changed value of wifi_pwr_on_bat off in tlp config. no more able see list of available wifi connections. here screenshot: i faced same issue on different computer in older version of ubuntu. here pastebin link wireless script output: http://pastebin.com/xcm7ya8w kindly help. thanks the wireless adapter seems working alright , appears networkmanager doesn't deal tlp's shenanigans. restarting networkmanager fixed issue: sudo systemctl restart networkmanager.service

software installation - Ubuntu 14.04 LTS - Not able to find libmlpack-dev - Ask Ubuntu

in github of mlpack, mentioned can install using apt-get, unable locate package error libmlpack-dev. please advise. you can install libmlpack-dev ubuntu 14.04 ppa @ https://launchpad.net/~titas-chanda/+archive/ubuntu/armadillo . in case not obvious ppa indeed contain libmlpack-dev package, see https://launchpad.net/~titas-chanda/+archive/ubuntu/armadillo/+sourcepub/6312138/+listing-archive-extra . to install libmlpack-dev using ppa, do: sudo add-apt-repository ppa:titas-chanda/armadillo sudo apt-get update sudo apt-get install libmlpack-dev

themes - How to change system icon to different color - Ask Ubuntu

Image
i browsing ubuntu icon theme on internet, found papirus icon theme . screenshot, can tell icon promising enough. decided install it. indeed, icon offered colorful, nice modern looking , elegant design. think i've found icon theme :) still, there things bother me much. system icon has same color menu background color, , therefore invisible. user icon : if hover mouse "guest session", icon appear. volume icon : same goes volume icon battery icon : invisible battery icon my question is: how change these icon's color different color (black in case) ? update firefox screenshot: update this problem reported papirus icon site. here bug report https://github.com/papirusdevelopmentteam/papirus-icon-theme-gtk/issues/18 but developers closed bug report saying coloring symbolic icons not possible in ubuntu. quoting here icons on menu indicator it's ubuntu specific bug only, because unity not colorize symbolic icons. can't chang...

16.04 - Admin password will not respond - Ask Ubuntu

this question has answer here: how reset lost administrative password? 13 answers i have ubuntu 16.04 lts. computer fine yesterday afternoon, when fired in evening kept asking me admin password. typed in correct - many times. can't computer! it's not new computer. please advise. using employer's laptop write this. hello computer keyboard english , old (the letters fading on it) i'm sorry, don;t know encrypted means. typist (not 1 on laptop!) arijit - i'm sorry, clicked on "him" thank , doing suggested , has taken me website. please re-send instructions again. seemed easy follow post has disappeared! hello again arijit - realised have done - no need re-send! struggle me. @melanie: 1. boot recovery mode grub menu (using shift key if ubuntu os) 2. after boot, go option drop root shell prompt 3. type mount -o rw,rem...

kubuntu - KDE power management cannot start - Ask Ubuntu

so had updated plasma today through konsole, latest version. ever since update cannot access power management (energy saving.) how looks through settings: http://i.imgur.com/aevmp20.png i tried reinitializing power management through background services recommended prompt. box ticked, , clicking on start result in error message (i'd love send picture, i'm told need reputation:( ) the resulting error message, mentions powerdevil: http://i.imgur.com/ofukqir.png i have been using kubuntu 1.5 weeks, complete noob. capable of navigating through cli, may need bit more thorough explanations. thus far bit disappointed (linux) kubuntu, don't know how has been fifth major bug since installing, not mention 1 had fix grub after installing. i'm bit frustrated still trying real hard fix problems encounter. first case can't seem fix using resources find yet, , have been @ last 2 , half hours. sorry rant, i'm little bit frustrated right , think needed vent. tha...

boot - Ubuntu stopped seeing SSD - Ask Ubuntu

i have problem , hope ubuntu community can me out here. in short: ubuntu lost partition of ssd. how happened: looking through external hard drive searching ebook. once found pdf (around 100mb), highlighted , pressed ctrl+c , system froze. couldnt kill process, nothing unfreeze it, first time in life googled how restart os hard way. found sysrq button method, mistyped bit: rei usb . maybe messed system, since later saw comments each letter , remounted systems , synced mounted systems. anyways, point on, ssd disappeared everywhere, bios. drive had , ubuntu os installed on it. have loaded live cd usb, tried looking partitions. ubuntu@ubuntu:~$ sudo parted -l model: ufd 2.0 silicon-power8g (scsi) disk /dev/sda: 8054mb sector size (logical/physical): 512b/512b partition table: msdos disk flags: number start end size type file system flags 1 1049kb 8054mb 8053mb primary fat32 boot, lba gparted shows same picture. usb livecd available. , apparent...

16.04 - Is there any way to make Audacious music player playes still after it exits? - Ask Ubuntu

Image
i using audacious default music player , removed rhythmbox ubuntu 16.04. but want play music using audacious , have functionality of rhythmbox of continuing play music after exits while music can still controlled music menu is there way make audacious play control music menu after exits rhythmbox? first, go view > visualizations on side menu, click "plugins", open "general" tab, you'll see few checkbox option. enable "status icon" one. open "settings" configure plugin, below "other settings" section, enable "close system tray". audacious play-on-close in 16.04 system.

wireless - How to unblock something listed in rfkill? - Ask Ubuntu

i think may have found cause of problems connecting wifi in ubuntu 11.10. i type in terminal: peter@peter-ao531h:~$ rfkill list 0: phy0: wireless lan soft blocked: no hard blocked: yes 1: acer-wireless: wireless lan soft blocked: yes hard blocked: no peter@peter-ao531h:~$ rfkill unblock peter@peter-ao531h:~$ if correct must unblock of "yes", right? nothing happens when try unblock. typing wrong command? typing "sudo modprobe -r acer_wmi" seem have added problem, can't try click on "enable wireless"-button has been grayed out , "1: acer-wireless: wireless lan" not show anymore in rfkill list. have idea how fix that? edit: rebooted , not grayed out anymore , rfkill list shows as: 0: phy0: wireless lan soft blocked: no hard blocked: no 1: acer-wireless: wireless lan soft blocked: yes hard blocked: no the 0 not hard blocked anymore, guess 1 needs put off soft blocked somehow. "har...

command line - Need help with a bash script - Ask Ubuntu

i'm having problems figuring out how bash script since i'm new bash. want grab files have in directory, change names (i think changing names part can done mv) , move them directory (again mv). problem files not have extension. named after numbers so: 1, 2, 3 etc. number. how grab each extensionless file, change name , move it? thank you. you can use extended globbing search files digits in names: shopt -s extglob file in +([0-9]) ; newname=newpath/... # build new name. mv "$file" "$newname" done

16.10 - Cannot make change between Traditional and Romanized keyboard layout Nepali? - Ask Ubuntu

look @ screenshot according this , said nepali language can switch traditional layout , wanted unable , find settings mentioned. choose language nepali , default romanized layout , need traditional. in website settings mentions using older version of ubuntu doesn't match now. using ubuntu 16.10 please me switch traditional keyboard layout! install ibus-m17n package. log out , log in again. open system settings -> text entry , click + button , select nepali (trad (m17n) (ibus) . repeat last step nepali (rom (m17n) (ibus)

Upwork is not running on ubuntu 14.04 - Ask Ubuntu

Image
in morning upwork working fine, after lunch time run sudo apt-get update command after showing error error message: there problem loading upwork please help downloading libnss3 package , installing resolve issue. type commands given below one-by-one in terminal download , install libnss3 :- 64-bit wget http://launchpadlibrarian.net/233346181/libnss3_3.19.2.1-0ubuntu0.14.04.2_amd64.deb sudo dpkg -i libnss3_3.19.2.1-0ubuntu0.14.04.2_amd64.deb 32-bit wget http://launchpadlibrarian.net/233346229/libnss3_3.19.2.1-0ubuntu0.14.04.2_i386.deb sudo dpkg -i libnss3_3.19.2.1-0ubuntu0.14.04.2_amd64.deb another method resolve issue downloading , installing of beta desktop app of upwork instead of stable 1 on ubuntu. helpful links installing upwork team app on ubuntu linux troubleshooting upwork team app

partitioning - Why can't I use my unllocated disk space? - Ask Ubuntu

Image
i want increase /home partition size , merge in unallocated disk space. how can please? you can't increase space because mounted, in use. increase space must boot live gparted session bootable usb or disk. hope helped.

networking - How to use Internet connection of a remote server in the local machine? - Ask Ubuntu

is possible use internet connection of server in our local computer local internet connection slow , internet connection on remote machine fast. there possible way on ssh or something? if limitation local pc's bandwidth, browsing on ssh tunnel not increase local connection speed. limit still exist. if, you're going use remote machine download, , save there (not on local machine), there definite speed benefits. this can complicated though, , depends entirely on want achieve. i'd suggest reading official openssh/portforwarding document. i've set link go directly "local port forwarding" section. seems you're looking for.

kernel - Why isn't this module loading? - Ask Ubuntu

i've installed third party package librealsense . part of download sets uvcvideo compiled kernel module. once done reboot modified kernel. can see uvcvideo.ko file reason it's not loading. what's going on here? $ sudo modprobe uvcvideo modprobe: error: not insert 'uvcvideo': unknown symbol in module, or unknown parameter (see dmesg) $ uname -r 4.4.0-47-generic $ ls /lib/modules/4.4.0-47-generic/updates/dkms/ uvcvideo.ko vboxguest.ko vboxsf.ko vboxvideo.ko $ dmesg | grep uvcvideo [ 44.581338] uvcvideo: unknown symbol vb2_queue_init (err 0) [ 44.581344] uvcvideo: unknown symbol v4l2_fh_exit (err 0) [ 44.581354] uvcvideo: unknown symbol video_ioctl2 (err 0) [ 44.581357] uvcvideo: unknown symbol media_device_unregister (err 0) [ 44.581361] uvcvideo: unknown symbol vb2_streamoff (err 0) [ 44.581363] uvcvideo: unknown symbol media_entity_create_link (err 0) [ 44.581368] uvcvideo: unknown symbol vb2_queue_release (err 0) [ 44.581373] uvcvideo: ...

bash - Finding the lines with the lowest value in their third column given grep results - Ask Ubuntu

i have file consists of lines (other numbers included). part of output of $ grep 1848 filename.csv how can find top 5 lines have lowest third column in .csv file given 1848 either in first or second column? 1848,2598,11.310694021273559 1848,2599,10.947275955606203 1848,2600,10.635270124233982 1848,2601,11.916564552040725 1848,2602,12.119810736845844 1848,2603,12.406661156256154 1848,2604,10.636275056472996 1848,2605,12.549890992708612 1848,2606,9.783802450936204 1848,2607,11.253697489670264 1848,2608,12.16385432290674 1848,2609,10.30355814063016 1848,2610,12.102525596913923 1848,2611,11.636595992818505 1848,2612,10.741178028606866 1848,2613,11.352414275107423 1848,2614,12.204860161717253 1848,2615,12.959915468475387 1848,2616,11.320652192610872 unfortunately 1848 appears in third column , need ignore that: 6687,8963,9.241848677632822 6687,9111,10.537325656184889 6687,9506,11.315629894841848 with gnu sort: grep -e '(^1848|^[0-9]{4},1848)' file | sort -t...

boot - Slow Performance of Ubuntu16.04 inside VMWare on laptop - Ask Ubuntu

i installed ubuntu 16.04 on vmware workstation recently. since ubuntu has been booting slowly. has been performing well. my laptop config is: intel i7 core processor, 16gb ram, 2tb hd , 4gb nvidia graphics card. allocated space ubuntu 50gb, ram 8gb, processors 2 , cores 2. still ubuntu hangs in between. can please ?? result systemd-analyze is: startup finished in 6.542s (kernel) + 17min 27.054s (userspace) = 17min 33.597s result systemd-analyze blame is: 17min 17.980s apt-daily.service 9.039s modemmanager.service 7.676s accounts-daemon.service 6.211s grub-common.service 5.183s ondemand.service 5.042s dev-sda1.device 4.659s networkmanager.service 4.613s networking.service 4.484s gpu-manager.service 4.356s pppd-dns.service 3.964s apparmor.service 3.522s snapd.firstboot.service 3.111s lightdm.service 2.585s polkitd.service 1.590s rsyslog.service 1.550s irqbalance.service 1.512...

networking - WIFI blocked - Blacklisting blocks WIFI for dual boot - Ask Ubuntu

i dual boot linux , windows on computer. have gone linux mint ubuntu. wifi isn't instantly compatible linux. used work linux mint (which knowledge builds on ubuntu) write "blacklist acer_wmi" /etc/modprobe.d/blacklist config . however, run command in ubuntu locks wifi os:es. is, ubuntu finds no wireless networks, rfkill list lists bluetooth, and, in windows, wifi "option" greyed out. correcting file mentioned above doesn't help. actually, have format hard drive , boot in legacy mode have computer find wifi again. i have no idea how begin troubleshooting problem. any appreciated! [edit] lspci -knn | grep net -a4 gives following 09:00.0 network controller [0280]: intel corporation wireless 7260 [8086:08b1] (rev c3) devicename: intel stone peak 2 7260 ac 2x2 + bt4 le combo subsystem: intel corporation dual band wireless-ac 7260 [8086:c070] kernel driver in use: iwlwifi kernel modules: iwlwifi dmesg | grep iwl [ 7.682...

how to set MAAS for "power type" on VM created with VMware Fusion - Ask Ubuntu

Image
home lab: 1 vm ubuntu 16.04lts maas region controller 2 vm ubuntu 16.04lts maas rack controller (dns & dhcp), each 1 2 virtual network adapter 1 vnode ubuntu 16.04lts each rack controller on vmware fusion on maas region controller the vnodes added but don't know how set power type able start commissiong of vnodes via maas. can me please? think solution wrong someone knows how resolve that? what version of maas server ? if using maas version 2.0, power type vms created in vmware vmware enter image description here you can choose virsh vms crated in kvm hypervisor. you can @ documentation : http://maas.io/docs/en/installconfig-power-types hopely can you.

server - Need help with iptables - Ask Ubuntu

i use bash script configure iptables, try connect webserver listen 80 port, requests denyed $ipt -a output -j log_drop7 . if not use rule, ports opened! #!/bin/bash def_sshport=9811; eth_interface=ens3; echo "the network interface $eth_interface."; echo "the ssh port $def_sshport."; ipt=/sbin/iptables; #remove previous $ipt -x; $ipt -f; $ipt -t nat -f; $ipt -t nat -x; $ipt -t mangle -f; $ipt -t mangle -x; ###################### # default policy drop# ###################v## $ipt -p input -j drop; $ipt -p forward -j drop; $ipt -p output -j drop; #rules log , drop $ipt -n log_drop; $ipt -a log_drop -j log --log-prefix "input:drop: " --log-level 6; $ipt -a log_drop -j drop; $ipt -n log_drop1; $ipt -a log_drop1 -j log --log-prefix "input:drop1: " --log-level 6; $ipt -a log_drop1 -j drop; $ipt -n log_drop2; $ipt -a log_drop2 -j log --log-prefix "input:drop2: " --log-level 6; $ipt -a log_drop2 -j drop; $ipt -n log_drop3;...