Posts

Showing posts from September, 2010

Bare Metal machine never seems to "enlist" with MAAS server - Ask Ubuntu

Image
i've seen similar questions on here, nothing quite matches exact problem. try concise can while providing details: i installed new maas server on bare metal following instructions here: http://maas.io/get-started the maas server has 2 interfaces set up. first on public vlan inside lab , second on private vlan inside same lab. i have 2 additional machines (for testing) have 1 interface each setup on private vlan well. after completing maas server setup, rebooted (pxe) 1 of other machines. saw "booting under maas direction..." screen followed bunch of activety. see cloud-init activety: followed more cloud-init activety seems throwing errors around "instance_id" finally, machine stops @ ubuntu login screen. my problem machine never seems "enlist" or show in maas server though received initial dhcp response maas. have no information it, ip address or able log it. any appreciated! thanks! update i updated default gateway of subne

wine - Adwords Editor 11.6 - Ask Ubuntu

i having trouble installing latest (must have) version 11.6 of google adwords editor. worked fine till previews version. need have new version in order work , because of new rules. tried installing via wine , play on linux, won't install because in beginning of installation message saying installer not connect internet, , asks me check firewall. there must solution problem, know know fix problem? set wine "windows 7" , install google adwords editor with: wine msiexec /i ./google_adwords_editor.msi source: https://appdb.winehq.org/objectmanager.php?bshowall=true&bisqueue=false&bisrejected=false&sclass=version&stitle=&sreturnto=&iid=32146

16.04 - hp elitebook 840 g1 ubuntu boot failed - Ask Ubuntu

i complete ubuntu installation hp elitebook840 g1.i can run ubuntu if choose ubuntu boot option pressing f9 during boot. have erase windows while installing ubuntu system default boot windows 8 installed. tried manage boot order bios problem same. how can configure system directly boot ubuntu.i have gone through several questions , answers don't solution. suggestion highly appreciated.

dpkg - Can not update Python and other software - Ask Ubuntu

i updating python , can not through. systems suggest using sudo apt-get -f install, however, not work either. how can solve issue? $sudo apt-get -f install reading package lists... done building dependency tree reading state information... done correcting dependencies... done following additional packages installed: python3-update-manager update-manager following packages upgraded: python3-update-manager update-manager 2 upgraded, 0 newly installed, 0 remove , 59 not upgraded. 11 not installed or removed. need 0 b/574 kb of archives. after operation, 0 b of additional disk space used. want continue? [y/n] y (reading database ... 405655 files , directories installed.) preparing unpack .../python3-update-manager_1%3a16.04.4_all.deb ... /var/lib/dpkg/info/python3-update-manager.prerm: 6: /var/lib/dpkg/info/python3-update-manager.prerm: py3clean: not found dpkg: warning: subprocess old pre-removal script returned error exit status 127 dpkg: trying script new package instead

software installation - How does Ubuntu determine a package to be installed? - Ask Ubuntu

other extracting files specific package in proper directories , running whatever scripts defined in it, apt / dpkg maintain separate record of has been installed successfully? i'm considering merging root directories of separate containers, i'm wondering what's going happen. yes. dpkg records entries of packages installed in system. file maintains /var/lib/dpkg/status . from man dpkg /var/lib/dpkg/status statuses of available packages. file contains information whether package marked removing or not, whether installed or not, etc. see section information packages more info. status file backed daily in /var/backups. can useful if it's lost or corrupted due filesystems troubles.

networking - VoIP (and other) traffic forwarding to port 80 - Ask Ubuntu

in college have filtered network won't let through voip calls of kind (as blocking bittorrent clients). i'd channel programs connecting internet through 80 port, did on android app called drony (which asked permission create dummy vpn, trick channel of apps through 8080 port). there way ubuntu achieve this?

wireless - How to create this: /etc/pm/config.d/config - Ask Ubuntu

this question has answer here: how can edit .conf file owned root? 2 answers how realtek rtl8723be wireless card work? 6 answers this 1 of solutions provided solve wi fi dropping issue. don't know how create config file. here solution asks create file: 16.04 lts wifi connection lost randomly every 5 minutes thanks in advance.

virtualbox - Ubuntu 16.04 Desktop hangs randomly - Ask Ubuntu

i have 16.04 (64 bit) running in virtualbox vm (using vbox 5.1.8 now, happened previous versions of vbox too). application i'm running when ubuntu hangs firefox. use ubuntu 14.04 (64 bit) on same host machine without issue, i'd use 16.04 if @ possible (if can stable enough). never run 2 vms @ same time. making wild guess in dark think it's graphics related - laptop run vms on has 'intel(r) hd 4000 graphics'. both 14.04 , 16.04 vms have 2gb of ram (on 8gb host) , (oddly) i've given them both 3 cores (on quad core 64bit host: i7-3630qm). have given them both 4 cores , still been within 'green' limit indicated virtualbox. i've installed vbox guest additions. i know it's not lot go on, if suggest investigate appreciated.

grub2 - Grub rescue failure to boot - Ask Ubuntu

when put command 1s it's saying "unknown command" when put grub rescue> set cmdpath=(hd0) prefix=(hd0,msdos6)/boot/grub root=hd0,1 are coming up. linux/boot//vimlinuz root=/dev/sda1 says: unknown command please need help. is there way of formating hdd through grub rescue? booting failing, have put iso image of ubuntu on flash disk seems it's not capturing either. set prefix=(hd0,msdos6)/boot/grub (hit enter) insmod normal (hit enter)

Where is the kernel documentation? - Ask Ubuntu

in centos can yum install kernel-doc , read /usr/share/doc/kernel-doc/documentation/filesystems/proc.txt . how equivalent in ubuntu? professor google told me in source code did apt install linux-source can't find proc.txt anywhere. i'm guessing there's different way of doing in ubuntu. the package name linux-doc, after apt install linux-doc in /usr/share/doc/linux-doc . in general called "kernel" in rh/centos land called "linux" in ubuntu since ubuntu based on debian has versions other kernels gnu hurd , bsd.

software installation - How to use binaries? - Ask Ubuntu

i installed sqlite , sqlite3 software center. works, sqlite3 version 2013. i tried install binaries available directly sqlite. downloaded "precompiled binaries linux" ( https://sqlite.org/download.html ). however, @ point have no idea how install/use these files. not *.deb or *.rpm , can see have no extension. i suspect need put these files somewhere (but have no idea where). please suggest how use these files? i using 14.04 on 64 bit machine. if may provide additional information please let me know. items have tried far: i searched computer files same name files downloaded (so replace old files new files), did not find anything tried install files using dpkg -i tried run files right clicking , selecting 'run' searched on askubuntu.com, sqlite.org , web in general. still no luck.

16.04 - Cannot schedule GUI program - Ask Ubuntu

have been trying create daily task open gui program (for sake of argument firefox ) using crontab not succeeding. @ least can't tell no message sent terminal. i have followed instructions these sites: cronhowto how set cron job? to no avail. while waiting answer on why crontab event not running interesting happened: script setup through crontab ran! turns out seems to using time of day without considering summer time. is, taking time fixed time utc not considering still summer time. as example, task setup as: 52 13 * * * /home/username/my_script.sh actually ran @ 14:52 (that clock @ top right corner of screen said). because still in summer time, concluding cron looks @ system clock , ignores fact have added 1 hour due summer time. using @rohitt vashishtha words: cron doesn't play nice timezones .

networking - Install network-manager on Ubuntu14.04.4 LTS using live CD or any means - Ask Ubuntu

recently removed systemd-services removed many packages system. tried fix using live cd couldn't working. output of apt-get install network-manager root@ubuntu:/var/cache/apt/archives# apt-get install network-manager -f reading package lists... done building dependency tree reading state information... done packages not installed. may mean have requested impossible situation or if using unstable distribution required packages have not yet been created or been moved out of incoming. following information may resolve situation: following packages have unmet dependencies: network-manager : depends: libnl-3-200 (>= 3.2.7) not going installed depends: libnl-genl-3-200 (>= 3.2.7) not going installed depends: libnl-route-3-200 (>= 3.2.7) not going installed depends: wpasupplicant (>= 0.7.3-1) recommends: crda e: unable correct problems, have held broken packages. root@ubuntu:/var/cach

Enable growth of VirtualBox guest's disk - Ask Ubuntu

i running virtualbox (version 5.0.24) windows 10 guest under ubuntu 16.04 lts . in storage settings, "virtual size" stated 32 gb , "actual size" 30.2 gb . dynamically allocated storage used. in addition (not sure if relevant), lvm used in ubuntu . i trying install software take additional 4 gb in windows guest , "not enough space" error. steps should take enable installation? (i still have lots of free disk space in home directory in ubuntu, how windows guest use it?) you can modify virtual disk container using vboxmanage modifymedium (virtualbox 5.1) command in terminal window. in windows guest, using windows own disk management application extend size of windows partition. $ vboxmanage (by see long info) modifymedium [disk|dvd|floppy] <uuid|filename> [--type normal|writethrough|immutable|shareable| readonly|multiattach]

Languages in Notepad++ in Ubuntu - Ask Ubuntu

Image
i using ubuntu 14.04 , installed notepad++ using wine installed. want type telugu text using telugu (kagapa phonetic). changed encoding in utf-8 it's not showing telugu text - it's showing boxes. display telugu text? i able view telugu on npp in wine. you first need configure font used display text. can change font by going menu -> settings -> style configurator change font there. i change font global style , enforced global style source types using enable global font option. use unicode font telugu support. can use noto sans telugu , in system made english text unreadable. so, used giduga font, can display both english , telugu scripts. can download fonts site http://fonts.siliconandhra.org/ (it's first link) check question installing font - how install fonts? once changed font, can write telugu in notepad++. here screen-shot of telugu in npp. (forgive me if magically appears bad word. typed 1 totally random)

Mysql 5.6 trouble installing in ubuntu 14.04 - Ask Ubuntu

Image
why mysql install error after removing mysql or purger it. i : i did possible ways of removing mysql , reinstalling it, still facing same issue. removed etc/mysql files too. pls suggest

nvidia - Windows "repeat" on moving them - Ask Ubuntu

Image
with second monitor connected via displayport, have issue windows repeat on primary monitor (lenovo thinkpad t460p). when click on desktop after dragging window, drawings dissappear. my system: os: ubuntu 16.10 64 bit cpu: intel® core™ i7-6820hq cpu @ 2.70ghz × 8 graphics card: geforce 940mx/pcie/sse2 is known issue? i fixed installing recommended nvidia driver: sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update check recommended drivers: ubuntu-drivers devices == cpu-microcode.py == driver : intel-microcode - distro non-free == /sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0 == model : gm108m [geforce 940mx] modalias : pci:v000010ded0000134dsv000017aasd00005050bc03sc02i00 vendor : nvidia corporation driver : xserver-xorg-video-nouveau - distro free builtin driver : nvidia-370 - third-party free recommended driver : nvidia-367 - distro non-free driver : nvidia-364 - third-party free in case nvidia-370 - third-party

partitioning - About File System and Formatting Device - Ask Ubuntu

Image
i formatted pen drive using terminal , can use full 16gb(capacity) of pen drive, before formatting capacity 14.9gb.i want ask ,how can possible access full capacity of pen drive?is there have done wrong? include screenshot of terminal window showing commands entered. you haven't done wrong, except misread 14.9 g i b 14.9 gb. they 2 different units of measurement, computing equivalent of imperial , metric. clue on last line of output dd : 16022241280 bytes (16 gb, 15 gib) copied hard drives sold in metric units (gb) prefixes (k, m, g) increase in multiples of 1000, computers have traditionally used larger binary units (gib), prefixes increase in multiples of 2^10 (10 twos multiplied together), equal 1024. therefore gigabyte (gb) 1000*1000*1000 bytes, while gibibyte (gib) 1024*1024*1024 bytes, , indeed 16.0*1000*1000*1000 equal 14.9*1024*1024*1024 .

networking - Network indicator missing but connected (16.04 LTS Unity) - Ask Ubuntu

after recent upgrade seems have removed network-manager-gnome, or did upgrade -f did it, not see network indicator in panel. network active, both wireless , local. i have tried: nm-applet, it's not installed . if try install installing network-manager-gnome receive: the following packages have unmet dependencies: network-manager-gnome : depends: default-dbus-session-bus not installable or dbus-session-bus not installable recommends: mobile-broadband-provider-info not going installed e: unable correct problems, have held broken packages. restarting service sudo service network-manager restart restarts make work again, again, no indicator. edit (requested outputs): output of cat nm-applet : [desktop entry] name=network comment=manage network connections icon=nm-device-wireless exec=nm-applet terminal=false type=application nodisplay=true notshowin=kde;gnome; x-gnome-bugzilla-bugzilla=gnome x-gnome-bugzilla-product=networkmanager x-gnome-

16.04 - Setting permissions for /var/www/mysite? - Ask Ubuntu

this question has answer here: how avoid using sudo when working in /var/www? 8 answers default permissions /var/www 3 answers after looking around site, it's been said it's best practice use 644 permission websites in /var/www. so have done chmod 644 /var/www/mysite i no longer have access mysite folder, permission denied. after asking this question seems need allow user execute permissions. i've done feel in bit of mess. so please explain best practice when comes setting permissions /var/www/mysite? i want myuser able go in there. sort of access should www-data have? permissions should set folder , sub folders each user? use 644 permission websites in /var/www. no. nobody said this. "use "600" "644" permission

amd graphics - Multi GPU boot fail - Ask Ubuntu

first of i'm new linux systems. problem whenever install amdgpu-pro driver system, not boots. empty dark purple screen or flashing dash or gnu grub screen. have 2 rx 480 , older r9 280 in machine. (yes, mining coins.) worked on windows wanted switch linux. so question: possible different gpus messing system? (i didn't have time take out 3rd card , can't access system 2 more days...) if yes, switching r9 280 rx 470 can solve problem (as based on polaris10 gpu), or should third rx 480?

bash - How to echo "some text" and result of function in one line? - Ask Ubuntu

i'm starting learn bash scripting. , had question. code below working fine, echo "here current directory: " pwd but if want have result of pwd written in same line explanation string? how it? thanks. you can use command substitution echo "here current directory: $(pwd)" however might want habit of preferring printf on echo printf 'here current directory: %s\n' "$(pwd)" note: tell echo not include terminating newline e.g. echo -n "here current directory: " pwd but it's not recommended - see why printf better echo?

apt - Crontab not working on a PHP file - Ask Ubuntu

please ubuntu 16.04 sudo apt-get update sudo apt-get install cron sudo apt-get install vsftpd from here: url sudo apt-get install php i uploaded file ftp , have created crontab -e try 2 option both not working on file */1 * * * * cd /home/amar/ && /usr/bin/php remote_cron.php > /dev/null 2>&1 */1 * * * * cd /home/amar/; php remote_cron.php everything thing installed okay crontab not working thing missed install thanks all

networking - Overwhelmed about managing 2 LAN - Ask Ubuntu

i going lose reputation question have been running around hours , lost. this scenario trying connect bunch of ip cameras on separate switch , subnet. isolate camera's traffic main lan. i have network of switches , on same subnet (192.168.1.x - 255.255.255.0) have 24 ports poe switch dedicated cameras. planing set cameras on different subnet (192.168.2.x - 255.255.255.0) on server control cameras (ubuntu server 16.04 x64) there 2 nic. connect 1 card of cam server 192.168.1.x subnet(to main lan) , other card 192.168.2.x(to poe switch) so, on cam server able monitor cameras on 192.168.2.x , able manage cam server on 192.168.1.x. (works great) all need understand how able manage each camera on 192.168.2.x 192.168.1.x bypassing camera software on camera server. i not able figure out how set ubuntu 16.04 server grab traffic coming 192.168.1.x , pass 192.168.2.x ??? is there packages included in ubuntu 16.04 me that? me starting point. is question going remain [on hold]

14.04 - increase /dev/sda1 size which is mounted to / (root) - Ask Ubuntu

Image
i have ubuntu running on vmware & live production server running since 2 years. dev/sda1 primary partition , mounted on /. i have increased hdd size 500 1tb yesterday. fdisk -l shows 1 tb size. but won't apply in dev/sda1 automatic. does resiez2fs command increase dev/sda1 size? or other command require run? please me on this. help appreciated. partitions don't automatically resize fill entire capacity of drive. download the ubuntu live cd , boot it. install gparted , open it. open drop-down menu @ top , select hard drive. move except /dev/sda1 right of bar. right click on /dev/sda1 , click resize. set free space preceding (mib) 0, set new size high can, , set free space following (mib) 0. click resize click apply check mark.

networking - Qualcomm Atheros QCA6174 5Ghz Issue - Ask Ubuntu

i bought asus hero alpha motherboard comes atheros wireless card, card following: qualcomm atheros qca6174 802.11ac wireless network adapter [168c:003e] (rev 32) the card works on 2.4ghz (tested on ubuntu 16.04 , 16.10), issues start when using 5ghz. speed many times drops fast (does not disconnect) , stays down, talking internet or lan speed typically around 100mbps goes way down 1.5mbps. the issues have found when doing quick dmesg (here summary of dmesg plus errors): [ 8281.488634] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 8281.488638] cfg80211: (2402000 khz - 2472000 khz @ 40000 khz), (n/a, 2000 mbm), (n/a) [ 8281.488641] cfg80211: (2457000 khz - 2482000 khz @ 40000 khz), (n/a, 2000 mbm), (n/a) [ 8281.488643] cfg80211: (2474000 khz - 2494000 khz @ 20000 khz), (n/a, 2000 mbm), (n/a) [ 8281.488646] cfg80211: (5170000 khz - 5250000 khz @ 80000 khz, 160000 khz auto), (n/a, 2000 mbm), (n/a) [ 8281.488649] cfg8021

wine - Restoring fonts after PlayOnLinux install - Ask Ubuntu

Image
i installed playonlinux , decided didn't need after installing it. ran apt purge playonlinux after removing 1 game had installed. rebooted , fontawesome fonts have gone weird. i have tried: purging ttf-mscorefonts-installed removing .playonlinux directory contained font files exe. refreshing font cache rebooting after each process any tips on restoring fonts? in advance. i'm running ubuntu 16.04 i3. fontawesome fonts installed in ~/.fonts/ directory

boot - No bootable device found on Lubuntu - Ask Ubuntu

when start old computer has lubuntu 12.04 shows no bootable devices found. computer working fine couple of times after have installed lubuntu not start asks insert bootable devices. p.s in boot priority order internal hdd @ first. please help you use live cd check or repair disk http://gparted.org/download.php if can try repair boot https://sourceforge.net/projects/boot-repair-cd/

printing - Install printer using custom ppd file on Ubuntu 16.04 - Ask Ubuntu

i want use printers @ work need used custom ppd file. on ubuntu 14.04 select provide ppd file option has been removed ubuntu 16.04. new method add ppd files? this worked me in 16.10 : install cups: sudo apt-get install cups cups-client then make sure user belongs lpadmin group: sudo adduser $user lpadmin reload cups: sudo service cups restart you access cups via address : http://localhost:631/ click "add printer" , follow through: see option use ppd file.

command line - Problem with installing Super Boot Manager in Ubuntu 16.04 LTS - Ask Ubuntu

i have situation installing super boot manager on ubuntu 16.04 lts. have try installation adding official repo / ppa:ingalex/super-boot-manager / , update , install sudo apt-get install super-boot-manager , error message: w: repository > 'http://ppa.launchpad.net/ingalex/super-boot-manager/ubuntu xenial > release' not have release file. n: data such repository can't authenticated , therefore potentially dangerous use. > n: see apt-secure(8) manpage repository creation , user configuration details. also try different type of installation same. buc installed, no deference. edit: after trying update again next message appear : failed fetch http://ppa.launchpad.net/ingalex/super-boot-manager/ubuntu/dists/xenial/main/binary-amd64/packages 404 not found this , top 1 appears together.

16.04 - qemu-system-x86_64 boot failed - Ask Ubuntu

i tried boot ubuntu.iso on qemu-system-x86_64 command "qemu-system-x86_64 -cdrom ubuntu-16.04-desktop-amd64.iso" failed, here warning "tcg doesn't support requested feature: cpuid.01h:ecx.vmx [bit 5]": question img1 how solve problem? you did not specify guest startup ram size -m option, default ram size 128m, insufficient. ubuntu-16.04.2-desktop-amd64.iso, minimum size works -m 277. safe, add -m 512 qemu-system-x86_64 options, should solve problem.

server - RaspberryPi 3 - VLC stream has no audio on 1st try, works on 2nd try - Ask Ubuntu

i've installed ubuntu server on rpi3 , trying stream audio , video usb webcam attached it. but when streaming, seem unable audio working first time run vlc, though works second time , on. here relevant vlc logs , think may relevant bit of first log: access_alsa demux warning: cannot read samples: broken pipe i should point out need run prior opening vlc: v4l2-ctl --device=/dev/video0 --set-fmt-video=width=640,height=480,pixelformat=1 i in order make sound work on rpi - seems odd don't need such thing on ubuntu desktop. anyway, part explained bit here .

wireless - Qualcomm Atheros - Slow/Not connecting on Ubuntu, but works in Win 10 - Ask Ubuntu

i have qualcomm atheros qca6174 network driver. i having slow wifi on linux os works fine on windows 10. when use ethernet cable works, wifi slow , doesn't connect. can guide me on how can fix this? here more information driver: network controller [0280]: qualcomm atheros qca6174 802.11ac wireless network adapter [168c:003e] (rev 20) subsystem: foxconn international, inc. qca6174 802.11ac wireless network adapter [105b:e08e] control: i/o- mem+ busmaster+ speccycle- memwinv- vgasnoop- parerr- stepping- serr- fastb2b- disintx+ status: cap+ 66mhz- udf- fastb2b- parerr- devsel=fast >tabort- <tabort- <mabort- >serr- <perr- intx+ latency: 0, cache line size: 64 bytes interrupt: pin routed irq 35 region 0: memory @ d1400000 (64-bit, non-prefetchable) [size=2m] capabilities: <access denied> kernel driver in use: ath10k_pci kernel modules: ath10k_pci alright try adding line config sudo su echo "options ath9k nohwcrypt=1" >> /et

software installation - libglib2.0-dev package has unmet dependencies - Ask Ubuntu

i'm trying install libglib2.0-dev (dependency gstreamer1.0-dev) 64-bit ubuntu-16.04 unsuccessful, following error message: the following packages have unmet dependencies: libglib2.0-dev : depends: libglib2.0-0 (= 2.48.0-1ubuntu4) 2.48.1-1~ubuntu16.04.1 installed depends: libglib2.0-bin (= 2.48.0-1ubuntu4) e: unable correct problems, have held broken packages. i proceed install dependency libglib2.0-bin ubuntu says it's newest version: reading package lists... done building dependency tree reading state information... done libglib2.0-bin newest version (2.48.1-1~ubuntu16.04.1). 0 upgraded, 0 newly installed, 0 remove , 4 not upgraded. any comments resolve issue welcomed. thank you!

14.04 - How to get rid of red and blue lines in Libre Office 5 Ubuntu 16.04 - Ask Ubuntu

Image
there such case, use hour reporter on work. looks excel file row , colloms. file downloaded windows machine google drive , when downloaded file ubuntu , opened saw red , blue lines but if try again download file windows good... without annoing lines... how can rid of it? thanks in advance!

How can I use Devilspie2 to bring a window to the foreground when opened? - Ask Ubuntu

Image
i try bring lollypop main window foreground (front) when opened, using devilspie2 . i use following code in config.lua : if (get_window_class()=="lollypop") unmaximize(); focus(); focus_window(); end however, can see below, lollypop opened in background. i don't think get_window_class() correct function problem, try get_window_name() or get_application_name() : if (get_window_name()=="lollypop") unmaximize(); focus(); focus_window(); end or run devilspie2 in terminal , check debug_print(get_window_class()) returns.

power management - Linux - turn off screen permanently - Ask Ubuntu

i want turn off screen , keep off after keyboard / mouse input. xset dpms force off not want. vbetool dpms off would, requires real mode , other funny stuff, why can't crash on segfault. it can third party utility or c / assembly / whatever other programmatic way. one way change backlight 0 , restore it, although @jacobvlijm pointed out, dims screen instead of shutting off. bl=`xbacklight` slock xbacklight -time 0 =0 xbacklight -time 0 =$bl

Is it safe to install Service Pack 1 update on an already dual booted windows 7 and ubuntu 14.04? - Ask Ubuntu

i wanted install service pack 1 update on dual booted windows 7 , ubuntu 14.04. wanted make sure if doing safe or not? had followed this tutorial perform dual boot. after following tutorial booting directly windows , had use boot repair , grub customizer fix related issues. suggestions must prevent problems might encounter? edit - please allow me delete question here before can post on superuser. as rinzwind says, backup, backup, backup. have ubuntu live-media available reinstall grub (very likely). know sector start/end of every partition on disk (may ease recovery of working filesystem in cases). know packages installed, can recreate system scratch (backup applies files, setting customized system not trivial). assume worst, , ready recovery. maybe absolutely nothing happen grub or partitions/files, maybe grabbed windows , made "recovery" partitions -- ready deal that.

command line - Running a .desktop file in the terminal - Ask Ubuntu

from can gather, .desktop files shortcuts allow application's settings customized. instance, have lots of them in /usr/share/applications/ folder. if open folder in nautilus , can run these applications double clicking associated file, e.g. double-clicking firefox.desktop runs firefox. however, can't find way same thing via terminal. if gnome-open foo.desktop opens foo.desktop text file. if make executable , run in bash fails (which expected, it's not bash script). edit: doing exec /fullpath/foo.desktop gives me permission denied message, if change ownership myself. if make executable , same command, terminal tab i'm using closes (i'm guessing crashes). finally, if sudo exec /fullpath/foo.desktop , error reporting sudo: exec: command not found . that's question, how can run foo.desktop file terminal? the command run contained inside desktop file, preceded exec= extract , run by: `grep '^exec' filename.desktop | tail -1 | se

drivers - System freezes when I download and install the bcmwl-kernel-source package - Ask Ubuntu

Image
i'm trying install drivers archer t9e wifi adapter, system freezes whether install of bcmwl-kernel-source through gui or terminal. how can fix this? out put of sudo apt-get install -f bcmwl-kernel-source here output of lshw user@ubuntu:~$ sudo lshw [sudo] password user: ubuntu description: desktop computer product: filled o.e.m. (to filled o.e.m.) vendor: gigabyte technology co., ltd. version: filled o.e.m. serial: filled o.e.m. width: 64 bits capabilities: smbios-2.7 dmi-2.7 vsyscall32 configuration: boot=normal chassis=desktop family=to filled o.e.m. sku=to filled o.e.m. uuid=40028d03-5c04-ff05-7306-bd0700080009 *-core description: motherboard product: ga-990fx-gaming vendor: gigabyte technology co., ltd. physical id: 0 version: x.x serial: filled o.e.m. slot: filled o.e.m. *-firmware description: bios vendor: american megatrends inc. physical id: 0 version: f2 date: 04/06/2016 size: 64

hp - "Ubuntu software" doesn't work - Ask Ubuntu

good evening everyone, i've installed ubuntu 16.04 lts on afternoon. found issue cannot cope with: at fist time "ubuntu software" opened, , showed there 18 updates made. after set them up, turned off computer. at following computer turning on, noticed "ubuntu software" didn't open anymore, now, cannot see apps anymore. how can reset "ubuntu software"? thanks, best regards! p.s. forgot. description of pc: i've installed ubuntu 16.04lts on 2007 pc. it's a: "hp media center pc m7000". had windows vista on it. now, i've made dual boot splitting partitions. pc has 2 operating systems. installed ubuntu set life, since it's quite lot time didn't use it.

dual boot - Install windows software on Ubuntu 16.04lts - Ask Ubuntu

this question has answer here: how can install windows software or games? 18 answers i'm newbie user. installed ubuntu 16.04 lts on afternoon. i'd know if it's possible install, on ubuntu 16.04lts, software had suited windows. --> app exist can make job? my pc: - hp media center pc m7000 (year 2007) - operating system: dual boot "windows vista" & "ubuntu 16.04lts" issue: noticed "ubuntu software" doesn't work anymore, so, if app existed couldn't download ubuntu software. how possibly cope it? best regards! papillon yes, software run windows applications exist, called wine. it's available in ubuntu software center or synaptic package manager. they have rather large support windows applications, aren't compatible yet. wine homepage wine installation guide regarding ubuntu softwar

gnome - After crash I'm unable to arrange combined displays and trackpad settings are not visible - Ask Ubuntu

Image
i upgraded 16.10 few days ago , had total freeze on system; unresponsive cursor, couldn't exit x , had force shutdown vi power button. after have been experiencing problems dual display setup don't allow arranging them. instead system logs out. furthermore touchpad settings not visible longer , cannot change scrolling method natural scrolling. dconf editor (under org> gnome> desktop> peripherals> touchpad) states natural-scroll setting enabled though. scenario similar this . i've got xserver-xorg-input-synaptics installed instead of libinput . ubuntu gnome 16.10 running on 13" macbook 5,1 (2009) i found problem being both libinput , synaptics drivers present. i've deleted synaptics driver it's legacy , got libinput instead: sudo apt install libinput-bin & xserver-xorg-input-libinput which leaves me quite empty mouse/trackpad pane in system settings. options there choices of either using left or right button primary click.

command line - How To Make .RTF Files Non-Executable in Ubuntu 16.04 - Ask Ubuntu

please excuse me if has been asked many times before. couldn't find answer here or anywhere else google lead me. rich text format files. i don't wish discuss or debate preferences, okay? what like learn how make .rtf files on ubuntu 16.04 installation cease being executable , forever until end of time ! i cannot remove check 'run executable' box under properties of each individual file. magically resets itself. have moved of .rtf files single directory, opened directory in terminal , tried using chmod command half dozen different ways remove files executable capabilities, files executable capabilities remain intact. if executable function of rich text format files absolutely , unequivocally cannot remove, please tell me. otherwise there must ubuntu zen master (or mistress) can show me way. open nautilus. navigate 1 of rtf files in question , left single click on it. not double click, single left click give focus. hover mouse on top menu bar

apt - cannot remove half installed app - Ask Ubuntu

please me fix this sudo apt upgrade reading package lists... done building dependency tree reading state information... done calculating upgrade... done 0 upgraded, 0 newly installed, 0 remove , 0 not upgraded. 1 not installed or removed. need 0 b/21.6 mb of archives. after operation, 0 b of additional disk space used. want continue? [y/n] y dpkg: error processing package macbuntu-os-icons-lts-v7 (--configure): package macbuntu-os-icons-lts-v7 not ready configuration cannot configure (current status 'half-installed') errors encountered while processing: macbuntu-os-icons-lts-v7 e: sub-process /usr/bin/dpkg returned error code (1) run these commands in terminal sudo apt-get autoremove sudo dpkg --configure -a sudo apt-get install -f now start installation

startup - Obtain launch command for application from its icon returned by dash app lens - Ask Ubuntu

what general way find out command used dash app lens launch app corresponding icon? i'm in habit of clicking on ubuntu icon in upper left corner (which believe called "dash app lens") , typing generic name of application (such "skype") launch application clicking on icon returned resulting search. however, if want add application via "startup applications preferences" need know command used dash app lens when clicking on application's icon. skype that's easy enough "skype", not simple. you can find software shortcuts appear in dash in /usr/share/applications directory. if right-click .desktop file , select "properties" see command executed, when click on icon in dash.

apt - Ubuntu 16.04 doesn't update - Ask Ubuntu

when try 'sudo apt-get update', stucks on '0% [connecting tr.archive.ubuntu.com (193.140.100.100)] '. , later gives error: cannot initiate connection tr.archive.ubuntu.com:80 (2001:a98:11::100).- connect (101: network unreachable) [ip: 2001:a98:11::100 80] when check ping, gives me: ping tr.archive.ubuntu.com ping ftp.linux.org.tr (193.140.100.100) 56(84) bytes of data. 64 bytes ftp.linux.org.tr (193.140.100.100): icmp_seq=1 ttl=117 time=86.9 ms (end gives same line continuously different icmp_seq , time.) i changed dns , didn't worked. problem?

launcher - Change the number of workspaces shown in the workspace switcher in the Unity sidebar - Ask Ubuntu

i increased number of workspaces compizconfig 4 6 , fine, noticed workspace switcher in unity's launcher still showed 4 workspaces , stopped updating workspace working in. not prevents me working, annoys isn't coherent number of workspaces use. how fix this? while maybe not impossible quite bit based on how works , implemented, plus changes have compiled in. it set work on 2x2 ws setup, on other you'll default icon. (- workspace-switcher-top-left icon based on viewport position see icon, not 1 icon dynamically changing, there 4 icons available use. more 4 ws's you'd need create complete new set of icons. the positioning defined vp.x # & vp.y #, not sure more 4 defined never tried based on above. here patch unity work 1x4 (cube,rotate) ws's only, pretty easy it's redefining icon vp.x/.y & pattern, choose - 1 2 3 4 instead of 1 2 4 3 so that's quite doable, ask not so.

Sync Ubuntu-touch Tasks with Nextcloud - Ask Ubuntu

i have managed sync nextcloud contacts ubuntu-touch using following commands: syncevolution --configure --keyring=no --template webdav username='my_username' password='my_password' syncurl="https://my_url/nextcloud" target-config@nextcloud syncevolution --configure --template syncevolution_client sync=none syncurl=local://@nextcloud username= password= nextcloud syncevolution --configure --template webdav database= https://my_url/nextcloud/remote.php/dav/addressbooks/users/my_username/default/ backend=carddav target-config@nextcloud contacts syncevolution --configure sync=two-way backend=contacts nextcloud contacts syncevolution --sync slow nextcloud contacts my question how do nextcloud tasks? seem getting bogged down syncevolution syntax. i have found bug on launchpad: https://bugs.launchpad.net/ubuntu/+source/syncevolution/+bug/1440294 so sync cloud task list: syncevolution --configure database=

grub2 - Cannot boot Ubuntu unless I choose it in in BIOS boot menu after deleting windows partition and reinstalling - Ask Ubuntu

i using windows7 , ubuntu dual boot , things going fine until deleted partition of windows. after reboot system ubuntu didn't boot , grub rescue terminal showed up. i used live usb flash drive , reinstalled ubuntu erasing on hard disk scratch, unable boot ubuntu automatically; every time need press f12 , choose ubuntu boot bios setup. i have run boot-info script when use gparted throwing error the backup gpt table corrupt, primary appears ok, used.

mac - Best linux Distro for older machines? (Macbook end 2009) - Ask Ubuntu

this question has answer here: how find out version , derivative of ubuntu right hardware in terms of minimal system requirements? 7 answers my parents have old laptop ( macbook ref ) wich start lag on last os version. i'm looking light distro install. they use laptop go on internet (any browser) , use open office or equivalent. need intuitive distro 'cause don't understand how computer works , i'm far away computer maintenance (i can install distro christmas). i hesitate between ubuntu other de unity (elementary os?) or linux mint (lighter, have quite bad gui) or buy os x snow leopard (past version of osx). thanks help! ps: hope have not made many spelling mistakes... ^^' best distro old hardware lubuntu. elementary os best looking distro. can go too.

server - Allow user in a chrooted shell to use a sudo command - Ask Ubuntu

i have user chroot ed directory, , working smoothly. want group user in able restart single process that's being managed supervisor , however, , can't figure out how. i've added line /etc/sudoers : %mygroupname = (root) nopasswd:/usr/bin/supervisorctl restart myprocessname i copied /usr/bin/sudo same path in chroot environment. copied of dependencies relevant places (found using ldd /usr/bin/sudo ). i've gathered sudo uses ton of additional files on system, , i've copied them chroot environment. i'm stuck now, however, , can't past error. missing? sudo log (line breaks readability): nov 10 20:29:04 sudo[3593] pam_setcred: failure setting user credentials @ sudo_pam_begin_session() /build/sudo-1bdjzq/sudo-1.8.16/plugins/sudoers/auth/pam.c:274 nov 10 20:29:04 sudo[3593] pam_open_session: module unknown @ sudo_pam_begin_session() /b

apt - How to install ClipGrab in Ubuntu 16.10 (Yakkety Yak) - Ask Ubuntu

the output while installing clipgrab using ppa :- reading package lists... done w: repository 'http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu yakkety release' not have release file. n: data such repository can't authenticated , therefore potentially dangerous use. n: see apt-secure(8) manpage repository creation , user configuration details. e: failed fetch http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu/dists/yakkety/main/binary-amd64/packages 404 not found e: index files failed download. have been ignored, or old ones used instead. jaggu@jaggu-lenovo-g50-80:~$ sudo apt-get install clipgrab reading package lists... done building dependency tree reading state information... done packages not installed. may mean have requested impossible situation or if using unstable distribution required packages have not yet been created or been moved out of incoming. following information may resolve situation: following packages have unmet dependencies: clipgrab