Posts

Showing posts from February, 2014

Fresh install of 16.04 LTS extremely slow with ATI ES1000 GPU - Ask Ubuntu

i installed 16.04 on hp dl360 g5. extremely slow. system monitor shows 4 xeon cores running between 35% , 75%. sorting highest processor use top, in processes, shows compiz using 10% 20% of cpu. the ui (unity desktop) slow. moving window or typing textbox has incredible delay. how troubleshoot this? ideas what's wrong? update: i've discovered high cpu usage (35% 75% per core) occurs when when i'm on resources tab. if go processes tab bit, switch resources, can see while away per core processor usage drops near zero. as per comments, issue turned out op's video card had 64mb of vram, , didn't have hardware 3d acceleration @ all. unity being 3d desktop environment, absolutely brought gpu knees. the solution install 2d desktop environment, such lxde.

Best practice for Samba file permissions: To use nobody.nogroup or not? - Ask Ubuntu

i have been running samba file server multiple shares, multiple users , different samba-level permissions (i.e. write list, read list). way set on file system change ownership of shared files , directories nobody.nogroup. in smb.conf, every 1 of samba shares, used force user = nobody force group = nogroup this way, delegate control of permissions samba layer. it's not pretty how got work in ubuntu 12.04. have upgraded ubuntu 16.04 , re-visited samba configuration. using nobody.nogroup @ filesystem level seems defeat purpose of filesystem security. wondering best practice filesystem-level permissioning in setup.

file properties - Error: "Untrusted application launcher" for desktop-shortcuts - Ask Ubuntu

i got new pc ubuntu 14.04 today , i'm struggling creating desktop shortcuts. wanted libreoffice shortcut, went urs/share/applications, copied , pasted on desktop. if try run error "untrusted application launcher". wanted change properties, since root owner (ridiculous such program btw.) can't it. appreciate advice. greetings you not version of ubuntu using. however on systems, if can find program in dash (the equivalent of microsoft windows start menu ), should case of right clicking relevant icon , choosing 'add desktop' sometimes (on xubuntu example) first time launch desktop icon, 1 time message asking if wish make file executable.root access should not required.

16.04 - loading a PHP mySQLnd for Xenial - Ask Ubuntu

i trying php mysql native driver ubuntu 16, seems if using ubuntu 14, simple installing php5-mysqlnd package: http://packages.ubuntu.com/search?keywords=php5-mysqlnd but not see xenial listed supported platform , xenial comes php7. does know how load php mysqlnd in ubuntu 16? thanks,

16.04 - kernel reporting incorrect CPU count - Ask Ubuntu

it ubuntu 16.04 $ uname -a linux m-x170 4.4.0-42-generic #62-ubuntu smp fri oct 7 23:11:45 utc 2016 x86_64 x86_64 x86_64 gnu/linux the processor used xeon e3 1245 v5 spec'ed quad core 8 threads per core. dmidecode -t processor shows core count: 4 core enabled: 4 thread count: 8 characteristics: 64-bit capable multi-core hardware thread execute protection enhanced virtualization power/performance control , lscpu shows $ lscpu architecture: x86_64 cpu op-mode(s): 32-bit, 64-bit byte order: little endian cpu(s): 8 on-line cpu(s) list: 0-7 thread(s) per core: 2 core(s) per socket: 4 socket(s): 1 numa node(s): 1 vendor id: genuineintel cpu family: 6 model: 94 model name: intel(r) xeon(r) cpu e3-1245 v5 @ 3.50ghz and when queried htt, there too. $ sudo dmidecode | grep htt htt (multi-threading) the question is: wh

apt - Since ubuntu 16.04 LTS Software Updater fails with dpkg: error processing package virtualbox-qt - Ask Ubuntu

since ubuntu 16.04 lts software updater every time fails dpkg: error processing package virtualbox-qt (--configure): dependency problems - leaving unconfigured. fully entry in /var/log/apt/term.log is: dpkg: error processing package virtualbox (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of virtualbox-qt: virtualbox-qt depends on virtualbox (= 5.0.24-dfsg-0ubuntu1.16.04.1); however: package virtualbox not configured yet. package virtualbox-3.2 provides virtualbox not installed. dpkg: error processing package virtualbox-qt (--configure): dependency problems - leaving unconfigured virtualbox virtualbox ose (open source edition) , have uninstalled , reinstalled using sudo apt-get install virtualbox virtualbox-qt virtualbox-dkms already. virtualbox , virtual machines running fine. above error comes every time software updater runs. this not problem kernel module si

apt - How can I fix a 404 Error when using a PPA or updating my package lists? - Ask Ubuntu

Image
ppa seems offline. whenever use sudo apt-get update , error shown: w: failed fetch http://ppa.launchpad.net/ 404 not found how fix these errors? automated removal skip bottom of answer scripted way remove offending software-sources ubuntu versions prior ubuntu 15.04 what 404 errors the 404 or not found error message http standard response code indicating client able communicate server, server not find requested. the web site hosting server typically generate "404 - page not found" web page, when users attempts follow broken or dead link. what causes of these errors in update-manager typically, 3 main areas cause these errors in update-manager a user has upgraded , has re-enabled ppa software-source no longer exists a user has manually typed in new software source incorrectly a ppa added, maintainer has subsequently deleted some/all of ppa where these software-sources ppas typically saved in 1 of 2 locations /etc/apt/sou

Installing Broadcom Wireless Drivers - Ask Ubuntu

Image
i'm having serious problems installing broadcom drivers ubuntu. worked on previous version, now, impossible. what steps install broadcom wireless drivers bcm43xx card? i'm user no advance knowledge in linux, need clear explanations on how make, compile, etc. lspci -vnn | grep network showed: broadcom corporation bcm4322 802.11a/b/g/n wireless lan controller [14e4:432b] iwconfig showed: lo no wireless extensions. eth0 no wireless extensions. note: answer below updated every time new information added , confirmed working. 0. introduction , background this answer based on extensive research done various ubuntu users worked in issues related broadcom. special chili555 helped in ubuntu forums , on site many questions related wireless devices , others have contributed through e-mail, chats, irc , more in testing various drivers several of popular broadcom wireless cards (huge chili555 really. guy knows stuff). in total wanted offer a

system installation - dual boot, change Windows 10 -> Windows 7 - Ask Ubuntu

i have dual boot windows 10 , ubuntu 16.04.1 lts. want remove windows 10, , replace windows 7. however, after reading https://help.ubuntu.com/community/windowsdualboot , several questions on topic, started doubt i'll without corrupting ubuntu, because there many steps may go wrong. so, wondering, there kind of guide such situation, or procedure just: delete windows 10, leaving empty space win 7, described in question: how remove windows keep ubuntu? install windows 7 precautionary measures mentioned on windowsdualboot page edit: attached image partition scheme. partitions it best set windows using instructions installing windows after ubuntu. (e.g. format windows 10 partition, install 7 in partition, reinstall grub)

boot - Both `systemd` and `upstart` (init) installed - which package(s) determents what's default? - Ask Ubuntu

i've been playing around (a bit much?) "unrecognized tasks" in aptitude , , have installed lots of extra-packages - able freely choose between different desktop-managers... @ point during this, apparently went using systemd using upstart/init ancestral process. both systemd , upstart installed however. i know it's possible select other ancestor "advanced option"-entry in grub boot-menu. suppose edit /etc/grub.d - or grub command-line @ boot-time. however, what/which package(s) - or possibly config-file - sets default ancestor-process either systemd or upstart/init - ie. among other things decide degfault entry in grub? it's (somewhat) separate actual installation, since both flavors can installed @ once...

lubuntu - problems with firejail --overlay - Ask Ubuntu

i´ve got problem firejail. in principle sandbox works quite well. can start browser (firefox/midori) , other applications (like rhythmbox). want use overlay-functionality: firejail --overlay firefox. yet doesn´t work. firefox produces following message: " firefox profile cannot loaded. may missing or inaccessible". yet can´t be. without firejail there´s no problem , "firejail firefox" works well. following message taken terminal: rosika@rosika-lenovo-h520e ~> firejail --overlay firefox reading profile /etc/firejail/firefox.profile reading profile /etc/firejail/disable-mgmt.inc reading profile /etc/firejail/disable-secret.inc reading profile /etc/firejail/disable-common.inc reading profile /etc/firejail/disable-devel.inc reading profile /etc/firejail/whitelist-common.inc warning: --overlay , --noroot mutually exclusive, noroot disabled parent pid 2362, child pid 2363 overlayfs configured in /home/rosika/.firejail/2362 directory warning: cannot find home d

drivers - Problems with Wifi on Gnome 16.10 Asus laptop - Ask Ubuntu

just got new worklaptop, , have been trying 2 days wifi working.. as advised in https://ubuntuforums.org/showthread.php?t=2191382 i chose give search , ask help, because have tried kinds of solutions, no avail. last thing tried symlink new driver in /lib/firmware older one, because trying load driver not downloaded yet. ( lrwxrwxrwx 1 root root 22 okt 21 22:05 iwlwifi-7265d-24.ucode -> iwlwifi-7265d-22.ucode ) https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release gives impression version laptop wants newer being released stable. the output of diags: lspci 00:00.0 host bridge: intel corporation skylake host bridge/dram registers (rev 08) 00:02.0 vga compatible controller: intel corporation hd graphics 520 (rev 07) 00:04.0 signal processing controller: intel corporation skylake processor thermal subsystem (rev 08) 00:14.0 usb controller: intel corporation sunrise point-lp usb 3.0 xhci controller (rev 21) 00:14.2 signal processing controller:

xorg - How can I choose AMD graphics card as default for Ubuntu 16.04? - Ask Ubuntu

context i have spend time solving , stuck. when inspect output of lspci , find have 2 possible vga controlers: 00:02.0 vga compatible controller: intel corporation 2nd generation core processor family integrated graphics controller (rev 09) (prog-if 00 [vga controller]) 01:00.0 vga compatible controller: advanced micro devices, inc. [amd/ati] whistler [radeon hd 6730m/6770m/7690m xt] (rev ff) (prog-if ff) only default intel processor graphics seem chosen now. confirmed running lshw -c display , gives: *-display description: vga compatible controller product: 2nd generation core processor family integrated graphics controller vendor: intel corporation physical id: 2 bus info: pci@0000:00:02.0 version: 09 width: 64 bits clock: 33mhz capabilities: vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:36 memory:c0000000-c03fffff memory:b0000000-bfffffff ioport:6000(size=64) now problem this

Installing Ubuntu in external HD (dual boot) and without the necessity of turning off my windows - Ask Ubuntu

i know if possible create dual boot without necessity of turning of windows. explaining: recently tried install ubuntu in windows machine, , having trouble install nvidia driver, ubuntu freezing, , possible way turn off computer pressing power button (i forcing shut down)... , know.. mess hardware... idea install ubuntu without compromising machine... if ubuntu freezes start again without forcible shut down. thanks. when dual boot, grub giving choice of running ubuntu or windows. if choose ubuntu, windows not start up, therefore cannot turn windows off. therefore, have solve ubuntu problems within ubuntu. windows isn't available take on in system lockup.

How to add System user that not be shown in lightdm login screen window or User Accounts? - Ask Ubuntu

Image
i want create user no login, no home , not shown in lightdm login screen window or user accounts tool. others users in /etc/passwd: sshd, syslog, avahi... i've tried command line: useradd -r -u 1001 -m -g 1001 media but still can see user in user accounts tool: thanks in advance!! note: question has been claimed duplicated don't think so. main difference want create kind of user never shown in lightdm login screen window neither user accounts tool. user not have defined $home different thing. use command: $ sudo adduser --no-create-home --disabled-login --shell /bin/false --system --uid 1001 media $ sudo addgroup --gid 1001 media when running test, using man pages arguments, -gid in adduser command suppose create group specified name , supplied number. however, in functionality has apparently changed without docs being updated. on test, specifying --gid fails error: adduser: gid 1001 not exist . dropped --gid create new number when creating u

tar - How to force "archive manager" (file-roller) to use all cpu cores? - Ask Ubuntu

i using ubuntu's archive manager (file-roller) compress (tar.gz) large files , directories. often takes long time, because program uses 1 of 8 cpu cores. is there way force archive manager use cpu cores? i've been trying find answer question myself, , can report partial success: p7zip, while not maxing out cores, seems make quite bit of use of more one, @ least while compressing. on dual-core system, maxes out both cores, , on family member's quad-core, maxes out 1 core , runs other 3 @ half load, varying between 30% , 80% or so. extraction seems not multi-threaded @ all, though, maxes out 1 core , rest idle along. i've tried installing various of multi-core capable compressors , creating links them /usr/bin, file roller ignored them. find in research hint on german forum (if goog's translation accurate) there apparently hard-coded paths in file-roller source, suggested replace original binaries in /bin links (theoretically command-line-compatible

drivers - How do I get a Realtek RTL8723BE wireless card to work? - Ask Ubuntu

i have installed ubuntu 15.04 on laptop rtl8723be wi-fi card. disconnecting network. have tried echo "options rtl8723be fwlps=n ips=n" | sudo tee /etc/modprobe.d/rtl8723be.conf didn't helped. can prevent wifi disconnecting? if upgrade kernel 4.x, help? ~$ lspci -knn | grep net -a2 09:00.0 network controller [0280]: realtek semiconductor co., ltd. rtl8723be pcie wireless network adapter [10ec:b723] subsystem: hewlett-packard company device [103c:2231] kernel driver in use: rtl8723be ~$ rfkill list 0: hci0: bluetooth soft blocked: yes hard blocked: no 1: phy0: wireless lan soft blocked: no hard blocked: no ~$ ifconfig && iwconfig && route -n && ping -c 1 google.com eth0 link encap:ethernet hwaddr 38:63:bb:cd:4a:7e broadcast multicast mtu:1500 metric:1 rx packets:3 errors:0 dropped:0 overruns:0 frame:0 tx packets:53 errors:0 dropped:0 overruns:0 carrier:0 collisions

16.04 - File in /etc/sudoers.d/ not recognized - Ask Ubuntu

running fresh install of ubuntu server 16.04.1, tried add file in /etc/sudoers.d/ give 1 user root privileges command. i added file /etc/sudoers.d/servicetest following content: servicetest = (root) nopasswd: /bin/systemctl status * the file /etc/sudoers left untouched. contains #includedir /etc/sudoers.d last line. setup unfortunately not working, when executing appropriate command sudo user servicetest , still asked password. however, if move content of file /etc/sudoers.d/servicetest end of /etc/sudoers , working expected. what cause of issue? how can files in /etc/sudoers.d/ working? apparently, files included in /etc/sudoers file must have 0440 permissions security reasons. way root can edit file , owner , members of owner group can read it, making less file used attempt escalate privileges. you can check requirements on included file on /etc/sudoers.d/readme , 2 other requirements filename shouldn't start . (hidden files) or end ~ (convention b

graphics - MSI Radeon 480 drivers on Ubuntu 15.04 - Ask Ubuntu

uh oh! appears i've screwed display settings current installation. bought new graphics card monitor i'll getting soon, in trying resolution corrected in ubuntu installation, i've done wrong , no longer able desktop environment. command used amalgamation of following askubuntu links: this recent one as, previously, this one . so rig desktop intel cpu , new msi radeon on samsung evo ubuntu 15.04 installed. after installing card logged on ubuntu installation find resolution off. used mentioned links try , solve problem unable continue using ubuntu graphical interface , have on command line. pending solution current video card, way working state in?

repository - How to get the latest gVim on Ubuntu 14.04? - Ask Ubuntu

this question has answer here: is there ppa gvim > 7.4.338? 3 answers i create gvim appimage using packages 14.04 (why not 16.04? because 16.04 packages new appimages run on distributions newer or same age distribution who's packages they're built from). gvim appimage latest version of gvim, need repository 14.04 provides latest gvim. have searched launchpad vim ppas maintained , have not found (all ones found out-of-date). my questions: i know can build latest gvim debian package checkinstall, want use gvim package repository build gvim appimage makes things lot simpler. where can find recent debian package of gvim? alternatively, how can build appimage container arbitrary set of binaries (downloaded somewhere or compiled source)? an appimage self-mounting filesystem image contains application , needs run in single file. here example bui

unity - How can I debug missing menu clicks? - Ask Ubuntu

after turning on option "show menus in window's title bar" i'm intermittently experiencing issue clicking (left-click) on application menu has no effect (i.e. menu not drop down). seems happen application , i've seen since @ least ubuntu 16.04. i've posted screen recording youtube can see happens when click. moving mouse around cause succeed there doesn't seem consistent place in menu click works. the screen recording clean install of 16.10 on 2016 dell xps 13. i'm @ loss how debug issue further , suggestions welcome.

keyboard layout - How do I remap the keys to snap windows to the left or right - Ask Ubuntu

currently hotkey ctr-super-left/right. want super-left/right, there setting allow me this? you can use compizconfig setting manager (download using apt if not installed). then under categories find windows management button . here, click on grid , , under bindings tab want modify left maximize , right maximize bindings. click on button , disable need ctrl binding.

networking - Share Ethernet connection with second NIC (SmartTV) - Ask Ubuntu

i running ubuntu 16.04 , having trouble sharing wired internet connection smarttv. my setup single on-board gigabit port (enp3s0) , separate 100mbit pcie card (enp6s0). the enp3s0 connected directly rj45 socket in wall. connects dchp , works flawlessly. i wish allow smarttv, connected via cat5e cable second nic enp6s0, have full access internet connection. the tv samsung ue55hu7500. it's quite limited settings can change regarding networking. can set "get settings automatically" or enter values ip address, subnet mask, gateway , dns server. setting automatic , connecting tv wall works fine. know can fixed switch, right that's not option. i have been trying while limited networking skills not helping. can provide me simple explanation of how working. if using gui: (only works ipv4) go in network connections setting click add select ethernet click create use drop-down list device option enp6s0 , or desired device. click ipv4 settings

16.10 - Resetting Ubuntu - Ask Ubuntu

this question has answer here: how reverse factory settings? 2 answers how factory data reset ubuntu ? i love ubuntu(linux) think there should software backup system settings windows. thank it's not simple backup system settings* there's answer here . factory data reset might reinstall ubuntu. follow instructions here make bootable ubuntu usb stick if haven't , install ubuntu it. you'll want use option 'erase disk , install ubuntu' when it, presuming you're not dualbooting. * i suppose if want easy option in ubuntu try reporting bug on launchpad command ubuntu-bug asking submitting feature request ignored.

16.04 - USB bluetooth dongle cannot recognize previously detected devices - Ask Ubuntu

i got problem using bluetooth keyboard usb bluetooth dongle between multiple computers. have ubuntu 16.04 gnome 3 on 1 of machines , keyboard recognized correctly on first run dongle. however, plug out usb dongle use on other machines, , plug in back, keyboard not recognized anymore. my current workaround delete device, , pair again scratch every time plug in usb dongle. how can diagnose , solve issue?

mysql - Take backup of a server which is 90% full - Ask Ubuntu

how take backup of live (database) ubuntu server, 90% full , how use tar or rsync & mysqldump command copy 1 server another? from machine can access server across network on tcp port 3306, can use mysqldump remotely, , it's same running on server itself, except dump file created locally. the --host option used specify ip address of server. --compress option allow transfer faster across wire. purpose -- transport compression -- doesn't make actual backup file smaller. this can done server running normally. rsync not safe tool use mysql server, if mysql running. won't hurt server, , backup appear work, files not usable. same applies tar or other copies files themselves. using mysqldump not read files directly, if run locally. in ubuntu, typing mysqldump on machine isn't installed, should prompt several options of "client" packages include it, 1 of should fine.

root - Delete a file without having permission - Ask Ubuntu

can delete file in linux without having nor permission or root access? thank you. you can delete files without permission in /home/user/ folder , in /tmp/ folder can delete files aren't owned root, other that, big no.

networking - Linksys wusb6300 not starting after reboot - Ask Ubuntu

i have succesfully installed usb wifi adapter on ubuntu-gnome system. however, when reboot system, doesn't start automatically. have unplug , when plug in, work again. find way let boot pc, don't have un/replug wifi adapter because on of pc. lsmod + lsusb after reboot thanks in advance niels based on op's output of lsmod , lsusb before unplugging , plugging in adapter after reboot, id of device/driver 8112au . to manually initiate device driver, use commands modprobe -r 8812au modprobe 8812au finally, automate adding these 3 lines /etc/rc.local after line reads exit 0 : modprobe -r 8812au sleep 1 modprobe 8812au the driver should automatically started on boot.

Ubuntu 14.04 login screen loop - Ask Ubuntu

this question has answer here: ubuntu gets stuck in login loop 37 answers when try login in ubuntu, login , freeze in desktop screen. when try solve refer this link , problem solved small trouble.after restart , login ubuntu login , shows same login screen. search "login loop" referred this link . installed unity desktop , reboot , restarted ubuntu still problem not solved. hope lot of faced problem if yours solved. please share solutions me retrieve ubuntu os. thanks, ami i've seen when root/home partition 100% full. check can type: ctrl-alt-f1 at login screen (which drops shell) , login normal. after have logged in can type: df -h which report disk usage.

partitioning - How do I share remaining SSD space among Ubuntu partitions while dual booting Windows 10(pre-installed) and Ubuntu? - Ask Ubuntu

due crashes had on ubuntu, decided reinstall os. i have laptop 500 gb ssd , 16 gb of ram. has windows 10 installed on it. 300 gb of total disk space(500 gb ssd) of laptop occupied 2 partitions (one of 120gb - windows partition, other of 180gb). want dual boot ubuntu. i'll using ubuntu compile android custom roms , 1 source file ~30gb. any ideas on how should share rest of 200gb between ubuntu partitions? i use use default scheme this. i'm using w10 video editing , need bit of space (avisynth uses .avi format takes lot of space) , tried separate whole ssd both of os. used have 1gb hdd before, broke. bought next big thing money had, samsung ssd 500gb. until had 20gb on root. 24gb on swap , rest on home.

How to open Nautilus directory in current Terminal? - Ask Ubuntu

Image
i don't have dozens of terminals opened. there way add open in current terminal instead of open in terminal when using nautilus? dirty or not, solution below worked in 30 minutes tested frequently. solution works long can right-click file (any) inside directory: 1. 2. 3. nautilus script #!/usr/bin/env python3 import subprocess import os import time def replace(path): c in [("%23", "#"), ("%5d", "]"), ("%5e", "^"), ("file://", ""), ("%20", " ")]: path = path.replace(c[0], c[1]) return path def get(command): try: return subprocess.check_output(command).decode("utf-8").strip() except subprocess.calledprocesserror: pass t = get(["pgrep", "gnome-terminal"]) if t: w = [l.split()[0] l in get(["wmctrl", "-lp"]).splitlines() if t in l][0] # curren

How can I have every key on a standard keyboard make a Thunk when key is struck - Ask Ubuntu

is there way make keys make "thunk" noise when each key struck? have use of left hand , need auditory feedback when strike key. when upgraded 16.04 (lts) python click program colleague wrote around 2007 quit working. months have been using emulator outputs typewriter clicks. appreciate in getting solid thunk feedback going again.

networking - ubuntu recognize huawei E8231 usb-wifi but the internet not working - Ask Ubuntu

got problem huawei usb-wifi , can't find solution since 2 days. if can or guide me great. 2 days ago , bought huawei e8231 usb-wifi vodafone when try connect ubuntu , following scenarios happened: when connect stick power adapter , wifi works , able connect internet android phone , laptop windows.ubuntu connects wifi internet doesn't work (doesn't load page) can load configuration page through browser 192.168.8.1 when plug stick usb port on laptop: in windows , internect works , appear lan caple connected laptop. in ubuntu , notification appear saying connection established. connected 'wired connection 2' but when load web page doesn't load configuration page load perfectly. if can or guide me , great because it's been 2 days in real pain. thanks connection established. connected 'wired connection 2' the above means device correctly identified , working expected via emulated ethernet connection. knowing connected

networking - Cannot access specific websites Ubuntu 16.10 - Ask Ubuntu

i installed fresh copy of ubuntu 16.10 on laptop today, , cannot access specific websites, when had windows on laptop. way me access these websites using vpn. , no has nothing isp, because said on same laptop , network able access websites. these websites pretty random observe (live.com example). how should deal issue?

bash - What is the name of the text to the left of a command (as typed in a terminal) called? - Ask Ubuntu

i wondering if there name leftmost text (after type command) in linux terminal. like ubuntu@ubuntu:~$ do have name this? it's called primary prompt string, set shell according ps1 environment variable. set per user basis, interactive shells only, (usually) defined in ~/.bashrc default \s-\v\$ . on system: $ echo "$ps1" \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ and expanded to: username@hostname:pwd$ check prompting section of man bash see each token does.

Need direct link to download Linux(Ubuntu 11.04) Operating System - Ask Ubuntu

i need direct link download linux(ubuntu 11.04) operating system .it should free version evaluation purpose . the latest version ubuntu 16.10. may downloaded free here: http://releases.ubuntu.com/16.10/

vga error after automatic update in 16.04 - Ask Ubuntu

Image
16.04 lts: after automatic update, images in screen distorced in web browsers: problem remains unfixed still today! i found url: https://01.org/linuxgraphics contains automatic tool install , keep update intel vga drivers in ubuntu 16.10. not work previous versions of ubuntu.

text processing - How to delete the lines from a file that do not contain dot? - Ask Ubuntu

i have file contains data including urls. there various lines not urls. how can remove them using ubuntu terminal commands? here sample file reference: sample data com.blendtuts/s °= com.blengineering.www/:http ±= i want have output : com.blendtuts/s com.blengineering.www/:http the unwanted lines not have dot. hence, want remove lines without dots one way sed sed '/\./!d' file /\./ match literal dot (escaped \ because otherwise . matches character) !d delete except matched pattern if want edit file in place, add -i command after testing. (you can add .bak -i flag sed -i.bak ... create local backup of file.) sed -i '/\./!d' file

kubuntu - mariadb-server installation - Ask Ubuntu

i installed mariadb-server on kubuntu 16.04.1 lts apt install mariadb-server mysql_secure_installation so far good, tried login after setting root password mysql -u root -p enter password: error 1698 (28000): access denied user 'root'@'localhost' then did service mysql status and saw 61108 18:04:29 [warning] 'user' entry 'root@localhost' has both password , authentication plugin specified. password ignored. this ended after trying sort of attempts (like purge, reinstall, mysql_install_db, etc..) overcome this. shouldn't that, right? solutions? i found https://www.percona.com/blog/2016/03/16/change-user-password-in-mysql-5-7-with-plugin-auth_socket/ article put light on question. just recap, after installation do: mysql -u root -p update mysql.user set authentication_string = password('s0mepassword'), plugin = 'mysql_native_password' user = 'root' , host = 'localhost'; flush privileges

alias - Aliases not available when using sudo - Ask Ubuntu

i playing around aliases today , noticed aliases don't seem available whilst using sudo : danny@kaon:~$ alias alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' alias grep='grep --color=auto' alias l='ls -cf' alias la='ls -a' alias ll='ls -alf' alias ls='ls --color=auto' danny@kaon:~$ ll -d / drwxr-xr-x 23 root root 4096 2011-01-06 20:29 // danny@kaon:~$ sudo -i root@kaon:~# ll -d / drwxr-xr-x 23 root root 4096 2011-01-06 20:29 // root@kaon:~# exit logout danny@kaon:~$ sudo ll -d / sudo: ll: command not found is there reason why cannot use aliases whilst using sudo ? add following line ~/.bashrc : alias sudo='sudo ' from bash manual : aliases allow string substituted word when used first word of simple command. shell maintains list of aliases may set , unset alias , unalias builtin commands. the first word of each simple command, if unquoted, checked see if has alias .

boot - Xubunt Live USB hangs checking Windows partition - Ask Ubuntu

my notebook's ssd dead. tried use xubuntu live usb use while don't change ssd. when use option "try xubuntu without installing" in boot menu, starts loading stuck checking windows partition on ssd. says "the file system not safely closed on windows" when tries fix stuck on errors (that makes sense since ssd dead). possible prevent check? or option physically remove ssd? i've checked bios setup , there no way disable sata. thanks,

How to update grub on a dual boot machine? - Ask Ubuntu

i have machine installed ubuntu 16.04 on 1 partition , ubuntu 16.10 on another. have 200m partition mounts /boot/efi. basically use 16.04 , use grub installed 16.04. sometimes on 16.10 , update kernel. however, cannot update grub of 16.04 without entering it. have grub-install on 16.10 in order boot new kernel. when come 16.04, update-grub , grub-install, stupid think. how can update grub of 16.04 without entering it, there solution? can updating grub config file or using partition /boot? kind of operation dangerous? you can directly boot partition, not specific kernel. debian based (not sure others distributions) add link in / newest kernel , second newest also. boot link newest kernel. turn off os-prober, copy boot stanza drive & partition 40_custom. backup current grub.cfg , edit 40_custom sudo cp -a /boot/grub/grub.cfg /boot/grub/grub.cfg.backup sudo nano /etc/grub.d/40_custom add entry 40_custom, use drive & partition in place of (hd1,1) & sd

software recommendation - Better application switcher for Budgie desktop - Ask Ubuntu

this question has answer here: enabling window switcher in ubuntu budgie 17.04 2 answers i'm using budgie desktop currently, , enjoy it. it's got battery life, customizability, stability , speed, there's 1 thing bothers me; doesn't have real app switcher. pressing alt + tab switch apps, no dialog appears, , doesn't allow me select app want see; calls them front, on @ time. because of this, i've been looking third party app switcher that'll show dialog , let me select app switch instead of pulling front. right now, i'm using skippy-xd , exposé-style switcher. it's ok, i'd prefer linear method unity , gnome use. googling has turned nothing. think i'm not doing correctly. are there standalone app/task switchers (besides skippy-xd ) available ubuntu or linux in general? please note alt + tab behaviour built bu

gparted - How can I extend my Boot partition? - Ask Ubuntu

Image
is possible extend boot partition without having format whole disk? here configuration looks like: thanks in advance no. cannot expand /dev/sda1 partition. you free space on /dev/sda1 purge-old-kernels script (see http://manpages.ubuntu.com/manpages/xenial/man1/purge-old-kernels.1.html )

drivers - Dell XPS 9550 - 16.04 LTS: black screen on suspend - Ask Ubuntu

dell xps 9550 (15", 2015) -- 16gb swap, 250gb sdd, 4k upon opening computer suspending (whether closing lid or otherwise) screen black computer in fact on. when push audio function keys, can hear audio start/stop , tone when audio level changes. i have sufficient swap space , started upon installing 16.04. happens both nvidia binary driver - version 367.57...(proprietary) , x.org x server -- nouveau display driver geforce gtx 960m.

boot - Windows 10 and Ubuntu 16.04 “Xenial Xerus” - minimal - command line installation - Ask Ubuntu

windows 10 has being installed before doing following: first couldn't boot new usb stick created ubuntu 16.04 lts "xenial xerus" installation/minimalcd in uefi mode i've done few minutes ago, test windows 10 usb stick. i had boot in legacy mode, in order usb stick of ubuntu 16.04 lts "xenial xerus" run. i installed ubuntu 16.04 lts "xenial xerus" installation/minimalcd - command line installation. grub has been installed on ext4, dev/sdb2, sda usb stick. all done, in uefi starts windows 10 automatically, , in legacy mode, no system start @ all. now, when try access windows partition ubuntu should, can't access it, , asks formatting it. do consider if full lubuntu (not ubuntu) installation work? any ideas please? thank you.

software installation - Unable to locate package pycharm-community in ubuntu 16.04 - Ask Ubuntu

i have installed ubuntu 16.04(64-bit) , try install pycharm community(free version), have added following ppa successfully, sudo add-apt-repository ppa:mystic-mirage/pycharm then have applied following commands: sudo apt-get update sudo apt install pycharm-community but raises following error: e: unable locate package pycharm-community

14.04 - Graphics invert colors on HDMI monitor after waking from suspend - Ask Ubuntu

Image
i have 2 monitors on computer, both of work in general. when wake suspend, colors on many system-specific windows (eg. file browser) inverted. the colors inverted on right monitor, work fine on left monitor. repeatable, , happens when waking suspend. if screen capture, colors correct. any ideas how fix this? here computer specifics: monitor model: asus ve228h motherboard: gigabyte ga-z77x-d3h graphics card: xfx radeon hd 6870 add: option "colorspace" "rgb" in section "screen" file etc/x11/xorg.conf disable dpms if occur after suspend. xset -dpms <----- disble ! if file xorg.conf not exist: sudo gedit /etc/modprobe.d/radeon.conf option "colorspace" "rgb"

networking - The Requested URL Not Found - Ask Ubuntu

edit: i've confirmed webserver's documentroot pointing var/www of crm files are. just out of way: have been thrown under bus, know don't know ubuntu @ work need issue fixed new client. please, no lecturing. fast forward... i have client running ubuntu 16.04 lts. they're running presumably lamp, , crm called suitecrm; however, can't access it. machine it's on. when try go it: http://localhost/suitecrm i following error: not found requested url /suitecrm not found on server. apache/2.4.18 (ubuntu) server @ localhost port 80 at first thought maybe lamp services weren't started; however, can go localhost/phpmyadmin . the files in var/www ... has worked until friday. are there suggestions guys have me try? i'm lost, , i've been @ hours. edit #2: my 000-default.conf file: documentroot /var/www <directory /> options followsymlinks allowoverride none </directory> <directory /var/www/> options i

How to resolve hostnames in chroot? - Ask Ubuntu

i try repair broken ubunu 14.04 chroot. did, boot ubuntu usb mounted original system has repaired , changed system chroot: sudo mount /dev/sdxy /mnt sudo mount -o bind /dev /mnt/dev sudo mount -o bind /sys /mnt/sys sudo mount -t proc /proc /mnt/proc sudo cp /proc/mounts /mnt/etc/mtab sudo chroot /mnt /bin/bash that worked fine, in chroot environment don't have access internet, apt isn't able resolve hostnames. supposed do? ping www.askubuntu.com does not work either. on newer ubuntu systems, name resolution handled resolvconf service, , /etc/resolv.conf symbolic link /run/resolvconf/resolv.conf. can either add bind mount /run filesystem along other bind mounts before executing chroot command sudo mount -o bind /run /mnt/run so chroot system picks host system's dns settings or, once you're in chrooted system, temporarily create static /etc/resolv.conf nameserver(s) of choice e.g. echo 'nameserver 8.8.4.4' | sudo tee -a /etc/reso