Posts

Showing posts from July, 2012

drivers - Why won't my gamepad work? - Ask Ubuntu

i'm brand new using linux, , have been having great deal of difficulty getting gamepad work. it's wired xbox 360 controller built rock candy, followed steps install xboxdrv, when go calibration controller isn't sending signal through... if try pushing buttons or moving sticks on configuration screen, nothing reacts. controller has blinking green ring error code, instead of usual display of solid green light on top-left arc. makes no difference usb port use. welcome.

16.04 - Unable to make Sublime Text-2 as my default app - Ask Ubuntu

i tried follow this make sublime text 2 default text editor first did ls /usr/share/applications here found out name sublime-text-2.desktop then opened subl /usr/share/applications/defaults.list and replaced instances of gedit sublime-text-2 parallel explained in link , logged out , in, but nothing.. i have tried replacing gedit subl no avail please help i have ubuntu 16 dual booted on system note: when run sublime terminal using subl then works shows errors following: glib-critical **: source id 3666 not found when attempting remove

network manager - using a static "fallback /etc/hosts" if all other DNS options failed - Ask Ubuntu

if understand /etc/nsswitch.conf correctly, configuration hosts: files mdns4_minimal [notfound=return] dns results in interpreting /etc/hosts , mdns , "regular" dns servers. now love have option set static fallback definitions in case previous resolving options failed. switching dns , files bad idea because call dns servers everytime. so i'm looking solution work in case dns server failed (and there no match in /etc/hosts obviously). if solution result in file manageable per user perfect. you can't, @ least nss (name service switch) implemetation of glibc . you can use action service (like mdns4_minimal using [notfound=return] in example). it's of form: [status=action] with preceding ! negate status. the status can 1 of following four: success notfound unavail tryagain and action can 1 of following two: return continue here return return result without looking further lookup functions, , continue c...

system installation - Unable to run bootable USB of ubuntu 16.04.1 - Ask Ubuntu

Image
my laptop having ubuntu 16.04 isn't working. so, created bootable usb of ubuntu 16.04.1 friend's laptop having windows 7 using rufus. tested usb in laptop. rebooted laptop , entered in live ubuntu via created bootable usb. came home , disgusting find usb failed load live ubuntu. when laptop booted usb drive plugged in, got below message , got stuck there. may issue please?

devices - How to set an external webcam as the default webcam - Ask Ubuntu

i have 2 webcams an integrated camera on /dev/video0 an external webcam on /dev/video1 softwares using webcam choose integrated camera. how modify devices in order external webcam recognized main one?

networking - Need to reconnect to network repeatedly in order to access internet - Ask Ubuntu

ubuntu has been acting funny on laptop. automatically loses connection (still connected wireless network though, shown on top bar) need reconnect network in order connect internet. i've tried turning off power management. has been happening more now. please help. comment input you'd need in order diagnose issue. p.s: disconnected twice while submitting question, , usual had reconnect network in order regain internet access. here goes information (thanks @mikewhatever) http://paste.ubuntu.com/23363106/

Installing window's application on wine - Ask Ubuntu

i'm trying install epiinfo 3.5.3 on wine fatal error. i've installed installed dot net framework 4.0. these errors: fixme:ntdll:ntlockfile i/o completion on lock not implemented yet fixme:msi:automationobject_getidsofnames unknown member l"checkreqs", clsid {000c109e-0000-0000-c000-000000000046} fixme:msi:automationobject_getidsofnames unknown member l"createobject", clsid {000c109e-0000-0000-c000-000000000046} fixme:msi:automationobject_getidsofnames unknown member l"session", clsid {000c109e-0000-0000-c000-000000000046} fixme:msi:automationobject_getidsofnames unknown member l"sysfolder", clsid {000c109e-0000-0000-c000-000000000046} fixme:msi:automationobject_getidsofnames unknown member l"sysfolder", clsid {000c109e-0000-0000-c000-000000000046} fixme:msi:automationobject_getidsofnames unknown member l"updatemsjet", clsid {000c109e-0000-0000-c000-000000000046} fixme:msi:automationobject_getidsofnames unk...

unity - How to switch to workspace right by pressing [Super]+[L] - Ask Ubuntu

Image
how set keyboard shortcut super + l have workspace switch right? i have tried change shortcut in settings, doesn't work. after pressing super + l screen locked. how should proceed? for need compizconfig settings manager: sudo apt install compizconfig-settings-manager sudo apt install compiz-plugins open ccsm going dash , type: ccsm . click ccsm icon and: first must disable internal "lock screen" super + l : scroll down ubuntu unity plugin , click on it in general tab click on second line on button <super>l disable + ok click back now allow super + l viewport key switcher: go system settings keyboard , shortcuts tab: and assign super + l done! :-)

16.04 - Ubuntu MATE vs. Xubuntu for high DPI screens - Ask Ubuntu

does ubuntu mate offer more features xubuntu users high dpi screens , computers sufficient ram? if so, these features? starting mate-desktop-environment 1.20 mate desktop environment has true high dpi support. high dpi supported default in ubuntu mate 18.04 , later.

software installation - How to install Intel XDK in ubuntu 14.04? - Ask Ubuntu

tried install intel xdk process stops after ls xdk_web_linux64 . extracted cannot ls says cannot access. no such file or directory the intel sdk software provided in .tgz compressed file needs extracted before else. although mentioned it extracted , considering trouble commands, i'll start mentioning couple of way it, in case. the gui way right-click file - xdk_web_linux64_3641.tgz - , select extract here or double-click , extract anywhere (in /home/your_username ). end result either way should folder named xdk_web_linux64_3641 . the command line way open terminal ctrl+alt+t or search in dash. then: cd /home/your_username/downloads note: above assumes downloaded file in downloads folder. replace downloads actual name of folder , your_username username. next, in order extract it, please do: tar -xvzf xdk_web_linux64_3641.tgz the end result should same aforementioned extract here... now cd extracted folder , do ./install.sh to start ...

boot - Booting in insecure mode error - Ask Ubuntu

i've seen answers question before, don't quite mean. don't know stuff unsigned drivers, etc. wondering if should ignore message because it's incorrect or if there wrong. have secure mode enabled in bios, message mean it's not? error: if want rid of message insecure boot need enable secure boot. need turn on validation in module mok (machine owner key): sudo mokutil --enable-validation asked enter twice temporary password , after reboot possibility change validation state. if validation enabled no more message insecure boot appears. remember, not able run unsigned drivers: nvidia drivers , virtualbox not working. disable validation type: sudo mokutil --disable-validation , reboot. if disable validation , have in bios secure boot switched on, still not able boot wasn't signed. though ubuntu has validation disable "is seen" bios (uefi) signed because of shim-signed package. shim package while ubuntu booting checks mok state , if validation ...

Google Chrome didn't add apt source list - Ask Ubuntu

so installed latest chrome in new ubuntu 16.10 installation. checked "additional software" source list couldn't find entry google chrome creates. @ point, google chrome won't auto-updated. is there can give me correct source list entry stable channel of google chrome? or can make google deb add automatically again? thanks! from google chrome download page: note: installing google chrome add google repository system automatically keep google chrome date. if don’t want google's repository, “ sudo touch /etc/default/google-chrome ” before installing package. so fix it: remove file sudo rm /etc/default/google-chrome reconfigure chrome package add repository sudo dpkg-reconfigure google-chrome-stable check using grep -r google /etc/apt/sources.list.d/ , no output reinstall it. sudo dpkg -r google-chrome-stable sudo dpkg -i google-chrome-stable_current_*.deb otherwise add manually 64bit: echo "deb [arch=amd64] htt...

I've got the persistent live version I was dreaming of, how do I make an ISO file to share it? - Ask Ubuntu

created live usb of lubuntu 16.04 , made work way (installed new programs , customized plenty of configuration files). now, installed in 4gb pen drive, occupies 2gb. how can create iso file storing content. dd dump entire 4gb storage, want have minimal size, can downloaded , installed somewhere else. can dd parametrized it? specific software that? handily, ubuntu community has page detailing need do. this page covers software need prepare squashfs newly rolled distro use, how go through process of customisation (yov'e indicated you've done this, there tips in there on how other ways), gives warnigns , tips , shows how create live cd @ end of it. covers need. it looks you'll able skip sections of page sicne you've got enviroment set up. may pay read sections anyway since may contain useful warnings , tips.

ps - Running a single executable with sudo adds two processes in process list - Ask Ubuntu

i wrote program captures packets network interface. listens network adapter, need run sudo . question is, why when run it, add 2 processes processes list? note : lwdpi program before execution: ghasemi@ghasemi-ms-7693:~/desktop/lwdpi_cpp$ ps ax | grep lwdpi 4665 pts/21 s+ 0:00 grep --color=auto lwdpi ghasemi@ghasemi-ms-7693:~/desktop/lwdpi_cpp$ execution: ghasemi@ghasemi-ms-7693:~/desktop/lwdpi_cpp$ sudo ./lwdpi -i enp5s0 2016:10:26 11:07:29 :: 192.168.1.25 9918 --> 239.1.99.222 9918 udp 2016:10:26 11:07:29 :: 192.168.1.111 5353 --> 224.0.0.251 5353 udp 2016:10:26 11:07:30 :: 192.168.1.153 5353 --> 224.0.0.251 5353 udp 2016:10:26 11:07:30 :: 192.168.1.154 5353 --> 224.0.0.251 5353 udp 2016:10:26 11:07:30 :: 192.168.1.88 5353 --> 224.0.0.251 5353 udp 2016:10:26 11:07:30 :: 192.168.1.60 5353 --> 224.0.0.251 5353 udp 2016:10:26 11:07:37 :: 192.168.1.131 17500 --...

nvidia - Ubuntu 16.04 cannot start Installer - Ask Ubuntu

Image
i trying install ubuntu 16.04 on workstation in office. have created usb-image using dd on laptop. after choosing boot device, screen shows different options have (install/try etc..) once choose option, screen goes blank small cursor blinking. so far have tried adding nomodeset switch kernel bootline. results in monitor giving "out of sync" message. with quiet , splash things removed. screen hangs following message: also, workstation has 2 nvidia gtx 1080 cards in it. monitor plugged first 1 using hdmi cable.

14.04 - Latest mysql-5.5.53 update seems to have broken - Ask Ubuntu

i'm running ubuntu 14.04.5 lts (gnu/linux 4.4.0-45-generic x86_64) , installed update these packages yesterday. mysql-common 5.5.53-0ubuntu0.14.04.1 libmysqlclient18 amd64 5.5.53-0ubuntu0.14.04.1 mysql-server 5.5.53-0ubuntu0.14.04.1 mysql-server-5.5 amd64 5.5.53-0ubuntu0.14.04.1 mysql-client 5.5.53-0ubuntu0.14.04.1 mysql-client-5.5 amd64 5.5.53-0ubuntu0.14.04.1 mysql-client-core-5.5 amd64 5.5.53-0ubuntu0.14.04.1 mysql-server-core-5.5 amd64 5.5.53-0ubuntu0.14.04.1 after update, i've got error. error 2002 (hy000): can't connect local mysql server through socket '/var/lib/mysql/mysqld.sock' (13) so, should do? want rollback mysql 5.5.53 5.5.52!! please, me!! solution: sudo chmod 755 -r /var/lib/mysql

python - Can I make a juju action pass a file back to where it was called from? - Ask Ubuntu

the docs describe "snapshot" action, backs database. have used similar wondering, once snapshot create file (in case postgresql dump) sits there on machine particular charm. there not way of passing machine run "juju run-action ..." command in first place? (i'm not sure of terminology here, i'm going call "host") i'm using python, , know can use hookenv.action_set({}) pass message back, whole file? suppose use pass contents of file back, seems bit hacky. if use like: host_ip, _, machine_ip, __ = os.environ['ssh_connection'].split(' ') , try scp file using host_ip information, wants password, isn't automated. does have suggestions doing within action please? you send shh private key in charm action, $ juju run-action ssh_pkey=`cat .ssh/somekey` and add public key host authorized_keys. or set host key in charm config $ juju config myservice key=`cat .ssh/somekey`

bash - Script works from command line but not from a command in Application Finder Launcher - Ask Ubuntu

Image
i've written bash script found @ directory: /home/harmelodic/.jetbrains/clion.sh that performs following: #!/bin/sh ./clion*/bin/clion.sh this run clion.sh script found at: /home/matthew/.jetbrains/clion-2016.2.3/bin/clion.sh if open terminal in /home/harmelodic/.jetbrains/ , perform: $ ./clion.sh it runs , opens clion ide. however, if use launcher application finder perform command execute script (as shown below), clion ide fails open. i'm stumped. thought command input run script fine doesn't. i've ensured script executable , runs via terminal refuses run via launcher found in application finder. why, , how fix this? well, had pebcak error... i mistakenly thought if ran script, script automatically know , use it's current location relative path. not case, turns out. script treat whatever location user running script path use when referring relative paths. meaning if went /home/harmelodic/ , ran: $ ./.jetbrains/cli...

Ubuntu 16.04 doesn't let me to uninstall applications - Ask Ubuntu

Image
i have need on computer , hence follow practice of removing programs know i'm not going use. i downloaded ubuntu 16.04 lts i'm unable uninstall applications. go software center , hit remove apps want (mozilla, mahjong, solitaire, etc). seems work. however, after twenty seconds software center refreshes , apps back!! please, help! it's annoying. is there way remove these apps terminal? i ran similar problem. click "remove" button in software center, applications re-appear after short period. did aisle riot solitaire program, example, , kept coming back. when went remove command line, however, said not installed: $ sudo apt-get purge aisleriot reading package lists... done building dependency tree reading state information... done package 'aisleriot' not installed, not removed 0 upgraded, 0 newly installed, 0 remove , 87 not upgraded. after more investigation (read: blind clicking), discovered clicking refresh icon on updates tab ...

boot - Katoolin has killed my system. Help removing it or at least recover files from my encrypted drive - Ask Ubuntu

i didn't enough reading before installing thing , system not boot. worked while (though system getting weird errors) today tried boot, entered password on splash screen, got sent flashing black screen. i running ubuntu cd right now. i try recover system , remove traces of katoolin, i'm not sure how that. at least need move files hdd external drive if need clean install. issue here there tons of folders, , have no idea of files are. i've randomly come across few videos, had tons more stuff. how find stuff had in major sections such "pictures" "videos" "documents" "downloads" "desktop" etc. also, find firefox bookmarks backup file? thanks guys can give. if need more info can provide it.

rename - Command to add specific time on a filename? - Ask Ubuntu

i returned trip , try organize minimum photos taken wife , me 4 devices : our 2 smartphones , 2 cameras. i choose rename files pyrenamer (exif) : yyyymmdd_hhmmss.jpg both smartphones , 1 camera @ local time, no problem. wife's camera had time shift of 5:46. my question simple : how add 5:46 each file ? thanks lot in advance. note : following not change either exif data or actual timestamp of files - names. may preferable change 3 consistently (perhaps possible using exiftool ?) it seems possible using perl based prename / rename command, using strptime read in formatted time string, strftime write out after adding offset - in seconds (implicitly converted time::piece object). based on comments, "my wife's camera had time shift of 5:46" appear mean 5 hours 46 minutes (rather than, say, 5 minutes 46 seconds), , require shift (forward) of 5 x 3600 + 46 x 60 = 20760 seconds. do: prename -vn -- ' begin{use time::piece}; s/\d+_\d+/(2076...

16.04 - Nautilus + Deja Dup: no menu item for "File -> Restore Missing Files..." - Ask Ubuntu

i'm trying explore files have been backed-up duplicity/deja dup. understanding "file -> restore missing files" menu item comes ubuntuone-client package ( ref ), package not available anymore. so current way integrate deja dup , nautilus? there package provides menu item in questions?

encryption - How do I ensure that openssl is using AES-NI acceleration? - Ask Ubuntu

i running ubuntu 16.04.1 lts, checked processor support aes-ni acceleration on cpus: johndoe@mycomputer:~$ grep -m1 -o aes /proc/cpuinfo aes johndoe@mycomputer:~$ grep -o aes /proc/cpuinfo | wc -l 4 johndoe@mycomputer:~$ lscpu | grep '^cpu(s):' cpu(s): 4 how can check openssl using aes-ni? thank you, luckyrings i found answer myself. to test if openssl using aes-ni found following information. can't see after compiling aes-ni available openssl, can perform performance tests , without feature. speed test default settings: openssl speed -elapsed -evp aes-128-cbc speed test explicit disabled aes-ni feature: openssl_ia32cap="~0x200000200000000" openssl speed -elapsed -evp aes-128-cbc the result first line run faster (almost double on i7 cpu). conclusion aes-ni used default openssl.

trim - Ubuntu SSD - Was fast, is now extremely slow - Ask Ubuntu

Image
this i'm getting now, crucial mx300 750gb ssd (with latest firmware [there no firmware updates yet]). lptp [ blah ]: sudo hdparm -tt /dev/sda /dev/sda: timing cached reads: 10202 mb in 2.00 seconds = 5103.20 mb/sec timing buffered disk reads: 128 mb in 3.06 seconds = 41.88 mb/sec see buffered disk read speed!!!! soooo slowww!!!! when first setup laptop, seeing on 400mb/sec, fine me considering older laptop, and luks encrypted well. this /etc/fstab . i've enabled trim, manually ran trim, enabled/disabled features, rebooted, everything. can't fast speeds come back: /dev/mapper/ubuntu--gnome--vg-root / ext4 noatime,nodiratime,errors=remount-ro,barrier=0,discard 0 1 just it's clear, these options i'm using. i've tried various combinations of them no avail: noatime,nodiratime,errors=remount-ro,barrier=0,discard any tips? driving me crazy. oh, also, i'm running ubuntu 16.04 (x64) on lenovo t420 16gb ram , i7 proc...

uefi - Ubuntu 14.04 doesn't start after installation - Ask Ubuntu

couple of days ago decided install ubuntu 14.04 (64 bit) on lenovo e530. previous ubuntu 14.04 32 bit installed in legacy mode, need 64 bit. i've made liveusb, created partition via gparted , installed ubuntu. can't start because grub suppressed windows boot manager, can't find ubuntu in uefi boot list. tried boot-repair ( http://paste.ubuntu.com/23415399/ ), didn't help. tried tricks mounting partition , update-grub command , other tricks i've found on askubuntu.com. have idea how deal problem? thanks. your problem seems there's no ubuntu/grub entry in efi's nvram-based boot loader list. problem caused defective efi. recommend try each of following, in order, until 1 works: check firmware update (most manufacturers call "bios update"), apply it, , re-run boot repair. don't hold out lot of hope help, might. reset firmware defaults, manually re-apply tweaks you've made, , re-run boot repair. again, may not work, it's wor...

lvm - Is there any way to setup a raid device after installation? - Ask Ubuntu

i set storage-manager server connect via iscsi main system , trying set mirrored volume. resultant volume mirror of /dev/sda1 , /dev/sdd4, noticed there no raid devices set up. (here output of cat /proc/mdstat) personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] unused devices: <none> due set lvm combines 2 disks not wanted... raid1... how... mdadm? tried it: output of following command says "mdadm: no raid-devices specified" sudo mdadm --create --verbose /dev/md0 --level=raid1 /dev/sdd4 /dev/sda1 i'm assuming because device /dev/md0 doesn't exist. so question how/could make /dev/md0 raid device work raid1 setup , mdadm (without reinstalling system)? if proves impossible, how set mirrored lvm on ubuntu 16.04? any insight appreciated. thanks! thanks terrance found tutorial works great https://www.howtoforge.com/how-to-set-up-software-raid1-on-a-running-system-incl-grub2-configuration-ubunt...

14.04 - How to install Ubuntu in my pc when i don't have enough space in C:\ drive? - Ask Ubuntu

i want install ubuntu alongside windows 10 (which installed in pc) in pc, trying shrink volume of c:\ drive disk management c:\ drive don't have enough space . work if shrink d:\ or e:\ drive in stead of c:\? i tried using usb drive downloading unetbootin found no result. please give detailed explanation if possible. you can use utility gparted within live usb or cd install resize disk offline. should come preinstalled if not can run 'sudo apt-get install gparted' install it. i happen find 'universal usb installer' easiest use on windows whenever try make bootable usb key.

16.04 - How to update daylight timezone for an app in ubuntu machine - Ask Ubuntu

turkey decided permanently stay in same time. dst ended on thursday, 8 september 2016, 00:00:00. clocks not changed. turkey between +2 , +3 utc, stay in +3. see here . there discussion on stackoverflow have application in spring boot in ubuntu machine. how take date: cmntwrapper.setcreatedatstring(cmnt.getcreatedat(). now(zoneid.of(constants.turkey_zone)). format(datetimeformatter.ofpattern(constants.date_time_format))); this shows time 13.50, 14.50, because in +3. what can do? i dont want use utc +3 because may next year, "lets again use +2-+3 switching daylight saving concept". can't risk it. i can't change code in future weeks. stay permanent after few weeks. what suggest permanent? the iana suggests this : java -jar tzupdater.jar options but doesnot work: root@vegan:/home/vegan/downloads/tzdb# java -jar tzdata-latest.tar.gz error: invalid or corrupt jarfile tzdata-latest.tar.gz that jva root@vegan:/usr/bin# whereis java java:...

keyboard - Remap Fn-Key or Win-L-Key on Kubuntu - Ask Ubuntu

my keyboard has no key <, > , |. on windows installed little tool map symbols win-l-key. on linux doesn't work. i've tried xmodmap map <, > , | win-l-key, < , > works. xmodmap config file keycode 133 = less greater bar also mapping other symbol @ third position doesn't work. in firefox nothing works (<, > , | aren't working). i couldn't map fn-key xmodmap, because there no reaction when start xev , press fn-key. after tried kde shortcuts, can't map fn-key or win-l-key. kde shows nothing when press 1 of both keys (others keys working here). so whats wrong keyboard? or ubuntu problem? keycode 133 = less greater bar those 3 keysym means: press key; press shift; press mode_switch . so need setup mode_switch key, null. eg: use shift_r (0x3e) mode_switch keycode 0x3e = mode_switch mode_switch fn-key can not seen xev or xmodmap.

How to do encryption for a simple telephone on Nexus 5 and Ubuntu Touch? - Ask Ubuntu

i have nexus 5 mobile phone , installed ubuntu touch on (based on ubuntu 15). want encrypt voice out of device when use phone application. possible , how? no, that's not possible: standard phone application uses 25-year-old technology low bandwidth , not suited encryption. (9600 baud little add encryption) sorry! :-( having said that: nothing truly impossible , apply modern cryptographic encryption system has such low bandwidth take lot of processing power phone no 1 has bothered doing this: there other ways of making encrypted calls out there...

How do I lift-and-shift my Ubuntu VM to LXD? - Ask Ubuntu

the blurb canonical latest release of ubuntu 16.10 says "the ability lift-and-shift 80% of linux vms machine containers.” , lxd site says "lxd designed “lift , shift” linux vms containers without modifying app or operations." can point me information on how might done. i've searched haven't found might me lift-and-shift vms. ...andrew

temperature - Amd A10 7800 lm-sensors - Ask Ubuntu

i have problem regarding lm-sensors, build computer old acer aspire t120 amd a10 7800, , tried set monit monitor cpu temps, problem lm-sensors cant find thermal sensors if use sudo sensors-detect . there other way monitor temperature of cpu ? couldnt find name of motherboard made pics motherboard , bios. http://imgur.com/a/ryfyl

cron launching but not executing script - Ask Ubuntu

i setup crontab crontab -e , checked saved crontab -l : */10 6-8 * 1-11 1 /home/asarluhi/documents/scripts/monday.sh the content of monday.sh is: #!/bin/bash ruby ~/documents/scripts/monday_task.rb >> ~/documents/scripts/monday monday_task.rb ruby script web scrapes data, long report here, there no mistakes in it. monday simple empty text file, the script working fine when launched shell. i looked @ var/log/syslog , found following entries: nov 7 07:55:01 satellite-l50-a-161 cron[6984]: (root) cmd (command -v debian-sa1 > /dev/null && debian-sa1 1 1) nov 7 08:00:01 satellite-l50-a-161 cron[7032]: pam_ecryptfs: skipping automatic ecryptfs mount nov 7 08:00:01 satellite-l50-a-161 cron[7033]: (asarluhi) cmd (/home/asarluhi/documents/scripts/monday.sh) nov 7 08:00:01 satellite-l50-a-161 cron[7031]: (asarluhi) mail (mailed 1 byte of output; got status 0x00ff, #012) nov 7 08:00:01 satellite-l50-a-161 cron[7038]: pam_ecryptfs: skipping automatic ec...

16.04 - Installing Starcraft 2 PlayOnLinux - Ask Ubuntu

i using play on linx , want to install starcraft fails every time try to. install when run battle.net either doesn't open or crashes instantly.i tried different wine versions same crash every time. i running ubuntu 16.04 i7 4790k , gtx 980 playonlinux terrible job starcraft ii @ time of writing. if end goal playing starcraft ii on linux, here's worked me, on ubuntu 17.04 remove playonlinux entirely. sudo apt-get remove playonlinux tear out wine ships os. sudo apt-get remove wine sudo apt autoremove enable 32 bit architecture sudo dpkg --add-architecture i386 add repo wine staging. sudo add-apt-repository ppa:wine/wine-builds update , install sudo apt-get update sudo apt-get install winehq-staging grab battle.net installer wget https://www.battle.net/download/getinstallerforgame?os=win&locale=enus&version=live&gameprogram=battlenet_app && mv getinstallerforgame\?os\=win battle.net-setup.exe configure wine running winecfg , ...

16.04 - How to convert this upstart to systemd? - Ask Ubuntu

i used upstart in ubuntu 14.04 , worked fine: start on runlevel [2345] respawn script cd /media/sf_acebot exec /usr/bin/mono /media/sf_acebot/ace\ bot.exe >> /media/sf_acebot/log.txt end script now want have same thing in ubuntu 16.04 in systemd. have written service below: [service] workingdirectory=/media/sf_acebot execstart=/usr/bin/mono /media/sf_acebot/ace\ bot.exe [install] wantedby=multi-user.target there 2 problems: how can redirect output? >> mark not work. when start service, waits exec stop. mean can press ctl+c stops service. please me fix systemd.

permissions - Browsers can not open the HTML from HDD (ebook) - Ask Ubuntu

i using xubuntu 14.04, firefox 49.0.2. since started using xubuntu 14.04 have problem html files on hdd. did not have problem xubuntu/ubuntu 12.04. when try open html (e-book) file hard disk drive home/admin/documents/polaris sf cd vol 2/index.html with browser (eg.firefoks, chrome, midori) says eg.: file not found. firefox can not find file @ / home / admin / documents / polaris sf cd vol 2 /html/a1.html firefox can’t find file @ /home/admin/documents/polaris sf cd vol 2/html/menu.html. but when loading copy of ebook usb there no problem. path is: file://localhost/media/admin/zagor/home/polaris%20sf%20cd%20vol%202/index.html i tried different versions open file hdd: localhost/home/admin/documents/polaris%20sf%20cd%20vol%202/index.html file://home/admin/documents/polaris%20sf%20cd%20vol%202/index.html file:///home/admin/documents/polaris%20sf%20cd%20vol%202/index.html file:///home/admin/documents/polaris sf cd vol 2/index.html ... it's not working. then ...

Dell 7378 with 7th generation Intel cannot produce sound - Ask Ubuntu

usb sound card works fine, can't make intel sound card work @ all. laptop listed on certified hardware . $ intel_audio_dump (intel_audio_dump:3238) intel-mmio-critical: test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:145: (intel_audio_dump:3238) intel-mmio-critical: failed assertion: !(error != 0) (intel_audio_dump:3238) intel-mmio-critical: last errno: 13, permission denied (intel_audio_dump:3238) intel-mmio-critical: couldn't map mmio region stack trace: #0 [_init+0xc689] #1 [_init+0xa2e6] #2 [_init+0x1f81] #3 [__libc_start_main+0xf0] #4 [_init+0x5561] #5 [<unknown>+0x5561] test (null) failed. **** debug **** (intel_audio_dump:3238) intel-mmio-critical: test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:145: (intel_audio_dump:3238) intel-mmio-critical: failed assertion: !(error != 0) (intel_audio_dump:3238) intel-mmio-critical: last errno: 13, permission denied (intel_audio_dump:323...

backup - bash .tar creation - Ask Ubuntu

i try create .tar.gz files or directories in parameters backup. however, when create .tar.gz archive, have error : tar: path_directory_1: cannot stat: no such file or directory tar: path_directory_2 : cannot stat: no such file or directory tar: stopped failed status due previous errors how built archive: tar zcvf $dirbackup/backup-$backupdate.tar.gz $string where string is: old_ifs=$ifs ifs=$'\n' string=""; line in $(cat $1); string="$string $line" done ifs=$old_ifs $1 : file paths directory , paths file save. exemple of $1 content (just directories paths save): ~/documents/miage/l3/semestre5/web ~/documents/miage/l3/semestre5/communication/ result set -x : + tar zcvf /var/backups/mesbackups/backup-09-11-2016-13-58/backup-09-11‌​-2016-13-58.tar.gz '~/documents/miage/l3/semestre5/web' '~/documents/miage/l3/semestre5/communication/' tar: ~/documents/miage/l3/semestre5/web : cannot stat : no such file o...

virtualbox - Problem in installing Ubuntu 16.04.1 using virtual box - Ask Ubuntu

this question has answer here: virtualbox has no 64-bit options 2 answers i want install ubuntu using virtual box. following steps shown on forum when click new on virtual box. gives me option ubuntu 32 bit, not 64 bit, why so? i have downloaded virtual box virtualbox 5.1.8 windows hosts x86/amd64 ubuntu official site ubuntu-16.04.1-desktop-amd64 with choosing 32 bit , setting ram of 1 gb , 16 gb hardisk. i getting error: this kernel requires x86-64 cpu, detectedd i686 cpu unable boot - please use kernel appropriate cpu the solution disable hyper-v platform. english level not enough explain in detail how it, @ windows features , find option

14.04 - Grep replace in multiple xml files - Ask Ubuntu

i have below command find .xml files containing <active>true</active> having <codepool>community</codepool> after line on next line. grep -rzl '<active>true</active>.*<codepool>community</codepool>' --include='*.xml' --color=always now how combine sed replace true string inside <active>... tag false string along matched lines ? you should use xml parsing tools xml data. xmlstarlet choice. regular expressions not powerful enough ( canonical reference ) if data looks like: <root> <foo> <active>true</active> <codepool>private</codepool> </foo> <foo> <active>true</active> <codepool>community</codepool> </foo> </root> then xmlstarlet ed --update '//active[.="true" , ../codepool="community"]' -v false file.xml produces <?xml version="1.0"?...

Hard Drive Info - Ask Ubuntu

this question has answer here: how find amount of free space on hard drive? 13 answers i installed ubuntu 16.04 lts on laptop month ago. laptop has 500gb hd (483.9 shows up). i’ve applied updates (security, etc.), , of today, can no longer install updates. in searching way make room, i’ve noticed cannot usable information on hd, can mac , windows. cannot see how of hd used, , how unused. also, cannot see how many backups have been archived (i’d remove oldest ones make room). do? use gnome-disk-utility . can run command line or disks using hud. should give information of of mounted disks , how full are. there text-based utilities should do. now, analyse taking of space, can use disk usage analyzer .

keyboard - How to bind super-c and super-v to copy and paste in gnome-terminal? - Ask Ubuntu

Image
i want use super + c instead of ctrl + shift + c gnome terminal copy , paste. i've set in preferences -> shortcuts, doesn't seem work. other super shortcuts super + t new tab work correctly. anyone know how fix this? screenshot of preferences window: you can achieve using xmodmap commands: remove mod4 = super_l keysym super_l = control_l add control = control_l save above lines super_as_ctrl.xmodmap . test executing xmodmap super_as_ctrl.xmodmap to make change permanent (surviving re-login/reboot) rename file .xmodmap in home folder. (tested on ubuntu 14.x live system) ps: make use of other windows button. not sure how that.

ipv6 - How to retrieve the RA (Router Advertisment) Received by My PC? - Ask Ubuntu

i want see ra (router advertisment) received pc. where can found uch information on ubuntu linux system tools tcpdump , wireshark specialised in capturing network packets , decoding them you. both of them support router advertisements.

ffmpeg - Script to Capture VHS Tapes Using the Hauppauge 610 USB-Live 2 Analog Video Digitizer and Video Capture Device - Ask Ubuntu

this device supported in linux kernel modern linux distributions. have had success using vlc media player in digitizing (compared ffmpeg has rendered pixelated picture). however, how create script make digitizing vhs's efficient possible? this script has been efficient me digitizing home vhs's. you'll need vlc media player , ffmpeg if want convert mp4 ideal compression level. adjust v4l2:///dev/video0 :input-slave=alsa://hw:2,0 (video , audio input) if needed according machine. can find information using vlc , going media > capture device. there can see video device name , audio device name. it mpeg2 device. using vlc encode directly mp4 or h264 produce video lips out of sync. why first encode mpeg2 , process mp4. ffmpeg here set use 3 of 4 cpu cores not max out cpu. you'll want adjust -threads 3 according cpu. if you're not sure, -threads 3 can removed. sure mark script executable before using: chmod +x your-script-name #!/bin/bash # enter...

Ping monitoring program - Ask Ubuntu

i'm looking tool can use monitor ping time gaming server in real time. i've been getting lag spikes , want watch happening, how often, etc. i'm new ubuntu , linux great. thank you you're looking smokeping . there's several ways of having run, here's one .

grub2 - Ubuntu-Windows10 dual boot - Ask Ubuntu

i new here , need in order solve problem. yesterday decided make partition on laptop (hp pavilion 15-b103 (5i-3337u/4g/500gb)) , install ubuntu 16.10. laptop runs windows 10. ok in installation problem can't make dual boot..i mean choose operating system when laptop boots. tried on goolge (disable safe mode, run repair boot on ubuntu, enable legacy mode, bios etc.) still boots directly windows 10!!! can please tell me how fix it? want start using ubuntu don't want delete windows. ps: have try find answer here , applied solutions nothing worked :( thank in advance guys these complete steps need have windows , ubuntu on boot menu, need live disk go terminal. after boots go terminal , enter following command: sudo fdisk -l this command show partitions on hdd, have know partition linux distro installed on (gparted can great in that). use gparted see linux installed and enter command: sudo mount /dev/sda1 /mnt then command: sudo mount --bind /dev /mnt/de...

hardware - PICKIT3 on ubuntu - Ask Ubuntu

i kind of beginner in ubuntu. know way program pic pickit3 on ubuntu? because don't want go , forth windows since got mikroc , proteus working. thanks. the pickit 3 compatible ubuntu, , compatible latest mplab x ide available here http://www.microchip.com/mplab/mplab-x-ide

16.04 - How to use CPackDeb? - Ask Ubuntu

i creating .deb package cmake/cpack. works ok, no cpackdeb specific strings set. cpackdeb requires should called cpack. if copy code cmakefiles.txt, works. shall explicitly include cpackdeb? or put in cmake/ directory? , place int before cpack or before package-related stuff?

Python 3.4 on Ubuntu 16.04 - Ask Ubuntu

i have installed python 3.4 on ubuntu 16.04 using ./configure , make , make install process. trying install flask, , having issues using pip in virtualenv created 3.4. using pip installs python 2.7, pip3 installs 3.5. trying other method produces errors. how invoke pip python 3.4.3? revised creating virtual environment python3.4 on ubuntu 16.04 xenial xerus : install dependencies. sudo apt install build-essential checkinstall sudo apt install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev openssl get python3.4 source code. mkdir -p $home/opt cd $home/opt curl -o https://www.python.org/ftp/python/3.4.3/python-3.4.3.tgz tar xzvf python-3.4.3.tgz cd python-3.4.3 configure , install. ./configure --enable-shared --prefix=/usr/local ldflags="-wl,--rpath=/usr/local/lib" sudo make altinstall --enable-shared necessary libraries. --prefix needed reasons (more infor...

dual boot - Autoupdater stops on safeboot/uefi prompt (15.04 -> 16.04) - Ask Ubuntu

i used software updater upgrade 15.04 -> 16.04. installation process stopped when prompted safe boot , uefi options in terminal in autoupdater gui. cannot use terminal click or write command. suggestion how continue update process or safely stop it?

software installation - Where do I download Unity from? - Ask Ubuntu

i'm new linux , i'm wondering how install unity windows. i've looked online , found old unity install launchpad hasn't looked active since last year. there article on omg! ubuntu! @ http://www.omgubuntu.co.uk/2016/07/someone-just-installed-unity-windows giving pointer description of process have unity run on ubuntu subsystem of windows 10. quote: "the entire run-through not faint hearted" .

How to install all existing media codecs? - Ask Ubuntu

how install possible media codecs console? is there way load , save them cases without internet connection? thanks in advance! update: 2017-jan for ubuntu 16.04 lts , 16.10 (12.04 or later) update repos: sudo apt-get update install curl tool sudo apt-get install curl load videolan repository curl ftp://ftp.videolan.org/pub/debian/videolan-apt.asc | sudo apt-key add - echo "deb ftp://ftp.videolan.org/pub/debian/stable ./" | sudo tee /etc/apt/sources.list.d/libdvdcss.list sudo apt-get update install vlc , mplayer, , support elements sudo apt-get install vlc vlc-data browser-plugin-vlc mplayer2 if still using 14.04 lts (or earlier), then: sudo apt-get install vlc-plugin-pulse install remaining ubuntu 'restricted extras' (146 mb when installed, skip if space critical) sudo apt-get install ubuntu-restricted-extras if not using 16.04 lts (or later), force (manually) install three key elements full dvd support: sudo apt-get...

How to install snmp on Ubuntu 14.04 to allow remote access from Network monitoring system - Ask Ubuntu

this how snmpd.conf file looks like, have make changes on other file. able working centos easier having more problems getting work on ubuntu. ############################################################################### # # example.conf: # example configuration file configuring net-snmp agent ('snmpd') # see 'snmpd.conf(5)' man page details # # entries deliberately commented out, , need explicitly activated # ############################################################################### # # agent behaviour # # listen connections local system #agentaddress udp:127.0.0.1:161 # listen connections on interfaces (both ipv4 *and* ipv6) agentaddress udp:161,udp6:[::1]:161 ############################################################################### # # snmpv3 authentication # # note these particular settings don't belong here. # should copied file /var/lib/snmp/snmpd.conf # , passwords changed, before being uncommented in file *only*. # res...