I want to center my windows title like so:
Instead of having them aligned to the right:
Is there a setting I can change in gconf-editor or is this something controlled by each theme?
I'm trying to better understand symbolic links... and not having very much luck. This is my actual shell output with username/host changed:
username@host:~$ mkdir actual
username@host:~$ mkdir proper
username@host:~$ touch actual/file-1.txt
username@host:~$ echo "file 1" > actual/file-1.txt
username@host:~$ touch actual/file-2.txt
username@host:~$ echo "file 2" > actual/file-2.txt
username@host:~$ ln -s actual/file-1.txt actual/file-2.txt proper
username@host:~$ # Now, try to use the files through their links
username@host:~$ cat proper/file-1.txt
cat: proper/file-1.txt: No such file or directory
username@host:~$ cat proper/file-2.txt
cat: proper/file-2.txt: No such file or directory
username@host:~$ # Check that actual files do in fact exist
username@host:~$ cat actual/file-1.txt
file 1
username@host:~$ cat actual/file-2.txt
file 2
username@host:~$ # Remove the links and go home :(
username@host:~$ rm proper/file-1.txt
username@host:~$ rm proper/file-2.txt
I thought that a symbolic link was supposed to operate transparently, in the sense that you could operate on the file that it points to as if you were accessing the file directly (except of course in the case of rm where of course the link is simply removed).
ok. I asked this question earlier(as part of another question) and got no response - so here it is again:
what i the recommened directory for me to store the following:
1). my apps
2). development tools (C++ tools)
3). AMP applications for LAMP stack (Apache, MySQL, PHP)
4). files for websites that I develop on my machine - e.g. website1, website2 etc ...
Hey all,
I picked up an hp dm3t laptop with intel HD graphics and installed ubuntu 10.10 64 bit on it. It works great -- the only problem is that the brightness controls on the keyboard don't work. The brightness is always at full. When I try to adjust it down, the indicator graphic indicates that it's going down but the actual brightness doesn't change. Is there anything that I can try to make this work? I'd really appreciate any help.
I asked this on superuser.com and someone commented that I should play around with the intel hd drivers. I'm a total noob -- how do I do that? What else can I try? I reallly don't want to do back to windows.
I have two monitors. The master one (17") is 1yo, and the secondary (15") is really old, like 4yo.
This old screen is having problems displaying colors... They are a little bit darker, what is a problem when I'm viewing pics.
I have a GeForce 9800, so I changed some settings inside nvidia-settings, that fit better with this second screen.
But those settings just are applied when I first open nvidia-settings. First time I configured this, it worked. I turned off computer, next day turned it on, and screen is dark again. As soon as I open nvidia-settings again, the screens get lighter again!
How can I make those settings permanent and loaded at startup?
Is it possible to know the memory used by any apps running on my linux server?
I'm using the following command to know how much memory used by php-fpm.
ps -ylC php5-fpm --sort:rss | awk '!/RSS/ { s+=$8 } END { printf "%s\n", "Total memory used by PHP-FPM child processes: "; printf "%dM\n", s/1024 }'
Given the command above, I want to know the memory used by all apps with an example output below:
PHP-FPM: 2.3gb
MySQL: 5gb
nginx: 200mb
dovecot: 100mb
memcached: 573mb
What's the connmand equivalent on Fedora 15? I'm trying to connect to the Internet with Fedora 15 but I'm having problems. It can't see my network connection and when I try to run nm-connection-editor I get:
(nm-connection-editor:9816): WARNING: **get_all_cb: couldn't retrivew system settings properties ...
(nm-connection-editor: 9816): WARNING **: fetch_connections_done: error fetching connections: (32) ...
(nm-connection-editor: 9816): GVFS-RemoteVolumneMonitor-WARNING ** cannot connect to the session bus:
(nm-connection-editor: 9816) GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus ...
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOSStream returned 0 bytes onan async read (g-io-error-quark, 0). Exiting.
I have /boot/ on /dev/sda1 (1GB), followed by my Linux root LVM on /dev/sda2 (1.3GB). Finally, I installed Windows 7 on /dev/sda3 in the remaining 700GB of space.
When I select Windows 7 in the grub menu, I get something like the following error and am thrown to grub4dos:
find --set-root --ignore-floppies --ignore-cd /bootmgr
Error 15: file not found
Unable to locate necessary tables for adjustment.
None of the options in grub4dos return anything but the above error. I heard that 1TB is the upper limit for locating Windows 7 partitions; is this true? How can I fix the above?
I have few DVD-RAM disks and when using udftools, specifically
sudo mkudffs --media-type=dvdram /dev/sr0
where /dev/sr0 is my DVD-RAM drive, I get trying to change type of multiple extents and nothing happens.
What should I do?
EDIT
After trying with dvd+tools, here's what I got:
#dvd+rw-format /dev/dvd -format=full -ssa=default
* BD/DVD±RW/-RAM format utility by <[email protected]>, version 7.1.
* 4.6GB DVD-RAM media detected.
* formatting 54.8|
And same error as before from mkudffs.
In my PC, I have a hot-swap drive. Usually I keep it off to save power. I only really use it when accessing from another PC on the network. Is it possible to configure /etc/fstab to mount this drive when I turn it on (without having to shake the mouse, open file manager and click the drive to have it mounted?
Currently, I have:
UUID=a869e5ca-7d3b-4d64-91e2-eadbecd8c9e5 /media/i-TVShows ext4 rw,nosuid,nodev,auto,user,uhelper=udisks 0 0
in my /etc/fstab file but it doesn't seem to do the trick. I want the drive to be user-mountable, on power on, with RW access, and I'm thinking of adding 'nofail'...this is my first time writing to the fstab file, and a lot of the parameters I took from the output of 'mount' so feel free to correct any oddness you find.
Thanks
The Linux OS long-term support release emerges, with a focus on cloud computing environments and ISV certifications. But it's still missing some critical enterprise software credibility.
When setting up vsftpd I am trapped. When I leave the ftpuser's home directory without write permission I can login and all is fine despite the fact, that I cannot write (of course). When I add write permission I get something like
cannot change to directory with write permissions if user is chrooted
Then I added
allow_writeable_chroot=YES
to vsftpd.conf. But now I get
ECONNREFUSED - Connection refused by server
I am lost. What am I doing wrong?
I have an externally facing web server on our domain that we use for testing multiple sites. I have a site on this server that I want only people from within our intranet to view. How do I prevent requests originating from outside the intranet from seeing this website?
I tried the following in my apache config file, but I get a 403 error.
<Directory />
Options FollowSymLinks
Order Deny,Allow
Allow from domain.com
Allow from 10.0.0.0/10.255.255.255
Deny from All
AllowOverride None
</Directory>
<Directory /var/www/sitename/public>
Options Indexes FollowSymLinks MultiViews
Order Deny,Allow
Allow from domain.com
Allow from 10.0.0.0/10.255.255.255
Deny from All
AllowOverride None
</Directory>
I'm sharing a NFS folder among a user group. The default umask on the clients is 0700, and this is a problem because newly created files won't be readable/writable by another users.
So, I'm using ACLs to force the umask 0770 on the shared folder, and this works OK on the server, but not on the clients.
server # getfacl /export/proyectos
getfacl: Eliminando «/» inicial en nombres de ruta absolutos
# file: export/proyectos
# owner: root
# group: root
user::rwx
group::rwx
other::r-x
default:user::rwx
default:group::rwx
default:mask::rwx
default:other::r-x
server # getfacl /export/proyectos/innovacion
getfacl: Eliminando «/» inicial en nombres de ruta absolutos
# file: export/proyectos/innovacion
# owner: root
# group: proyecto-innovacion
# flags: ss-
user::rwx
group::rwx
mask::rwx
other::---
default:user::rwx
default:group::rwx
default:mask::rwx
default:other::---
As you see, the default (and also a specific on the second directory) mask ACLs are being applied.
I mount the whole share on the client:
172.16.54.56:/export/proyectos on /proyectos type nfs (rw,noatime,rsize=131072,wsize=131072,acregmin=10,acl,nfsvers=3,addr=172.16.54.56)
But the mask and default:mask ACLs are gone.
client $ getfacl /proyectos/
getfacl: Eliminando «/» inicial en nombres de ruta absolutos
# file: proyectos/
# owner: root
# group: root
user::rwx
group::rwx
other::r-x
default:user::rwx
default:group::rwx
default:other::r-x
client $ getfacl /proyectos/innovacion
getfacl: Eliminando «/» inicial en nombres de ruta absolutos
# file: proyectos/innovacion
# owner: root
# group: proyecto-innovacion
# flags: ss-
user::rwx
group::rwx
other::---
default:user::rwx
default:group::rwx
default:other::---
It lacks the default:mask and mask ACLs, the only ones that I've setted. So the proposed solution to enforce umask won't work for me. Why is happening this?
Hi all
I have a directory full of torrent files,and i have to download all of them; But the problem is i have disk limit in my remote server,and file sizes are vary(100MB~8GB) and if i add all of torrent files ,none of them would be download completely;So i need a command to list all my torrents and the size of them , to be selected and add to download list later .
NOTE: REMOTE SERVER - LINUX_UBUNTU_9.10 // SSH
So i need a command like
torrentls
That output somethings like:
file1.torrent 1111MB
file2.torrent 222MB
file3.torrent 3333MB
file4.torrent 444MB
file5.torrent 5555MB
From this morning I get this error whenever I access Google Docs and some websites. My system datetime is correct and I checked "Automatically from the Internet". My BIOS is OK. I cleared everything (cache, cookie, private data) in Chrome and restarted OS but nothing changes. How to fix it? Firefox works but Chrome has that problem.
The site's security certificate is not trusted!
You attempted to reach docs.google.com, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security credentials, which Google Chrome cannot rely on for identity information, or an attacker may be trying to intercept your communications.
You cannot proceed because the website operator has requested heightened security for this domain.
This is my entire mod_rewrite condition:
<IfModule mod_rewrite.c>
<Directory /var/www/>
Options FollowSymLinks -Multiviews
AllowOverride None
Order allow,deny
allow from all
RewriteEngine On
# force www. (also does the IP thing)
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} !^mysite\.com [NC]
RewriteRule ^(.*)$ http://mysite.com/$1 [R=301,L]
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L]
RewriteCond %{THE_REQUEST} /index\.(php|html)
RewriteRule (.*)index\.(php|html)(.*)$ /$1$3 [r=301,L]
RewriteCond %{REQUEST_URI} !^(/index\.php|/assets|/robots\.txt|/sitemap\.xml|/favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
# Block access to "hidden" directories or files whose names begin with a period. This
# includes directories used by version control systems such as Subversion or Git.
RewriteCond %{SCRIPT_FILENAME} -d [OR]
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
</Directory>
</IfModule>
It is suppose to allow only access to mysite.com(/index.php|/assets|/robots.txt|/sitemap.xml|/favicon.ico)
The error was noticed with: mysite.com/sitemap vs mysite.com/sitemap.xml
Both of these addresses are resolving to the xml file while the first url should be resolving to mysite.com/index.php/sitemap *
For some reason mod_rewrite is completely ignoring the lack of an extension. It sounded like a Multiviews problem to me so I disabled Multiviews and it is still going on.
***And then a different rule will eventually take the index.php out, I am having another problem with an extra '/' being left behind when this happens.
This httpd file is setting up for my codeigniter php framework
The first thing I see wrong is that its a recursion problem. But I'm not sure where the problems lie in my reverse lookup file. ns should report back as ns.example.com but instead getting ns.example.com.ns. Of course it wouldn't find any entries for that name because there isn't one, nor is it supposed to.
Here's my reverse file:
$TTL 86400
@ IN SOA ns.example.com root.example.com. (
16071990 ; Serial
3600 ; Refresh
1800 ; Retry
604800 ; Expire
86400 ; Minimum TTL
)
@ IN NS ns.example.com
It's not extraordinarily complicated. What my question is, what other files affect the output for named-checkzone when checking a name against the revers file?
<b>Packt Publishing: </b>"Handbrake is considered the Swiss Army knife of video conversion tools. Running on the three major operating system platforms, Handbrake can open a huge variety of formats, including common ones that others can't handle (like the titles in the MPEG TS structure of a DVD)."
On my Linux server I ran:
sudo thin start -p 80 -d
Now I'd like to restart the sever. The trouble is, I can't seem to get the old process to kill it. I tried:
netstat -anp
But what I see on port 80 is this:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
So, it didn't give me a PID to kill...
I tried pgrep -l thin but that gave me nothing. Meanwhile pgrep -l ruby gives me like 6 processes running. I don't really understand why multiple ruby threads would be running, or which one I need to kill...
How do I kill / restart the thin daemon?
I double-click komodo, but it doesn't run. In the Terminal, I type "echo $PATH", but the Komodo dir isn't there. There too, I type "komodo", but the command isn't found. While trying to install Komodo, I may have typed wrong paths. How to correct $PATH? How to run Komodo?
echo $PATH echoes
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
I started using Namoroka (firefox 3.6 nighly) yesterday and since then, windows live mail has been treating it like a mobile device. Same thing happens when I try with Minefield (firefox 4 nightly). I've tried loading the default page in Chromium and then pasting the URL to firefox. The sign in page shows alright then, but as soon as I sign in, the mobile inbox shows up again. I've tried clearing the cache+history+cookies everything but nothing's working.
Anyone know of a solution?
Our server recently had a very bad day, and one of the indicators/reasons seems to be that RES interrupts are douple their normal value, but what does this mean ?
(other interrupts: LOC+100%, eth1/TLB +30%)
I am using UFW with a default logging policy of "low".
I would like to keep this logging on for the default deny action, but disable it for a particular IP address only. So I'd like to create one particular new rule that doesn't have logging.
Is there a way to achieve this?
I have a rather uncomplicated ufw setup so far, like this:
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing)
New profiles: skip
To Action From
-- ------ ----
22/tcp LIMIT Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
22/tcp ALLOW Anywhere (v6)
80/tcp ALLOW Anywhere (v6)
443/tcp ALLOW Anywhere (v6)
Hi,
I'm experiencing strange problems with my Kubuntu 9.10 when doing DNS requests from various applications. The requests are extremely slow, so loading any pages in Firefox or Konqueror, doing package installations in Kpackagemanager and other apps is really painful, while for example Opera doesnt have any problems, and ping is normally fast as well for DNS pings.
I checked the proxy settings of both the used applications as well as of the general system and there are none, so to me it doesn't seem as there was something inbetween..
Does anybody have an idea on what to check for possible problem sources or how to solve this ? I'm behind a DSL home router which does the DHCP (and works well with my other computer).
Any kind of advice would be really helpful.
Edit:
It seems to be some kind of IPv6 problem, as I could get it to work by disabling IPv6 explicitly in Firefox. Is there a general solution to this ?