If you don’t see the Normal box, click the down arrow in the Styles scrollbar; you’ll find it in the pop-up menu. Once you right-click it, select Modify.
I stumbled into the compilation issue after upgrading to Ubuntu Oneiric 11.10. The error occurs in 'mac-80211Ext.h' saying something like the following: mac/mac-80211Ext.h: In member function 'uint32t PHYMIBExt::getHdrLen11':mac/mac-80211Ext.h:175:19: error: expected primary-expression before 'struct'mac/mac-80211Ext.h:175:41: error: 'dhbody' was not declared in this scopemac/mac-80211Ext.h:175:51: error: 'offsetof' was not declared in this scope I found the solution in Ubuntu's patched version of NS-2.35-RC6. The direct link to the patch is here: It's really simple. All you have to do is to add #include cstddef as shown below: #ifndef nsmac80211Exth #define nsmac80211Exth #include cstddef #include 'marshall.h' #include 'timer-handler.h' Now, NS-2.34 should compile fine with GCC-4.6. Enjoy your simulation! BlogSpot is simply terrible for posting code snippets. For clarity, here's a screenshot of what the code should look like.
The solution was to add the following in the /.fonts.conf. xml version ='1.0'? DOCTYPE fontconfig SYSTEM 'fonts.dtd' none const edit match true bool edit match hintslight const edit match true bool edit match lcddefault const One may have to play around with the 'hintstyle' to get it right.
The available options are:. hintslight. hintmedium. hintfull.
none. I stumbled into another trouble removing my obsolete packages after upgrading into Ubuntu Oneiric 11.10 with Linux kernel 3.00-12.
The problem is with removing the old 64bit kernel 2.6.35-24. The Debian package name is 2.6.35-24. The error I got is following: 13:41:34 user@machin:/var/lib/dpkg/info$ sudo apt-get -f install Reading package lists. Done Building dependency tree Reading state information. Done The following packages will be REMOVED: linux-image-2.6.35-24-generic 0 upgraded, 0 newly installed, 1 to remove and 31 not upgraded. 1 not fully installed or removed. After this operation, 139 MB disk space will be freed.
Do you want to continue Y/n? (Reading database.
248250 files and directories currently installed.) Removing linux-image-2.6.35-24-generic. Examining /etc/kernel/postrm.d. Run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-24-generic /boot/vmlinuz-2.6.35-24-generic update-initramfs: Deleting /boot/initrd.img-2.6.35-24-generic run-parts: executing /etc/kernel/postrm.d/zz-extlinux 2.6.35-24-generic /boot/vmlinuz-2.6.35-24-generic P: Checking for EXTLINUX directory. P: Writing config for /boot/vmlinuz-3.0.0-12-generic.
E: /usr/share/syslinux/debian/extlinux: No such file or directory run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.35-24-generic.postrm line 328. Dpkg: error processing linux-image-2.6.35-24-generic (-remove): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: linux-image-2.6.35-24-generic E: Sub-process /usr/bin/dpkg returned an error code (1). The highlighted lines told me the error is caused by the postrm script called zz-extlinux located in /etc/kernel/postrm.d/. I don't know how I managed to have extlinux installed on my system.
If I am not mistaken booting is still managed by grub-2. So, I decided to remove both extlinux and linux-image-2.6.35-24-generic. But, since my DPKG is already going crazy removing linux-image-2.6.35-24-generic and failing on zz-extlinux, I have to remove the old Linux image first. I quickly patched the zz-extlinux script with an 'exit 0' at top followed by an 'sudo apt-get -f install'. One could also make it non-executable as following as a solution, followe: sudo chmod -x /etc/kernel/postrm.d/zz-extlinux; sudo apt-get -f install.
Xscreensaver-command -lock gnome-screensaver-command -lock I chose to keep with gnome-screensaver since it is prettier. But immediate annoyance was after locking screen, gnome-screensaver would not retain the same background as current Lubuntu session. After trying so many options (gconf, editing files in /etc), finally I figured - the solution is rather easy. It appears Lubutu session keeps a separate sets of options from LXDE. When gnome-screensaver is launched, it takes the background option of LXDE (not Lubuntu). To match same background both on LXDE and Lubuntu, which also matches gnome-screensaver background inside Lubuntu session, the steps are below:. Set preferred desktop background on running Lubuntu session by right-click Desktop Preferences Background.
Log-out from Lubuntu session. On the log-in prompt, select LXDE as desktop session to log into. Once inside LXDE, you'll see the desktop background that gnome-screensaver uses as background. From the right-click menu, change the background to match your preference. That's all!!!
Now, you can log in back into Lubuntu and lock screen by initiating gnome-screensaver (I use a Compiz command shortcut with Ctrl+Alt+L which triggers 'gnome-screensaver-command -lock') and desktop background will match. I started getting troubles with dictionaries-common package right from the beginning of upgrading into Ubuntu Oneiric (11.10). The error message looks kind of like the following: Setting up dictionaries-common (1.11.5ubuntu1). Update-default-wordlist: Question empty but elements installed for class 'wordlist' dictionaries-common/default-wordlist: return code: '0', value: ' Choices:, Manual symlink setting shared/packages-wordlist: return code: '10' owners/error: 'shared/packages-wordlist doesn't exist' Installed elements: american (American English) Please see '/usr/share/doc/dictionaries-common/README.problems', section 'Debconf database corruption' for recovery info. Update-default-wordlist: Selected wordlist ' does not correspond to any installed package in the system and no alternative wordlist could be selected. Dpkg: error processing dictionaries-common (-configure): subprocess installed post-installation script returned error exit status 255 dpkg: dependency problems prevent configuration of xscreensaver-data-extra: xscreensaver-data-extra depends on dictionaries-common; however: Package dictionaries-common is not configured yet.
Dpkg: error processing xscreensaver-data-extra (-configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: dictionaries-common xscreensaver-data-extra E: Sub-process /usr/bin/dpkg returned an error code (1).
On my latest Lubuntu 11.10 installation, CCSM stumbles into a segmentation violation (SIGSEGV) if 'Desktop Cube' is enabled in Compiz plugins and I try to disable it through CCSM. Since, I managed to convince myself that 'Expo' is capable of providing what I really need, I needed a way to disable it without using CCSM. Sudo service lxde stop sudo service lightdm start Not much to my surprise on 11.10, LightDM didn't start. After a little digging through the log files located at /var/log/lightdm, I came across the following: 'lightdm can not write to /var/lib/lightdm/.Xauthority' Time to check /var/lib/lightdm directory: 11:13:26 user@machine:/var/lib/lightdm$ sudo ls -alh total 44K drwxr-x- 9 109 130 4.0K 2011-10-14 20:08.
Drwxr-xr-x 74 root root 4.0K 2011-10-17 16:56. Sudo apt-get remove -purge lxdm sudo service lightdm start Voila, LightDM showed up with a nice log-in prompt. Re-installing LightDM, added a new user and group with ids 109 and 130 respectively. Also, the ls output in /var/lib/lightdm looks correct.
If you do 'dpkg -l', sometimes you will get to see a long list of packages with the following details:. rc package-name 0.4-3 package-details Note the 'rc' status at the beginning of the package description. Some packages will show up in the 'dpkg -l' output even after removing them. The reason behind this is - packages with 'rc' status indicate that the packages have been removed but some configuration files for those packages are left on the system. To remove these packages, do the following:. sudo dpkg -purge package-name For a list of packages, run the following:.
dpkg -l grep ^rc cut -d ' ' -f3 xargs sudo dpkg -purge. Evince, which is the primary PDF and PostScript viewer on Ubuntu, recently stopped working on my Ubuntu/Natty (11.04) over SSH X-forwarding. It works flawlessly inside 'gnome-session'. But, would not run as a regular application (e.g. Xpdf or gv) over X-forwarded SSH.
After digging up a little bit, I found a lots of these message in my dmesg output: 1325 type=1400 audit(.587:75): apparmor='STATUS' operation='profileremove' name='/usr/bin/evince' pid=20166 comm='apparmor It was obvious that apparmor 1 was blocking Evince to run outside Gnome session over SSH. A solution to disable the AppArmor block on Evince over SSH connection was suggested here 2: #inside the gnome-terminal sudo ln -s /etc/apparmor.d/usr.bin.evince /etc/apparmor.d/disable sudo /etc/init.d/apparmor restart And voila!
Now Evince can again be launched over SSH.
By Customize the document headers and footers in Word 2011 for Mac to show page numbers, dates, and logos for formal stationery. You can work with headers and footers in several of Word 2011’s views. The quick way to work with headers and footers is by way of the Header and Footer group on the Office 2011 Ribbon’s Document Elements tab. Clicking either the Header or Footer button displays a gallery from which you can choose a style for your header or footer. The basic layout of three positions (left, center, and right) is the first style on the palette. Notice that some styles affect only odd-numbered or even-numbered pages.
Some of the styles apply tables to the header or footer, so if you click into one of these styles, the Format Tables tab on the Ribbon will activate. When you choose a header or footer style, Word changes the interface so that you can type in your header or footer. You can display this view by choosing View→Header and Footer without having to choose a style from the Ribbon.
To work with the interface, simply click into it and type. Click the Page # button on the Ribbon to display the Page Numbers dialog, which you can use to choose alignment and formatting options for your page numbers. To exit Header and Footer view, choose a view from the views listed in the topmost group of the View menu, or double-click the document body. You can also click the small Close button below the Header or above the Footer area. You may want to format your Header or Footer to display Page # of #.
To make this custom format starting without a Header or Footer style, do the following:. Choose View→Header and Footer from the menu bar. Click within either the Header or Footer area. Your cursor will be at the left.
Press Tab once or twice to move to the center or right, if desired. Type the word “Page,” followed by a space. Choose Insert→Field from the menu bar.
Make sure that Categories is set to (All). Under Field names, choose Page and then click OK. Add a space and then type of followed by another space. Choose Insert→Field from the menu bar. Under Field Names, choose NumPages and then click OK.