Using the Windows Pidgin Options plugin, I can make the buddy list be dockable. If I dock it, other windows avoid it when maximising themselves. How do I do the same thing in X?
Can anyone please steer me in the right direction to a function that will edit multiple TODO in one fell swoop. Here are some examples:
highlight a group of TODO that have deadlines and remove the dealines to make them undated.
modify all priorites in a highlighted group -- e.g., #A to #D
set deadlines by group and/or change deadlines by group -- e.g., move everything to a specific date, or set a specific date for each if they were undated.
I am new to bash scripting (not programming in general).
I am writing a bash script that will run a Python script I have written.
I want to be able to do the following:
Pass parameters to the bash script via the cronjob (so I can have two cron jobs) one to be run with parameter 'foobar', and the other 'foo'
switch based on the parameter passed to the bash script (by switching, I mean an if/else based on the paramter passed to the bash script).
I was on all the builds of the Mavericks beta and connecting to my University's network was fine. Then I upgraded to the public release and now I can't seem to connect to the internet. I can connect to other networks, but not my schools. Its a WPA2 network with a User Authentication. And my MacBook is a 2011? 2.2 GHz first gen i7 Quad Core with 8 GBs of RAM. Does anyone else have the same issue? Any tips on how to fix it?
Thanks!
heinst
Every time I switch to a virtual console and back to X.org (1.5.3) the keyboard is disabled. The only way to get the keyboard back is to restart the X server. There is no message in the system logs. How can I fix this?
I recently upgraded my kernel from 2.6.31-gentoo-r6 to 2.6.32-gentoo-r7. In both cases, I configured everything manually. However, since the upgrade, my wireless card appears to be on the fritz. It will connect to networks just fine, and remain connected, but can only access the internet (and other hosts on the network) for about 3 seconds after connecting. Reconnecting to the network appears to fix the problem... for another 3 seconds or so.
The problem is "solved" by booting into the older kernel. The relevant lspci entry is
02:00.0 Network controller: Intel Corporation PRO/Wireless 5300 AGN [Shiloh] Network Connection
I'm pretty sure I have the correct drivers enabled in the kernel
Device Drivers --->
Network device support --->
Wireless LAN (IEEE 802.11) --->
<*> Intel Wireless Wifi
[*] Enable LED support in iwlagn and iwl3945 drivers
[*] Enable Spectrum Measurement in iwlagn driver
[*] Enable full debugging output in iwlagn and iwl3945 drivers
<*> Intel Wireless WiFi Next Gen AGN (iwlagn)
[*] Intel Wireless WiFi 4965AGN
[*] Intel Wireless WiFi 5000AGN; Intel WiFi Link 1000, 6000, and 6050 Series
I tried with the other intel drivers enabled as well (iwl3945) and no difference. Is there something stupid I'm missing? Is there something I have to recompile after upgrading the kernel (a la nvidia)?
Thanks
Mala
Preface
I'm building a virtualization environment with Ubuntu 14.04 and LXC. I don't want to write my own template since the upgrade from 12.04 to 14.04 has shown that backwards compatibility is not guaranteed.
Therefore I'm deploying my virtual machines via lxc-create, using the default Ubuntu template. The DNS for the servers is provided by Amazon Route 53, so no local DNS server is needed.
I also use Puppet to configure my servers, so I want to keep the manual effort on the deployment minimal.
Now, the default Ubuntu template assigns IP addresses via DHCP. Therefore, I need a local DHCP server to assign IP addresses to the nodes, so I can SSH into them and get Puppet running. Since Puppet requires a proper DNS setup, assigning temporary IP addresses is not an option, the client needs to get the right hostname and IP address from the start.
Question
What DHCP server do I use and how do I get it to assign the IP address based only on the host-name DHCP option by performing a DNS lookup on that very host name?
What I've tried
I tried to make it work using the ISC DHCP server, however, the manual clearly states:
Please be aware that only the dhcp-client-identifier option and the hardware address can be used to match a host declaration, or the host-identifier option parameter for DHCPv6 servers. For example, it is not possible to match a host declaration to a host-name option. This is because the host-name option cannot be guaranteed to be unique for any given client, whereas both the hardware address and dhcp-client-identifier option are at least theoretically guaranteed to be unique to a given client.
I also tried to create a class that matches the hostname like this:
class "my-client-name" {
match if option host-name = "my-client-name";
fixed-address my-client-name.my-domain.com;
}
Unfortunately the fixed-address option is not allowed in class statements. I can replace it with a 1-size pool, which works as expected:
subnet 10.103.0.0 netmask 255.255.0.0 {
option routers 10.103.1.1;
class "my-client-name" {
match if option host-name = "my-client-name";
}
pool {
allow members of "my-client-name";
range 10.103.1.2 10.103.1.2;
}
}
However, this would require me to administer the IP addresses in two places (Amazon Route53 and the DHCP server), which I would prefer not to do.
About security
Since this is only used in the bootstrapping phase on an internal network and is then replaced by a static network configuration by Puppet, this shouldn't be an issue from a security standpoint. I am, however, aware that the virtual machine bootstraps with "ubuntu:ubuntu" credentials, which I intend to fix once this is running.
I just installed minecraft on my LXDE desktop/Lubuntu machine and I'm trying to create a .desktop file on the desktop that executes java -jar ~/minecraftlauncher.jar. The command works in bash scripts and the terminal but refuses to work when I click on my .DESKTOP shortcut which is suppose to execute the same command. I've experimented with other jars and they can't seem to start too.
Here is my xsession log:
** (pcmanfm:1572): DEBUG: launch command: <java -jar ~/Downloads/minecraft_server.jar>
** (pcmanfm:1572): DEBUG: sn_id = pcmanfm-1572-administrator-Dimension-3000-java-14_TIME14031891
Unable to access jarfile ~/Downloads/minecraft_server.jar
** (pcmanfm:1572): DEBUG: launch command: <java -jar ~/minecraftlauncher.jar>
** (pcmanfm:1572): DEBUG: sn_id = pcmanfm-1572-administrator-Dimension-3000-java-15_TIME14070158
Unable to access jarfile ~/minecraftlauncher.jar
UPDATE:
Whoops, it seems to work when I give an absolute path. I guess the home path is something else.
UPDATE:
I guess X doesn't resolve the home specifier. I ran a .desktop file that executed a script that outputs the current directory, and it seems to be correct.
I have been running fedora 11 for several months without a hiccup, but two days ago I ran "yum update" and installed whatever updates were available (I didn't pay attention to what they were). I was having problems with mysql so I tried "yum remove mysql" and then it removed mysql as well as quite a few unexpected dependencies. I then "yum install mysql" without a hitch and went about my way. However, when I next booted up my machine it got to "Starting preload dameon [OK]" and then it hangs with a flashing cursor on the screen.
I tried following http://dailypackage.fedorabook.com/i...ling-Grub.html but it didn't seem to make any difference. I put a new hard drive with WinXP on it into the same machine that I booted to, and I tried to use Ext2 Installable File System for Windows but when I run it, it only seems to see /boot and nothing else on the hard drive.
Any ideas?
I am researching how to install Ruby 1.9.1 in Xubuntu 10.04 and I came across the command build-essential and build-dep multiple times. Sometimes it is followed by packages and sometimes it is both preceded and post-ceded by packages.
The 2 examples I am looking at are:
sudo apt-get install build-essential
zlib1g zlib1g-dev zlibc libruby1.9
libxml2 libxml2-dev libxslt-dev
sudo apt-get build-dep ruby1.9
and
sudo apt-get install ruby irb ri rdoc
ruby1.8-dev libzlib-ruby libyaml-ruby
libreadline-ruby libncurses-ruby
libcurses-ruby libruby libruby-extras
libfcgi-ruby1.8 build-essential
libopenssl-ruby libdbm-ruby
libdbi-ruby libdbd-sqlite3-ruby
sqlite3 libsqlite3-dev libsqlite3-ruby
libxml-ruby libxml2-dev
I have two monitors attached to my video card. Primary monitor has a resolution equal to 1280x1024 and second has 1920x1200. My gdm login screen always appears on the second monitor even if it is switched off. My question is how to force gdm to show login screen always on primary monitor with resolution 1280x1024? I use Ubuntu 10.04.
Is it possible to dual boot between Ubuntu and W7.vhd? If anyone knows please tell me how.
if you can answer to [email protected] would be perfect. Thanks
Hi,
I am trying to remove all the files in a directory hierarchy which a certain string inside the file (not the file name, it is the file content).
I can list out all the file name which has a string in the file using 'grep -r -l mystringlooking for'.
But how can I remove all the files returned by the grep ? I am trying this on ubuntu.
Thank you.
I'm running Mac OS X, and it appears that after SSHing to several machines, using identity files, my 'ssh-agent' builds up a lot of identity / keys and then sometimes offers too many to a remote machine, causing them to kick me off before connecting:
Received disconnect from 10.12.10.16: 2: Too many authentication failures for cwd
It's pretty obvious what's happening, and this page talks about it in more detail:
SSH servers only allow you to attempt
to authenticate a certain number of
times. Each failed password attempt,
each failed pubkey/identity that is
offered, etc, take up one of these
attempts. If you have a lot of SSH
keys in your agent, you may find that
an SSH server may kick you out before
allowing you to attempt password
authentication at all. If this is the
case, there are a few different
workarounds.
Rebooting clears the agent and then everything works OK again. I can also add this line to my .ssh/config file to force it to use password authentication:
PreferredAuthentications keyboard-interactive,password
Anyhow, I saw the note on the page I referenced talking about deleting keys from the agent, but I'm not sure if that applies on a Mac since they appear to be cleared after reboot anyhow.
Is there a simple way to clear out all keys in the 'ssh-agent' (the same thing that happens at reboot)?
I am trying to change this xorg.conf file that I used to modify under Ubuntu 9.04, so it can have the higher resolutions of my monitor. Under 9.04, the monitor was unknown, and I had to key in all resolutions in the file, and although it is found under 9.10, 9.10 does not have the highest resolution that My monitor can sustain.
How can I change such setting ? Is xorg.conf moved, or replaced ?
Merci :-)
JF
I'm using Xorg 7.5 on a Radeon HD4870 with the FOSS radeonhd server on my HP 6830s. The laptop has a VGA connector and I attach it to a 37" panasonic plasma TV. It works fine except for a little annoyance: when activated, the TV screen is set to the resolution of 1360x768 (which it reports as being the highest it supports) but all the image is shifted by about 100 pixels to the right. I can't see the leftmost part of the page, and I have a black vertical bar to the right.
If I change the resolution to 1024x768 there is no shifting, the image fills the entire screen with no parts hidden, but at this resolution the image is stretched.
How can I tune the position on the external monitor so that the image is centered in the screen filling it entirely?
According to the docs https://help.ubuntu.com/10.04/serverguide/httpd.html i have done following, and that is almost how i do always in my Fedora, but Ubuntu looks like its not working.
a) DNS to IP
$ echo "127.0.0.1 a" > /etc/hosts
$ echo "127.0.0.1 b" > /etc/hosts
b) Apache virtualhost
$ ls
1 2 default default.backup default-ssl
$ cat 1
<VirtualHost *:80>
ServerName a
ServerAlias a
DocumentRoot /var/www/html/a/public
<Directory /var/www/html/a/public>
#AddDefaultCharset utf-8
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
$ cat 2
<VirtualHost *:80>
ServerName b
ServerAlias b
DocumentRoot /var/www/html/b/public
<Directory /var/www/html/b/public>
#AddDefaultCharset utf-8
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
c) load into Apache and restart the service
$ a2ensite 1
$ a2ensite 2
$ a2dissite default
$ /etc/init.d/apache2 restart
d) Browse the new 2 hosts
$ firefox http://a
Does not work it goes always with http://a or http://b to /var/www/html
How do i fix it so that it goes to its own directory e.g: http://a goes to /var/www/html/a/public not /var/www/html?
Using sed, how can I delete all blank lines?
Input file:
Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300
Betty Boop:245-836-8357:635 Cutesy Lane, Hollywood, CA 91464:6/23/23:14500
Igor Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ 23875:6/18/68:23400
Norma Corder:397-857-2735:74 Pine Street, Dearborn, MI 23874:3/28/45:245500
Jennifer Cowan:548-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900
One of my favorite games, "Wolfenstein Enemy Territory", has stopped working lately. It throws a segfault during the initialization phase.
I suspect that the reason is a recent update to the video card driver. The problem started after I updated Ubuntu but I do not remember if there was a driver update in the list.
My question is how can I check this. How can I view the current version of the display driver installed and the date it was last updated?
If I discover that this is indeed the problem, will it be possible to revert the update and stay with the previous version of the driver?
I'm trying to mount what is inside UML session as FUSE filesystem on host.
There's "uml_mount" program which looks like a thing for this purpose, but it fails.
What is UMLFS (I haven't found any documentation at all) and how to mount it?
uml_mount mounts FUSE filesystem and starts uml_mconsole <umid> umlfs <file descriptor> which tries to send this file descriptor to UML kernel (to deal with further FUSE things), but sending fails. Also I haven't found any signs of FUSE inside a kernel.
Do I need some special patch for this?
I am looking (and so far not finding any) for a solution to archive e-mail items from my Outlook into SQL Server.
My PST is beginning to get really really big, and I'd love to extract my older e-mail into SQL Server in a way so I can still easily find mails if needed. I would prefer SQL Server as the storage medium since I'm familiar with it, and it's rock solid - I don't want to have a collection of PST files or CHM files or anything like that.
Does anyone know of such a solution? I'm a power/home user - I can't afford $5'000 enterprise licenses - I need a sub-$100 solution for private use.