Posts

Showing posts from May, 2010

postfix , dovecot imap/pop3 - Ask Ubuntu

i have mail server, postfix , dovecot. started both service: : ~ # /etc/init.d/postfix start [ok] starting postfix (via systemctl): postfix.service. : ~ # /etc/init.d/dovecot start [ok] starting dovecot (via systemctl): dovecot.service. but when tried telnet can not send mail: : ~ # telnet 192.168.xx.xx 25 trying 192.168.xx.xx ... connected 192.168.xx.xx. escape character '^]'. 220 ns1.xx.xx.id esmtp postfix (ubuntu) ehlo mail.xx.xx.id 250-ns1.xx.xx.id 250-pipelining 250-size 10.24 million 250-vrfy 250-etrn 250-starttls 250-enhancedstatuscodes 250-8bitmime 250-dsn 250 smtputf8 mail from: tes@xx.xx.id 250 2.1.0 ok rcpt to: admin@xx.xx.id 451 4.3.0 <admin@xx.xx.id>: temporary lookup failure when trying telnet imap/pop3: : ~ # telnet 192.168.xx.xx 143 trying 192.168.xx.xx ... connected 192.168.xx.xx. escape character '^]'. connection closed foreign host. : ~ # telnet 192.168.xx.xx 110 trying 192.168.xx.xx ... connected 192.168.xx.xx. escape character &#

Installing nvidia graphics drivers without rebooting - Ask Ubuntu

i know if can install nvidia graphics drivers on system running ubuntu 16.0.4 lts without rebooting. i have requirement created should able to: 1) install nvidia graphics drivers, version x, on ubuntu machine. ubuntu, default, come nouveau driver. step should uninstall nouveau , install nvidia driver version x 2) uninstall nvidia driver version x , install nvidia version y. basically, switch between graphics drivers(uninstall/install) without rebooting system. i know if has tried this. or got idea how achieve this. thanks

Ubuntu 14.04 Login Loop with additional monitor issue - Ask Ubuntu

i appear having relatively common login loop error described here ubuntu gets stuck in login loop . in brief, after login attempt, screen blacks out 5 seconds, , returns login screen i aware there variety of solutions problem, resolved editing .xauthority file. however, of these solutions start logging shell e.g. ctrl + alt + f3. when attempt log in shell, monitor goes idle. if cycle through using alt + ->, can return normal login screen after couple of goes. i suspect shell login screen whatever reason being output different non-existent screen. using macmini 2011 vga output. can offer solutions? i see mac mini uses ati graphics using fglrx, if updated hardware enablement stack incompatible fglrx , recommended use amdgpu (good luck that, i've been unsuccessful, if has guides i'd hear) have 2 choices go terminal ctrl+alt+f1 , enter command sudo apt-get remove fglrx* reset basic radeon drivers quite frankly suck. or can uninstall current image revert las

uninstall - Can I remove the first original OS (Windows 10) from Ubuntu 16.10 dual boot? - Ask Ubuntu

this question has answer here: how remove windows keep ubuntu? 4 answers my windows 10 slow, frustrated decided dual boot ubuntu. put 100 gigs on because wasn't sure if great idea (i have 400gb in total). love @ first test, wanna rid (uninstall) of windows 10 , put 400gb on ubuntu. question is, how go doing that? in advance. you can achieve creating gparted live usb ( http://gparted.org/livecd.php ), , use remove windows partition, , grow ubuntu partition edit: have windows reserved partitions too, such recovery partition. can remove well, long have/can make windows recovery disk later, if decide go back.

uml - Java libXt.so Unsatisfied Link error - Ask Ubuntu

i trying install "together uml tool" on ubuntu 16.04. giving me following error mukund@mukund-lenovo-u41-70:~/downloads$ ./ta_4244v2_linux.bin preparing install... extracting jre installer archive... unpacking jre... extracting installation resources installer archive... configuring installer system's environment... launching installer... invocation of java application has caused invocationtargetexception. application exit. (lax) stack trace: java.lang.unsatisfiedlinkerror: /tmp/install.dir.17310/linux/resource/jre/jre/lib/i386/libawt.so: libxt.so.6: cannot open shared object file: no such file or directory @ java.lang.classloader$nativelibrary.load(native method) @ java.lang.classloader.loadlibrary0(classloader.java:1560) @ java.lang.classloader.loadlibrary(classloader.java:1477) @ java.lang.runtime.loadlibrary0(runtime.java:788) @ java.lang.system.loadlibrary(system.java:834) @ sun.security.action.loadlibraryaction.run(loadlibraryaction.

dual boot - Ubuntu Installation Gone Bad - Ask Ubuntu

i had windows10/ubuntu dual boot. uninstalled ( think did ....advice appreciated ). tried ubuntu(dual boot) once again writing iso usb using rufus , creating partition using disk management. when try boot usb using advanced system startup i'm brought the grub screen photo. , responses appreciated. i'm trying learn more computers. resources great. thanks. specs : windows 10 home edition version 1607 os build : 14393.321 processor : intel(r) core i5-5200cpu &2.20ghz 2.20ghz ram: 8gb system type: 64 bit operating system , x64-based processor asus ubuntu - 16.04

sound - Ubuntu changing default audio output after suspend - Ask Ubuntu

on laptop i'm running kodi connected tv hdmi. after suspending , resuming audio doesn't come out of tv anymore out of laptops speakers. i've read multiple posts on how set default audio output after wakeup doesn't seem work. knows how fix this? fixing pulseaudio switching tv laptop on suspend this "undocumented feature" appeared ubuntu 16.04 , new version of pulseaudio 8. according websites bug fixed in version 9, whenever comes out. in meantime fix open terminal using ctrl + alt + t , type following commands: cd /lib/systemd/system-sleep sudo cp hdparm sound gksu gedit sound this copy existing file suitable permissions our new script titled tv-sound . use gedit change new file this: #!/bin/sh # name: sound # path: /lib/systemd/system-sleep # call: called systemd automatically # desc: pulseaudo 8 sets sound laptop when going sleep. # script sets sound tv. # date: sep 23 2016 # note: test psmouse askubuntu.com "touchpad

unity - No wallpaper in 16.04 - Ask Ubuntu

ever since installed ubuntu 16.04 (fresh, kept home directory), i've had broken wallpaper cannot change (i.e. changing wallpaper doesn't anything). tried resetting unity (unit-tweak-tool --reset-unity) , resetting compiz (dconf reset -f /org/compiz/). have no wallpaper (black). still, changing wallpaper doesn't have effect. i tried creating new user. new user works fine , can change wallpaper too. in fact, why figured having kept home directory might problem , reset unity , compiz. 1) try command gsettings set org.gnome.settings-daemon.plugins.background active true 2) run nautilus nautilus -n

games - Steam will not launch on HP Chromebook - Ask Ubuntu

i started running ubuntu on hp chromebook (unsure model), using crouton. tried installing steam, steam launcher says it's missing following 32 bit libraries. libc.so.6 had tried [sudo apt-get install libc.so.6] didn't work. tried deletiing steam, reinstalling via terminal. didn't work. downloaded site. you need 32-bit version of wine or steam. have x86 (i386) processor, means cannot use 64-bit versions of steam and/or wine. wine default 32-bit, need install correct version of steam. run command fix libc.so.6 dependencies: sudo apt-get install '^libc6.*' i recommend avoiding steam's website installation. install ubuntu repositories via: sudo apt-get install steam

software installation - Installing programs via wine - Ask Ubuntu

which better install windows programs, wine (wine program.exe) or via playonlinux? playonlinux frontend wine , makes easier manage wine prefixes , dependencies. you can install wine itself, or use playonlinux manager. playonlinux can make easier pick specific wine distributions , games.

networking - My Ubuntu 16.04 keeps disconnecting from the Wi-Fi (eduroam). Why? - Ask Ubuntu

i haven't noticed pattern , i'm sure wi-fi works because have no problems same computer using windows 10. wi-fi doesn't turn off though, disconnects network , reconnects after couple of minutes. i ran , got: lspci -knn | grep net -a2 03:00.0 network controller [0280]: qualcomm atheros ar9462 wireless network adapter [168c:0034] (rev 01) subsystem: azurewave ar9462 wireless network adapter [1a3b:2234] kernel driver in use: ath9k kernel modules: ath9k also running dmesg among many messages last 1 is: [ 3818.806656] wlp3s0: limiting tx power 5 dbm advertised 00:23:eb:39:28:21 any idea why happening? thank you. i suspect wireless card attempting roam instance of eduroam among several suspect nearby. confirm: sudo iwlist scan you can check: dmesg | grep assoc i think find card trying associate 1 , instance of eduroam. each have distinct mac address; a4:2b:b0:dc:45:99 , a4:2b:b0:dc:45:88 or such. if case, may have better luck if bind network man

Permissions for Wordpress - Ask Ubuntu

Image
what correct permissions give wordpress files on clean install? i don't use users, root account. i believe might correct unless changed recently: answer on stack overflow manuel schneid3r : when setup wp (the webserver) may need write access files. access rights may need loose. chown www-data:www-data -r * # let apache owner find . -type d -exec chmod 755 {} \; # change directory permissions rwxr-xr-x find . -type f -exec chmod 644 {} \; # change file permissions rw-r--r-- after setup should tighten access rights, according hardening wordpress files except wp-content should writable user account only. wp-content must writable www-data too. chown <username>:<username> -r * # let useraccount owner chown www-data:www-data wp-content # let apache owner of wp-content maybe want change contents in wp-content later on. in case could temporarily change user www-data su , give wp-content group write access 77

14.04 - Can't update nginx because of debconf - Ask Ubuntu

i'm on 14.04.5 lts. error when running normal apt-get upgrade: setting nginx-common (1.10.1-3+trusty1) ... dpkg: error processing package nginx-common (--configure): subprocess installed post-installation script returned error exit status 1 i've omitted subsequent errors caused this, "package nginx-common not configured yet.", etc. i followed process in this answer debug .postinst , never gets beyond 3rd line: . /usr/share/debconf/confmodule – that's what's returning 1 . i've tried this solution didn't help, debconf accessible. , these ones (the error persists). have no ipv6 listen directives in included conf files far can tell. i have no clue how i'd debug debconf see why it's failing. know should try next? edit: new updates, install error @ end: setting nginx-full (1.10.1-3+trusty2) ... initctl: invalid command: upgrade try `initctl --help' more information. invoke-rc.d: initscript nginx, action "upgrade&

mount - Not root user does not have access on Mounted SSD - Ask Ubuntu

i have ubuntu 16.04 on laptop. administrator/root user "lex". recently installed sync , program created user "rslsync". have mounted ssd on startup , want sync couple of folder mounted disk, user "rslsync" not have access , hence program sync too. here fstab (comments removed): lex@lex-n501jw:~$ sudo cat /etc/fstab uuid=908d89c2-81bc-4b19-8d70-6300cd1e3334 / ext4 errors=remount-ro 0 1 uuid=a063-fdd7 /boot/efi vfat umask=0077 0 1 uuid=f2b4f98d-8978-4c1a-9d38-202194e0a93c /media/lex/mystorage ext4 defaults 0 2 as can see ssd mounted on startup on /media/lex/mystorage. some information permissions: lex@lex-n501jw:~$ sudo ls -la /media/ total 12 drwxr-xr-x 3 root root 4096 Апр 24 2016 . drwxr-xr-x 26 root root 4096 Окт 22 11:41 .. drwxrwxr-x+ 3 lex lex 4096 Сен 25 11:36 lex lex@lex-n501jw:~$ sudo ls -la /media/lex/ total 12 drwxrwxr-x+ 3 lex lex 4096 Сен 25 11:36 . drwxr-xr-x 3 root roo

Can't boot 16.04.1 from USB on Windows 10 HP laptop - Ask Ubuntu

i have hp 15-u011dx (hp envy) laptop windows 10 on it. became interested in ubuntu , decided pny 64gb usb 3.0 flash drive can boot ubuntu there instead of installing on laptop. downloaded 16.04.1 (amd64) , used rufus create bootable usb drive of version using tutorial on site. however, laptop boots windows 10, after changing bios settings following: bios boot settings does know issue be? alright, figured out: trying run usb 3.0 port when wasn't booting up, tried on 2.0 port , worked fine. , noticed setting in bios called "usb3.0 configuration in pre-os," changed "enabled" "auto." this, can boot usb 3.0 port! i think i'll keep other boot settings. anyway, guys!

What are Kernel Version number components (w.x.yy-zzz) called? - Ask Ubuntu

this question has answer here: what fourth number in release version mean? 1 answer when looking @ kernel version numbers installed in /boot using work in progress command ( find /boot/vm* -printf "%a@ %p\n" ) see: 1469098968.0000000000 /boot/vmlinuz-3.13.0-92-generic 1477523408.0000000000 /boot/vmlinuz-3.2.0-113-generic 1476549941.0000000000 /boot/vmlinuz-4.4.0-43-generic 1477008540.0000000000 /boot/vmlinuz-4.4.0-45-generic 1470540722.0000000000 /boot/vmlinuz-4.6.3-040603-generic 1471805944.0000000000 /boot/vmlinuz-4.7.1-040701-generic 1472208664.0000000000 /boot/vmlinuz-4.7.2-040702-generic 1473382012.0000000000 /boot/vmlinuz-4.7.3-040703-generic 1474853146.0000000000 /boot/vmlinuz-4.7.5-040705-generic 1475960925.0000000000 /boot/vmlinuz-4.8.1-040801-generic 1477145804.0000000000 /boot/vmlinuz-4.8.4-040804-generic what proper names "w.xx.y-zzz&q

14.04 - Latest AMD APU Athalon Graphics Support on AMD Athlon 5350 Kabini Quad-Core on Ubuntu LTS 16.04 - Ask Ubuntu

hi built new ubuntu cost effective amd athlon 5350 kabini quad-core processor built in apu graphics on athalon processor year ago , installed latest amd graphics drivers on http://support.amd.com/en-us/download/desktop?os=ubuntu%20x86%2064 on ubuntu lts 14.04. fantastic , worked great supporting hdmi output sony 46" 1080p hd graphics. 3 months ago moved , during new pc set-up, made error of upgrading ubuntu 14.04 lts ubuntu 16.04 lts. huge mistake new amd apu graphics drivers supported on ubuntu 14.04 lts or ubuntu 15.04 lts. want go ubuntu 14.04 lts or want try see if ubuntu 16.04 lts supports new amd graphics driver , not successful. want roll-back ubuntu 14.04 lts. there simple graceful way instead reinstalling 14.04 lts , adding new amd apu grfaphics processors? thanks, joseph

live cd - Ubuntu LiveCd hangs on boot screen - Ask Ubuntu

every time try install or try ubuntu hit booting screen , hangs there forever. i've never had issues installing ubuntu. currently i've tried putting ubuntu on live usb(multiple writing softwares) , using live cd. i've tried different computers 1 1 failed boot up. also computer install windows install cd perfectly. i've tried booting following settings. acpi = off noapic nolapic nomodeset again nothing worked. i've tried several distros , encountered similar problems. is there have missed here because i've hit brick wall @ stage. well. there number of reasons installation can stall. stumbled upon question while looking answer own current (and first) ubuntu installation problem. i'm not versed enough in ubuntu (nor linux in general) able give direct tips -- i'll share of findings (some of have tried, others not): 1) see if hardware linux/ubuntu compatible. here's checking general linux compatibility . see ubuntu

grub2 - After dual booting, windows 7 blank - Ask Ubuntu

i new ubuntu installed ubuntu 14 on windows 7. ubuntu works well. when want enter windows 7, screen went purple. can still hear sound of windows. graphic problem. there might solution, not know how part "move file 30_os-prober 06_os-prober" in windows 7 hangs @ grub's purple screen when dual booting . i found etc folder including 30 , 06 os prober, "move" mean , how "move" it. have terminal? thank you have tried way open terminal , type : sudo gedit /etc/default/grub search grub_terminal=console , replace #grub_terminal=console save file , boot windows if not works tell please

server - Postfix TLS connection timeout - Ask Ubuntu

if wrong forum question, please let me know i have home ubuntu 14.04 lamp server thats been working correctly few months now, sometime in past 2 weeks stopped being able send out emails anymore php. i'm inexperienced in linux, might have missed obvious, after 5 hours of troubleshooting decided time ask help, so: please help?! mail transfer agent: postfix running relay zoho using tls on port 587 running @ home, isp (verizon) blocks port 25 trying send test messages php , in terminal mail command, same result both. my domin: greenmatter.us it seems i'm not able establish encrypted connection them, i'm not sure why since haven't changed since last time working. if point me down right path, i'd appreciate (some of things i've tried below) mail log snipit: oct 31 17:26:23 greenmatter postfix/qmgr[1998]: eab633c7e: from=, size=381, nrcpt=1 (queue active) oct 31 17:26:53 greenmatter postfix/smtp[3118]: connect smtp.zoho.com[165.254.168.48]:587: connec

networking - Ubuntu 16.04 - Wireless adapter is timing out (rtl8192cu) - Ask Ubuntu

i've been having problems wireless adapter stopping connectivity network @ random. occurs when have not had internet activity several minutes. once happens not able access internet undefined amount of time (usually 2-5 minutes) until system "decides" resume activity (i not sure how happens on technical level). notably bit rate goes operational 72.2 mb/s 7 mb/s. running command lshw-c network yields chipset rtl8192cu . additionally @ occurrence of time-out these messages through dmesg [ 651.204177] perf interrupt took long (2523 > 2500), lowering kernel.perf_event_max_sample_rate 50000 [ 1085.185940] perf interrupt took long (5026 > 5000), lowering kernel.perf_event_max_sample_rate 25000 and upon disconnecting usb device (during drop-out behaviour) receive: [ 2755.028193] rtl_usb: reg 0x102, usbctrl_vendorreq timeout! status:0xffffffed value=0x69543425 [ 2755.028198] rtl_usb: reg 0x422, usbctrl_vendorreq timeout! status:0xffffffed value=0x3d30a78 [ 2755

grep - Multi-line group capturing between braces - Ask Ubuntu

i have in file testtt : {it captures this! } // question: 2572410 name: question 2 ::question 2::[html] going -40 tomorrow? { can't capture this!!! why? } when do: grep -o '{\([^}]*\)}' testttt it can't capture multi-line braces. modify in way capture both apppreciated! ps. have tested given solution from: how grep multiple patterns on multiple lines? , gives following error: grep: unescaped ^ or $ not supported -pz you can find text file of output , file contents here by default, grep reads , processes single lines. in newer versions of grep , can use -z option tell consider input null separated instead of newline separated; since input doesn't have null terminations, that's equivalent perl's 'slurp' mode. do $ grep -zpo '{[^}]*}' testttt {it captures this! } { can't capture this!!! why? } or, more perlishly, using .*? non-greedy match (?s) include newlines in . $ grep -zpo '(?s){.*?}' t

How to set Server Side Git Hook to give permission in master branch to certain user names? - Ask Ubuntu

i have git server. not gitlab or similar, bare git server. wanted create git hook decline push on master branch users. tried below one. #!/bin/bash if [ "$1" == refs/heads/master ]; cemail=$(git log -1 --format=format:%ce head) echo $cemail if [ "$cemail" != fahad@domain.com ] && [ "$cemail" != jake@domain.com ]; echo "-----------------------------------------------------" echo "warning: not allowed push in master branch !" echo "-----------------------------------------------------" exit 1 fi fi users without above email should not able push on master branch. not working expected. can guys please guide me ? update: when (fahad@domain.com) allow me push branch. , if ask else push branch other me , jake, allows too. picks last users email.

package management - /etc/apt/sources.list Permissions? - Ask Ubuntu

Image
this question has answer here: how restore sources.list file? [duplicate] 4 answers how restore default repositories? 3 answers cannot find softwares installed via synaptic manager after accidentally deleting sources.list 1 answer incorrect filename extension 4 answers i have started using terminal, , have been having lots of problems installing programs ubuntu software center (minecraft, tor, tails installer, etc.) when run sudo apt-get update n: ignoring file '50unattended-upgrades.ucf-old' in directory '/etc/apt/apt.conf.d/' has invalid filename extension i system error

Can't boot 16.04 after installing alongside Windows 7 (dual boot) - Ask Ubuntu

i installed ubuntu 16.04 via burned cd on new laptop (lenovo thinkpad) windows 7 installed. chose partition hard drive default way (~50/50 split) dual boot solution , accepted defaults during installation. when boot machine, goes straight windows. booting cd indicates ubuntu indeed installed. hold shift during boot no grub loader comes up. i've gone bios , checked various fast boot options disable none appeared (though disabled fast or other power intel, wasn't relevant). loads both uefi , legacy , default boot legacy first; changed boot uefi first no effect. i've tried grub2 solution: sudo apt-add-repository ppa:yannubuntu boot-repair , etc. (i did few times.) error: the current session in legacy mode. please reboot computer, , use software in efi session. enable feature. example, use live-usb of boot-repair-disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure bios set boot usb in efi mode. i tried following instructions didn't anyw

apt - Cannot install Nvidia digits - Ask Ubuntu

i trying install nvidia digits in ubuntu 14.04. i tried install digits entering command sudo apt-get install digits but getting error given below reading package lists... done building dependency tree reading state information... done e: unable locate package digits i tried updating package list , upgrading packages sudo apt-get update sudo apt-get upgrade but not fix problem any ideas? nvidia digits isn't available in ubuntu's default repositories. can add ppa (see are ppa's safe add system , “red flags” watch out for? ). official installation instructions are: prerequisites you need nvidia driver ( details , instructions ). run following commands access package repositories: # access cuda packages cuda_repo_pkg=cuda-repo-ubuntu1404_7.5-18_amd64.deb wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/${cuda_repo_pkg} -o /tmp/${cuda_repo_pkg} sudo dpkg -i /tmp/${cuda_repo_pkg} rm -f /tmp/${cuda_

sharing - Problem setting up SMB share on Lubuntu 16.10 - Ask Ubuntu

this question has answer here: share folder ubuntu 1 answer how can share files on windows network? 4 answers i'm running lubuntu 16.10 on machine act file server. want create smb shares, led believe simple (!)....so having not found in gui launched shares-admin command line. got: sharing services not installed - install unix networks support (nfs) - install windows networks support (smb) clicked option install both, got: not install package gdbus.error:org.freedesktop.dbus.error.serviceunknown: name org.freedesktop.packagekit not provided service files any ideas? i really, want use linux server, every time come find myself losing hours trying things 2 minute jobs on windows :0( using synaptic , install system-config-samba gui way create shares. or, in te

command line - What information is shown in the "canonical-livepatch status --verbose" output? - Ask Ubuntu

when type sudo canonical-livepatch status --verbose terminal, either machine id or machine token outputs supposed display token given canonical? neither of outputs same token received. what client-version value indicate? mine reads 5 . also, last-check , boot-time , , uptime ? furthermore, on display under status says running: true , under livepatch says state: check-failed . these statements indicate, , how related fully-patched output command: sudo canonical-livepatch status ? record, output reads, fully-patched: false . why version value important, , mean? mine says 13.3 , yet have no idea why. lastly, supposed in fixes slot? mine blank. thanks in advance :) i'm running ubuntu 16.04 lts way, 4.4.0-38.57-generic kernel , 2.16ubuntu3 snapd

How to play DVDs in Ubuntu 16.04? - Ask Ubuntu

ubuntu unable play dvds. used regionset change region. libdvdcss (the newest version) installed. enabled option "no dvd menus" in vlc, , doesn't work. what should do? on ubuntu 16.04 type in terminal sudo apt-get install libdvd-pkg after installing libdvd-pkg must run command - sudo dpkg-reconfigure libdvd-pkg this should allow dvd playback if you're still having trouble, region of device not set (or @ all). install regionset typing sudo apt-get install regionset , run regionset .

lubuntu - Update settings and refresh PCManFM using command line? - Ask Ubuntu

when changes settings under pcmanfm > edit > preferences > volume management using gui, reflects changes. but requirement such thing command line. doing things follow disable mount_removable . sed -i -e 's/mount_removable=1/mount_removable=0/g' /home/user1/.config/pcmanfm/lubuntu/pcmanfm.conf but works after reboot or after restart display manager service. don't wanna of instead trying find way out such once change pcmanfm.conf file restart service (or process) , reflect changes on system , under gui without rebooting or restarting display manager. i stuck here, please help. " mistakes proof trying " - (unknown) yes, made silly mistake , when knew in off mind. colleague pointed out me , "oh no!! how did missed ??". anyway. the solution here given following 2 steps below. 1) after changing settings (using sed command) kill pcmanfm process. killall pcmanfm 2) restart pcmanfm process. pcmanfm --desktop --profile

bash - Clear the history of recent commands in terminal - Ask Ubuntu

this question has answer here: how clear bash history completely? 8 answers how clear history of recent commands in terminal unable scroll through them up , down arrow keys? closing , reopening terminal doesn't seem clear history. nor reset command in case of bash delete content of ~/.bash_history . the following should it: > ~/.bash_history

unity - Can I apply a different GTK3 theme from the main one to an individual application? - Ask Ubuntu

for example, can keep ambiance main theme assign elementary theme elementary's app? you can use gtk environment variable gtk_theme=elementary launch app elementary theme. example, running gtk_theme=elementary pantheon-files launch elementary files app using elementary gtk theme. to apply every time launch specific app, best option create custom .desktop file (launcher). create custom .desktop file open file browser navigate /usr/share/applications/ copy launcher (highlight , ctrl+c) app want launch elementary theme navigate ~/.local/share/applications/ , paste launcher (ctrl+v) right-click , open launcher text editor modify line starting exec= include exec=env gtk_theme=elementary , previous existing contents of line. (so exec=pantheon-files become exec=env gtk_theme=elementary pantheon-files ) save , close file the next time launch app unity (or app launcher of choice) use elementary theme. bonus: make work when using command line you may wan

drivers - Ubuntu 14.04.5/16.04 and newer on AMD graphics - Ask Ubuntu

i have 14.04.5/16.04 or newer , amd gpu. i'm not getting performance want, , programs need things opencl. i've heard fglrx , if try install on machine, breaks , have no gui. is there can amd card working full potential? pre-notes this answer applies latest hwe upgrade 14.04 (aka 14.04.5). upgrade brings xorg , kernel versions on 16.04. read below more details on why important. background let's start off general description. with release of ubuntu 16.04, came lack of proprietary drivers amd. "why?" might ask. well, it's because of few things. firstly, it's not compatible. won't find fglrx in 16.04 repositories, nor find version 16.04 online. if download latest version amd's website , install it, you'll run low graphics mode, blank screens, , other nasty stuff don't want happen. you might hoping amd step in update driver, must not know amd's reputation ditching support older cards on linux. since amd doesn

Touchpad not working in Ubuntu 16.04 in ASUS-X454L - Ask Ubuntu

i have bought asus-x454l couple of days back. using 16.04 os on machine. touchpad worked fine windows 10 pre-installed seller. working fine ubuntu 16.04 first few hours. not responding. here xinput result: ⎡ virtual core pointer id=2 [master pointer (3)] ⎜ ↳ virtual core xtest pointer id=4 [slave pointer (2)] ⎜ ↳ pixart usb optical mouse id=12 [slave pointer (2)] ⎣ virtual core keyboard id=3 [master keyboard (2)] ↳ virtual core xtest keyboard id=5 [slave keyboard (3)] ↳ power button id=6 [slave keyboard (3)] ↳ video bus id=7 [slave keyboard (3)] ↳ sleep button id=8 [slave keyboard (3)] ↳ usb2.0 vga uvc webcam id=9 [slave keyboard (3)] ↳ asus wmi hotkeys id=10 [slave keyboard (3)] ↳ @ translated set 2 keyboard

Ubuntu 16.04 alongside Windows 10 - cannot start Ubuntu - Ask Ubuntu

i have installed ubuntu 16.04 alongside windows 10. after installation process finished, clicked on restart, still windows booting. there no boot selection menu. there key press or else can do? (i using acer laptop.) you have disable fast startup , hibernation in windows 10, otherwise windows boot when switch on machine. boot windows, open command prompt administrator , execute : powercfg /h off . open windows control panel, go power settings , uncheck fast startup. in case option not visible, enable show hidden settings. shutdown computer - not reboot. boot bios , select ubuntu default operating system boot.

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

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

drivers - Black borders around windows / black terminal - Ask Ubuntu

i under 16.04 on asus zenbook ux305c , system bit laggy graphically. decided try install other drivers/proprietary intel drivers, after that, got black borders around windows/black terminal. symptoms similar other posts, i've tried other posts did not solve issue. i'm bit stuck :-) *-display description: vga compatible controller product: sky lake integrated graphics vendor: intel corporation physical id: 2 bus info: pci@0000:00:02.0 version: 07 width: 64 bits clock: 33mhz capabilities: vga_controller bus_master cap_list rom configuration: driver=i915_bpo latency=0 resources: irq:125 memory:de000000-deffffff memory:c0000000-cfffffff ioport:f000(size=64) 00:02.0 vga compatible controller [0300]: intel corporation sky lake integrated graphics [8086:191e] (rev 07) subsystem: asustek computer inc. skylake integrated graphics [1043:1cfd] kernel driver in use: i915_bpo kernel modules: i915_bpo i added logs asked in other posts. if has lea

time - How to change the separator on the clock? - Ask Ubuntu

i'm having following problem: i've set (language support) - regional formats (display numbers etc.) hungarian, format should following: example: number: 1.234.567,89 date: 2016. nov 6, vasárnap (name of day, not relevant, here's relevant part:) 10:15:15 my clock however, isn't separated : , . . so clock displays 9.20.46 atm., instead of 9:20:46. setting format english solve issue, doesn't know how modify 1 instead, in order separated colons instead of dots? using ubuntu 16.04 lts you can archive creating custom locale in: /usr/share/i18n/locales modify date format using ascii code (change u002e u003a ). compile using localedef direct lc_time custom locale, restart pc. for more info: how change date formats on ubuntu

software recommendation - Visual Studio Replacement for C#? - Ask Ubuntu

currently studying computer science degree, in programming using c# in visual studio. need replacement can run work started in visual. thanks in advance. xamarin, developer mono, created monodevelop, ide c# on ubuntu. far know, can open vs projects. can find within synaptic package manager or ubuntu software center. here homepage. other questions can answered faq .

nvidia - Why do I get low FPS while gaming? - Ask Ubuntu

i updated ubuntu 16.04 windows 10. liked lot thing low fps while gaming. ex. cs:go win10 = 200 ubuntu = 15-20 why happening? tried download nvidia-drivers, bumblebee bumblebee gave errors sockets. please help! system info: -processors- intel(r) core(tm) i7-6500u cpu @ 2.50ghz : 499.99mhz intel(r) core(tm) i7-6500u cpu @ 2.50ghz : 499.99mhz intel(r) core(tm) i7-6500u cpu @ 2.50ghz : 499.79mhz intel(r) core(tm) i7-6500u cpu @ 2.50ghz : 499.99mhz -pci devices- host bridge : intel corporation sky lake host bridge/dram registers (rev 08) vga compatible controller : intel corporation sky lake integrated graphics (rev 07) (prog-if 00 [vga controller]) usb controller : intel corporation sunrise point-lp usb 3.0 xhci controller (rev 21) (prog-if 30 [xhci]) communication controller : intel corporation sunrise point-lp csme heci (rev 21) sata controller : intel corporation sunrise point-lp sata controller [ahci mode] (rev 21)

mount - CDROM drive suddenly not recognised - Ask Ubuntu

[xubuntu 16.10] ripping cd in banshee , froze half way through. restarted banshee , didn't recognise cd, thunar no longer showing drive. read number of questions on here don't seem have done anything: sudo lshw shows: *-scsi:3 physical id: 5 logical name: scsi7 capabilities: emulated *-cdrom description: scsi cd-rom physical id: 0.0.0 bus info: scsi@7:0.0.0 logical name: /dev/cdrom logical name: /dev/sr0 capabilities: audio configuration: status=open status doesn't change whether there's cd in drive or not or platter open. i created folder: /media/cdrom and tried : sudo mount /dev/sr0 /media/cdrom but get: mount: no medium found on /dev/sr0 i added fstab : /dev/sr0 /media/cdrom udf,iso9660 user,noauto,exec,utf8 0 0 and rebooted nothing changed. super weird. thoughts? haven't tried changing sata cables yet, don't think have spare ports. in adva

nvidia - Pointer not moving, mouse inputs still work in 16.10 live build - Ask Ubuntu

i'm trying 16.10 installed on new pc (running gtx 1080, , mouse logitech g502 if matters) , pointer frozen in top left corner of screen, both in installer, , in live build usb. now, mouse still works , can click, , move on different icons, visible pointer won't move, navigation involves guessing on screen am. any ideas might causing this? or @ least keyboard-based ways fix it? i've searched around quite bit, haven't heard of else having issue. want able install os properly. i had same problem, , i've read far seems problem newer nvidia graphics cards (gtx 10xx) , nouveau display driver. to cursor working during installation did following: boot cd/usb in grub, select install 'your distroname' don't start it press e key change boot paramters in line starts linux add nomodeset in front of quiet splash looks nomodeset quiet splash press f10 boot these options now installer wasn't in monitors native resolution mouse work

boot - problem with my other windows installation on another drive - Ask Ubuntu

i used bootrepair on new ubuntu installation broke windows installation on drive. cannot boot windows anymore without ubuntu drive, , problem because not supposed in same computer. when try boot windows drive without ubuntu drive stuck @ gnu grub command promt. new managing boot controllers. so understand correctly: have/had dual boot of windows , ubuntu, , boot loader broken , can't windows? if have removed ubuntu , grub, it's because boot loader replaced grub. need download windows repair iso usb stick, or windows installation media microsoft. boot computer usb , run boot repair commands. fix boot loader , allow launch windows again. no need install windows again boot loader thing corrupted.

unity - Keep minimized windows in focus? Alt. minimize toggle - Ask Ubuntu

i use <alt>+down minimized window launcher. i'd toggle <alt>+down again restore it. normal behavior of ubuntu makes lose focus of window when minimizing when press <alt>+down again next window focused on minimized. anyway set this? i'm wanting toggle minimizing.

boot - lvmetad is not active yet; using direct activation during sysinit / still not solved - Ask Ubuntu

after upgrading ubuntu 16 get: lvmetad not active yet; using direct activation during sysinit the (google) proposed solution not working, ruins display resolution. /etc/default/grub, change: grub_cmdline_linux_default="quiet splash" grub_cmdline_linux_default="nomodeset" add line: grub_terminal_input="console serial" run sudo update-grub , reboot changes take effect. the booting process stops. ctrl + alt + f2 gives me prompt disks mounted read-only after login a: mount -o remount, rw / the booting continues , systems starts normal. any hints working solution appreciated changed boot upstart default , working okay now.

Is it possible to downgrade Unity3D v.5.5 to e.g. 5.4 on Ubuntu 16.04 LTS? - Ask Ubuntu

i can't sign unity3d v.5.5 (downloaded here ) on ubuntu 16.04 lts. says service isn't available. tried re-installing unity3d v.5.5, didn't help. i went through recommendations couple of threads (can't enumerate of them don't have enough reputation). deleted chrome folks mentioned might interfere. option left install unity3d v.5.4 or v.5.3. thus, question whether it's possible downgrade unity3d?

printing - Ubuntu 16.04 systemd vs. cups-lpd - Ask Ubuntu

ubuntu 16.04 uses systemd initialization. cups, have 3 files - cups.socket , cups.path , cups.service configure printing services. have files configuring cups-lpd under systemd ? thank you... they're in source: scheduler/org.cups.cups-lpd.socket scheduler/org.cups.cups-lpd@.service.in (the package building process convert macros here) the debian/ubuntu maintainers have not included them in debian/ubuntu packages.

column - extract information from a file with loop - Ask Ubuntu

i need :) have file this: aa bc fg rf tt gh dd ff hh (a few number of rows , 3 columns) , want put letters of each column in variable step step in order give them input in script. obtain: for 1° loop: var1 = aa var2 = bc var3 = fg for 2° loop: var1 = rf var2 = tt var3 = gh for 3° loop: var1 = dd var2 = ff var3 = hh if file has 3 whitespace-separated items on each line (no blank lines example) should able use simple while ... read loop: while read -r var1 var2 var3; ./otherscript "$var1" "$var2" "$var3" done < "file" if there blank lines, should read complete lines , parse non-empty ones e.g. while ifs= read -r line; if [[ -n "$line" ]]; read -r var1 var2 var3 <<< "$line" ./otherscript "$var1" "$var2" "$var3" fi done < "file"

nvidia - Ubuntu 16.04; external monitor; after reboot, no longer working as dual monitor, only working as mirrored - Ask Ubuntu

i bought dell monitor yesterday. when hot-plugged in alienware 15 r3 through hdmi cable, running ubuntu 16.04 nvidia g-force 1070, , nvidia's driver, worked in expanded display mode expected. however, when rebooted system, built-in display , external dell monitor merged 1 display, not use mouse move or manipulate windows, or menu, poor resolution. eventually, after repeated reboot, sometimes, got displayed mode of mirrored external monitor showed same content built-in monitor, rendering useless requirement. if used system settings -> displays panel, external monitor plugged in, automatically configured mirrored display mode, if explicitly unchecked option of "mirrored", automatically revert mirrored. sometimes, saw error message, "failure crtc 520" (the exact content, don't remember now.) i tried delete ~/.configure/monitors.xml , logout, , re-login, without improvement. i had removed nouvean drivers, , installed latest nvidia drivers, before p

perl: warning: Falling back to the standard locale ("C") - Ask Ubuntu

i following errors perl: perl: warning: falling standard locale ("c"). can't exec "locale": no such file or directory @ /usr/share/perl5/debconf/encoding.pm line 16. use of uninitialized value $debconf::encoding::charmap in scalar chomp @ /usr/share/perl5/debconf/encoding.pm line 17. dpkg: warning: 'ldconfig' not found in path or not executable dpkg: error: 1 expected program not found in path or not executable note: root's path should contain /usr/local/sbin, /usr/sbin , /sbin e: sub-process /usr/bin/dpkg returned error code (2) after doing echo $path output: /home/michaelcw02/bin:/home/michaelcw02/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games and cannot locale because dont have installed. this complete output after running sudo apt-get -f install : reading package lists... done building dependency tree reading state information... done correcting dependencies... done f

productivity - Sticky Notes for a Dual-Booted Setup - Ask Ubuntu

is there way me "sync" desktop-like sticky notes across windows , ubuntu partitions? i saw there google drive options, imo, google drive uses memory , hate memory drags. i found http://www.cloudstickynotes.com/ , seems kind of sketchy , unprofessional. have experience it? best

command line - Compare fields of two files - Ask Ubuntu

i have 2 files this: file 1 apple fruit 10 4 strawberry fruit 22 11 berry fruit 33 33 ball toy 1 12 straw thing 2 33 file 2 strawberry straw berry rawberry raw berry i want compare column 1 of file 2 column 1 of file 1, column 2 of file 2 column 1 of file 1, column 3 of file 2 column 1 of file 1. if match found, want display 3 matching lines file 1. here, output should be: strawberry fruit 22 11 straw thing 2 33 berry fruit 33 33 how can using unix commands on terminal? you can try grep -ff file2 file1 where, -f file2 reads patterns file2 , -f treats patterns fixed strings

scripts - Ubuntu 16.10 infinite boot animation - Ask Ubuntu

so have been bumping head on past 2 days. have virtual box in installed 16.10 , need make custom plymouth boot animation trick hard drive encrypted , need animation run ever user not system. able see infinite loop of boot animation. ideas of how can make happen via self running script?

12.04 - Query about disk management - Ask Ubuntu

Image
i have installed ubuntu on 3 laptops same configuration, in 1 of them drives windows boot loader accessible. what reason?

server - What is the "Virtual Machine Host" option during the installation of Ubuntu 16.04? - Ask Ubuntu

Image
at end of procedure of installing there option "virtual machine host" in ubuntu 16.04, can explain me it? iirc, specific menu based on tasksel , , option installing kvm virtual environment to able use kvm, need cpu supports either intel vt-x or amd-v you can use egrep -c '(vmx|svm)' /proc/cpuinfo command find out if cpu supports option, , need make sure enabled in bios.

16.04 - Dual-Monitor Setup - only one Monitor is working - Ask Ubuntu

i installed second de yesterday (xfce4) , since then, notebook/ubuntu 16.04 lts recognizes 1 screen @ time. if plug in vga kabel, screen working external monitor , vice versa if boot unplugged vga kabel, laptop screen works. plugging in/out while running os of vga kabel doesn't make difference. furthermore, feels way slower , laggy plus unity stopped visual treats transparency in sidebar etc. measurements taken already: removing xfce4 reinstalling drivers (nvidia, intel) reinstalling lightdm reinstalling unity reinstalling xorg log information: only suspicious things able detect in xorg.0.log [ 6.073] (==) no screen section available. using defaults. [ 6.073] (**) |-->screen "default screen section" (0) [ 6.073] (**) | |-->monitor "<default monitor>" [ 6.074] (==) no device specified screen "default screen section". using first device section listed. [ 6.074] (**) | |-->device "c

boot - backup /home folder on different drive through LiveUSB - Ask Ubuntu

i have 2 hard disks: sda & sdb. ubuntu , programs installed in sda, , use sdb store files; sdb half-full. i’m trying solve booting problem. way system through liveusb, can view both sdx drives. before radical or stupid, wonder whether use backup tool in liveusb backup system sdb drive. of course, can sudo copy entire /home folder other drive, won’t when i’m able boot or in case decide reinstall ubuntu scratch , need recover old settings. could here in this? the backup tool in live disk not complete. it's tricky install necessary components backup working properly. simpler backup /home folder cp command. you can by, first mount destination backup device (which may mounted since it's /dev/sdb device. create backup area destination , perform 1 of these 2 commands: $ sudo cp -pvau ~/ /mnt/backupdir/ in preceding command /mnt/backupdir backup destination directory backing space. create folder username in /mnt/backupdir folder. this space