0
votes
0answers
8 views
how to switch tags via awesome API
I've been digging around in the API documentation, and I'm having limited sucess
switching tags from within awesome-client. Basically, I can switch tags with:
awful.tag.viewidx(2)
But that is ...
0
votes
1answer
14 views
rm -rf all files and all hidden files w/o . & .. error?
rm -rf /some/path/* deletes all non-hidden files in that dir (and subdirs).
rm -rf /some/path/.* deletes all hidden files in that dir (but not subdirs) and also gives the following error/warning:
...
1
vote
2answers
13 views
How similar are Android and QNX?
The root of the question is really: "Can you run the Android OS on a BlackBerry PlayBook?"
Since one is a Linux derivative and the other is a Unix derivative, it seems a natural fit for here.
1
vote
1answer
15 views
find utility does not recognize bracket notation
I've two files in the current folder:
submitWeb.m
submit.m
the following find does not show the two files:
find . -regex .*submit\(Web\)?\.m
But the above regex expression works fine in ...
0
votes
3answers
32 views
What does ./ mean? [duplicate]
I'm having a hard time getting what ./ does.
In the Linux Essentials books, it asks me in an exercise to delete a file named -file. After googling, I found that I need to do rm ./-file but I don't ...
0
votes
1answer
15 views
Have aptitude search print full package name
Environment: aptitude called in a script.
I'm having problems with this command:
aptitude search '?virtual' |grep ^v |grep -v i386|sort|uniq
In particular if I do:
aptitude search '?virtual' ...
0
votes
0answers
15 views
No bluez device after pactl list sources short
I am using pulseaudio on a Raspberry Debian (Wheezy) but my bt-headset(Iqua BHS-611) does not show up in sources or sinks.
What I did:
I followed the Raspbian Wheezy Installation Guide at: ...
0
votes
0answers
20 views
How do you update tmux from 1.7 to 1.8?
I just recently installed tmux 1.7, but now i want to upgrade to 1.8. How do I go about doing this? I downloaded the sources for 1.8 and have them untarred. But im not sure how do you overwrite 1.7 ...
0
votes
1answer
22 views
High availibility setup with NFS
Web hosting HA setup
I have 5 servers:
Server-1: Webhosting Controlpanel (192.168.1.1)
Server-2: Load balancer [Haproxy] (Public IP:192.168.1.2 and
Virtual IP:192.168.1.3)
...
1
vote
4answers
71 views
What is the `editor` command in bash?
I was looking for a command that would hopefully open the current user's favourite text editor, because I am writing out some instructions with commands in a blog. I was expecting a command like edit, ...
0
votes
1answer
10 views
urxvt not loading xft font from ~/.Xdefaults
Some basic details:
archlinux 3.9.3-1
xmonad 0.11
urxvt 9.18
I can get urxvt to load my desired font manually using:
urxvt -fn "xft:Ubuntu Mono"
However, I'm unable to get this font to load ...
1
vote
1answer
19 views
How does the ports package build system work?
I have used yum and apt for package management. The ports system which is in use in *BSD is new to me. I see that some Linux distributions also use it. Like the Gentoo portage and Arch's ABS. I would ...
0
votes
1answer
10 views
pg_dump version mismatch on Debian
I'm running PostgreSQL on Debian Unstable/Sid. I've got the current versions (9.1) of postgresql, postgresql-client, postgresql-client-common (143) installed.
The problem I'm having is trying to run ...
1
vote
1answer
44 views
Why doesn't `head -c 2 /dev/hwrng` work?
I have an Atmel 97SC3201 in my computer and set the following in the kernel:
CONFIG_HW_RANDOM_TPM
CONFIG_TCG_TPM
CONFIG_TCG_ATMEL
/dev has tpm0 and hwrng, but running this command returns the ...
1
vote
3answers
35 views
How do I use pushd and popd commands?
What are the practical uses of both pushd and popd when there is an advantage of using these two commands over cd and cd -?
EDIT: I'm looking for some practical examples of uses for both of these ...
2
votes
1answer
32 views
How can I set up a usb printer as a network printer using a linux server?
Basically right now I have a USB only printer, it's very nice. There are 5 people in my household and we all are constantly wanting to use the printer. Windows has a built in way to share the printer, ...
-4
votes
0answers
27 views
Stuck with Perl script [closed]
I think it's better if I put the instruction first and show you my code.
Can you help me out parts where I need to modify?
The program must check that: a) it is invoked with the appropriate number of ...
0
votes
0answers
25 views
Getting error opening Windows. Error 1: Filename must be either an absolute pathname or blocklist
I've installed CentOS 6.4 on UEFI machine. Created /boot/efi partition and installed grub in it.
But when i open Other in the grub menu i get this error:
Error 1: Filename must be either an ...
0
votes
0answers
10 views
Kernel dependency on Grub in LinuxMint
I have several linux OS's on my laptop the main one being Ubuntu which I used to boot the other OS's with. I recently had to reinstall Mint Cinnamon, during the installation grub was installed ...
2
votes
2answers
38 views
Running K3b from the command line
I wish to run K3b from the command line. I do not mind if it opens windows, as long as I do not have to click in them and they ultimately close.
Specifically, I wish to run k3b --copy /dev/cdrom.
This ...
0
votes
1answer
20 views
YUM UPDATE stuck forever
I created repository for RHEL 5.6 . There was already an exiting repository for RHEL5.2 which I deleted.
And i run following commands
yum clean all
yum clean metadata
then, Yum list all
It list all ...
0
votes
0answers
19 views
Can't connect to a wireless network in Arch Linux netctl
I just installed arch linux on my laptop.
But after rebooting, I can't connect to the internet.
Wi-fi is the only available connection to me.
I used the command wifi-menu then after choosing my ...
0
votes
0answers
24 views
Are these memory leaks or is it normal?
I want to find out if there are memory leaks in my kernel.
First log: http://pastebin.com/wD2Bhduz Second log: http://pastebin.com/ZWhr7T7S
Memory increases for example in UDPv6, cfq_io_context, ...
0
votes
1answer
19 views
mount Linux NFS. rpc.statd is not running
I have Ubuntu 12.04 as the NFS server. The clients are Linux. My /etc/exports file has 1 line,
/folderToExport *(rw,async,no_subtree_check)
/etc/init.d/nfs-kernel-server status shows that the ...
0
votes
2answers
22 views
Gnome3/cinnamon set keyboard shortcut
I cannot find where I can set keyboard shortcut for switching languages.
Update:
New problem: I cannot set Alt+Shift combination for that.
2
votes
1answer
24 views
apt installing more packages than specified as dependencies
I was trying to install texmaker from the repository. For installing the texlive I followed the steps described here. For this the control file I used is this. It has the file texlive-binaries in it.
...
1
vote
2answers
23 views
Disadvantages to having www-data able to log in
I run a tiny web server basically just for hosting small data projects and files. This server has a public IP address.
I would like to be able to FTP in and upload files directly to /var/www/*, and ...
3
votes
1answer
27 views
How do I change the screen font size when using a virtual terminal
Using LDXE and Ubuntu, I can log into a virtual terminal via CTRL+ALT+F1.
The text is far too small. How do I change the screen resolution to get a larger font?
0
votes
0answers
13 views
How can I set up a samba share accessible via windows 7 to a specific point on the server?
A samba share is set up according to the directions here: https://wiki.archlinux.org/index.php/Samba
The /etc/samba/smb.conf file looks like this (after some hacking around from googling):
# This ...
0
votes
0answers
20 views
How to fix “org.freedesktop.PolicyKit1” error when unmounting USBs in Thunar?
I recently installed Debian Wheezy with XFce4. Whenever I try to unmount a USB, I get this error message:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 ...
0
votes
1answer
16 views
Debian, virtualenv, IPython notebook and matplotlib inline plots
I have been using IPython notebook on both OSX and Windows 7 for a while. Now I'm trying to create a minimal system for me to work on Debian 7 (Wheezy). I installed:
LXDE
Python2.7
python-dev
...
3
votes
1answer
33 views
Is the desktop environment responsible for affecting behaviour to certain keys?
I have a laptop which has a Fn key. Using xev command shows that Fn + UpArrow is affected to XF86AudioRaiseVolume.
If I use KDE, is it KDE that is responsible for affecting a behaviour to that ...
3
votes
2answers
37 views
/sys/ documentation?
Are there any man pages on the /sys/ directory and how devices are setup? I'm hoping that there may be something similar to man proc, but cant really find anything to push me in the right direction.
0
votes
0answers
9 views
My APC opcode cache stopped working without a clearly identifiable cause
My APC 3.1.13 had been running fine for weeks, and today, it stopped working after I restarted PHP5-FPM. If I check out my apc.php it shows it caches some files, and then it just stops caching. I ...
6
votes
1answer
119 views
Why are reboot, shutdown and poweroff symlinks to systemctl?
In Arch Linux, if I do ls -l in /sbin, I can see that reboot, shutdown and poweroff are all symlinks to /usr/bin/systemctl. But issuing reboot, shutdown and systemctl commands obviously does not all ...
-1
votes
1answer
37 views
How does Google manage its service package installation and upgrade? [closed]
The RPM, yum or apt tools are very popular in the Linux world, but I don't know whether Google uses these tools in their internet service management work, and use these tools to manage the service ...
2
votes
2answers
41 views
What happens to UIDs upon mount of file system
I have a very basic question and still failed to find the answer after ~10 google requests and skimming through my unix textbook, so:
Consider a system with 2 hard drives, having root file system at ...
2
votes
3answers
34 views
ffmpeg -pattern_type glob — not loading files in correct order
I have a dilemma..
I've had a script for a while now that downloads pictures from a webcam every few minutes.
The naming convention just does new_image((len(files(dir))+1) + '.jpg') and that's all ...
1
vote
2answers
42 views
How to Remove Windows from dual boot setup?
I originally had Windows 7 Starter and Updated to the Windows 8 90 Day Trial. 30 Days into the trial I decided I absolutely hate it and wanted to try Linux Mint.
I installed Linux Mint and found out ...
-1
votes
0answers
47 views
/tmp permission denied [closed]
I'm trying to install CrossOver and I keep getting this:
/home/mike/install-crossover-12.2.1.bin: line 154: /tmp/installer.Gxlnvhb1lf: Permission denied
and ls -ld /tmp outputs
drwxrwxrwt 16 root ...
3
votes
2answers
37 views
Custom autocomplete: deal with spaces in filenames
A bit of context, this question is a follow-up of this one: Bash remote autocompletion : change the 'starting' directory
Anyway, I'm writing my custom autocompletion bash script: I want the ...
3
votes
2answers
50 views
Passing quotes and full strings to bash -c or zsh -c
When I am in Perl and I call system(some_command), this invokes some_command on /bin/sh. I would like it instead to run some_command in another shell such as bash or zsh.
One way of running ...
2
votes
2answers
39 views
mv: cannot stat No such file or directory in shell script
I wrote a script to move some files form one folder to another folder
but I got the following error, I checked 2 folders and notice for 1 folder there are such files and another there is no such ...
2
votes
2answers
32 views
How do I install Slax to a usb stick?
I want to install Slax on my usb stick, but I just can't get it to work. I tried copying the contents of the .zip file to the usb stick, and I got to some grub rescue thingy. I also tried Unetbootin, ...
2
votes
1answer
37 views
Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?
I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?
This will be used on RHEL 6 which does include thin ...
3
votes
3answers
104 views
Using Linux text editor to prepare content for Microsoft Word
I need to prepare a long manuscript that must be submitted in a Microsoft Word document in order to meet the submission criteria. (Please no "Don't use Word" comments.)
I want to use a text editor on ...
3
votes
1answer
21 views
stat on an encrypted volume in osx takes a long time
My workstation is a MacBook Pro with an SSD. For security reasons, my main volume is encrypted.
I ran this command on a folder:
time find . -exec stat {} + >/dev/null
real 0m5.205s
user ...
2
votes
1answer
24 views
Finding gEDA installation directory
I installed gEDA and I am trying to find it's installation directory/path.
I've searched Google for many strings and entered a lot of the results it returned but didn't find anything about that.
So ...
2
votes
3answers
75 views
bash script selecting the last path variable
Hey all i am writing my first bash script. and i am making it install all the repos i have on github.
warpInLocations=("git@github.com:acc/toolkit.git" "git@github.com:acc/sms.git" ...
-2
votes
1answer
29 views
bash script user promt for prefered directory
hey all i am attempting my first bash script. so i would like to prompt the user to find out where they would like a cloned repo to be saved
currently i am assigning it like this
...

