Trying to display rows with sums and percents using filters
Hello, I am working on a data sheet containing levels for students of 0, 1, 2, or 3 in different categories. I am trying to show totals and percents of these levels, while being able to filter out certain students based on gender, ethnicity, etc. Problem
is when I filter, the rows showing my totals and percents disappear.
For total number of level 3's in a column my formula looks like this: =SUMPRODUCT(SUBTOTAL(103,OFFSET(F6:F26,ROW(F6:F26)-ROW(F6),0,1)),--(F6:F26=3))
For percent of level 3's I have: SUMPRODUCT(SUBTOTAL(103,OFFSET(F6:F26,ROW(F6:F26)-ROW(F6),0,1)),--(F6:F26=3))/SUM(F28:F31)
Percents and totals calculate fine. When I filter in the columns demonstrating demographics, which is columns B,C, D or E, the rows in which I calculate my totals and percents disappear. I also tried the number 3 instead of 103 after the SUBTOTAL function
but same result. What am I doing wrong?
Since you didn’t upload your excel file, I’m not quite sure what’s your source data looks like.
I don’t think this issue is caused by your formula, but I guess you really need use number 3 instead of 103 in your SUBTOTAL formula.
Anyway, please try below possible solutions for this issue.
1. Set up your formula firstly, then filter data. Rather than the other way around.
2. Select the filter range before filter. Or use advanced filter(except the row which including your formula)
3. Copy the formula to the next row, then delete the pervious formula row.
If it didn’t bring any joy. It’ll be better if you can share your workbook with us.
Similar Messages
-
Can anybody help....SQL to display row as column and column as rows
Can anybody help in writing a SQL to display row as column and column as rows?
Thankscheck this link:
Re: Creating Views - from rows to a new column? -
Im trying to activate iphone with itunes and I get: "The iTunes store is temporary unavailable..." Any help??
Hello there, sarahg12.
The following Knowledge Base article offers up some great steps for troubleshooting repeated prompts for authorization:
iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
http://support.apple.com/kb/ts1389
All the topics are relevant but this one tends to be the most common culprit:
Authorize using the correct account name
The items you are trying to play might have been purchased using a different iTunes Store account. To determine which account was used to purchase an item, follow these steps:
Select a purchased song in your library and choose File > Get Info.
Click the Summary tab. Note the Account Name that appears in the list. This is the account name (Apple ID) you will need to use when authorizing your computer to play this purchase.
Note: The account name that appears is the one you used when purchasing the item and does not change if the account name (Apple ID) changes.
If you've authorized the Apple ID that is shown in the Summary tab, you can check the purchase history for that Apple ID from Store > View My Account. If your purchase history does not reflect the purchase of the items in your iTunes library, consider any other Apple ID you may have created, and authorize the computer for your additional Apple ID.
If you forgot the password to one of your accounts, you can recover it using Apple's password-recovery website.
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
Is there a way to sync POP subfolders and download them for backup in Mail on my MBP? I tried syncing the account with Mail and only the Inbox downloads onto my computer. I have Googled enough to find out that the answer is no, but no official answer or recent answer and I am hopeful that there has been a change.
Sure-glad to help you. You will not lose any data by changing synching to MacBook Pro from imac. You have set up Time Machine, right? that's how you'd do your backup, so I was told, and how I do my backup on my mac. You should be able to set a password for it. Save it. Your stuff should be saved there. So if you want to make your MacBook Pro your primary computer, I suppose, back up your stuff with Time machine, turn off Time machine on the iMac, turn it on on the new MacBook Pro, select the hard drive in your Time Capsule, enter your password, and do a backup from there. It might work, and it might take a while, but it should go. As for clogging the hard drive, I can't say. Depends how much stuff you have, and the hard drive's capacity. As for moving syncing from your iMac to your macbook pro, should be the same. Your phone uses iTunes to sync and so that data should be in the cloud. You can move your iTunes Library to your new Macbook pro
you should be able to sync your phone on your new MacBook Pro. Don't know if you can move the older backups yet-maybe try someone else, anyways,
This handy article from Apple explains how
How to move your iTunes library to a new computer - Apple Support''
don't forget to de-authorize your iMac if you don't want to play purchased stuff there
and re-authorize your new macBook Pro
time machine is an application, and should be found in the Applications folder. it is built in to OS X, so there is nothing else to buy. double click on it, get it going, choose the Hard drive in your Time capsule/Airport as your backup Time Machine and go for it. You should see a circle with an arrow on the top right hand of your screen (the Desktop), next to the bluetooth icon, and just after the wifi and eject key (looks sorta like a clock face). This will do automatic backups of your stuff. -
Bought an ipad but the seller didn't erase his Apple ID. I don't have his #. I restored it it asked me for a Apple ID I tried to sign in with mine and it asked me for a different Apple ID. What can I do or am I stuck with a non working ipad? Pls help.
The previous user should have done this.
What to do before selling or giving away your iPhone, iPad, or iPod touch
http://support.apple.com/kb/HT5661http://support.apple.com/kb/HT5661
You may have bought a stolen iPad. Or get a refund from the seller.
Cheers, Tom -
I am trying to pair my cell phone and tablet using Messages App, but only MMS messages will come through on my tablet. I've tried pairing and unpaired, reinstalling app on my tablet, and can't figure it out. Any idea how to fix this?
ThanksI Shared my most ridiculous situation but didn t log under your problem.
sorry, I gave you your answer under sunshine99 or Dianna. I want out and you want in.
if you not find just email me at [removed]
thanks
Personal information removed as required by the Verizon Wireless Terms of Service
Message was edited by: Admin Moderator -
I had an iphone 4s and it worked nice with facetime and imessage using my phone number but it was stolen on December so I buy a new iphone 4s using the same cellphone number but now imessage and facetime does not work with my number, it only works with my apple ID. Please Help me I speak Spanish so if my English is not ok I´m sorry about it.
Do you think that apple has to reset in their database of the old serial number attached with my phone number and that’s why I can´t activate imessage and facetime with my number in the new iphone 4s??I understand all of this Meg; that is why I bought an Iphone; but never expected my phone not even give a at least a 24 or even 12 hours....I work 12 hour shifts and also would expect to have to charge each night but not twice a day or more. I am not always somewhere I can charge my phone.
Your points are true; however it doesn't help me...... -
I had a gift card with money and I used it on iTunes now there isnt any money how to i change my payment back to none? When I try downloading any app it say "Please enter password to review billing information" I want to change it back to "none"
Sign into your account through the iTunes app and look for a None option in the Payment Method section.
-
How to send Email with Cc and Bcc using MailPackage
Hi ,
we are using Mail Package to send the Email using Mail Adapter.We have a requirement where we need to send Email with Cc and Bcc using Mail Package .
Can we send Cc and Bcc using Mail Package ?
Thanks
Rajesh .HI Rajesh,
There is a standard structure for Receiver Mail adopter which we can get from SAP market Place but it is not provided with CC if u want to use CC then you have to go with Dynamic Configuration.
DynamicConfiguration configuration = (DynamicConfiguration) container.getTransformationParameters().getStreamTransformationConstants.DYNAMIC_CONFIGURATION);
/*any other required fields*/
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderCC");
configuration.put(key, "ccemail @ test.com");
Regards
Praveen Reddy
Edited by: Maareddy Praveen Reddy on Aug 10, 2011 12:17 PM -
Sql query data horizontally with sum and condition in a row
I am trying to get data from the following query in a row with total but not succeed and getting error message. Please help and advise.
Select empid,name,country,
sum(case category when 'JOB' then sum(core+RR) else 0 end) as 'JOB-Sum',
sum(case category when 'PRIVATE' then sum(core+PP) else 0 end) as 'PRIVATE-Sum',
group by empid,name,country
Note: Following query is good for getting result in one row but i have to put sum calculation with 'THEN' and want result in a row.
SELECT ID, MAX(case when Col1 = 'Yes' then 1 else 0 end) AS Col1,
MAX(case when Col2 = 'Yes' then 1 else 0 end) AS Col2
FROM MyTable
GROUP BY IDPlease show some sample data and expected output.
Regards,
Rob. -
SQL Server SUM of Multiple rows with where and group by
I have a table Transaction that looks something like the following :
TransactionID
Currency
Credit
Debit
1 USD
500 0
2 Afcu
6000 0
3 INR
0 200
4 Pfc
7000 0
5 AUD
0 200
6 INR
7000 0
7 USD
1000 0
I write query like this
select SUM(credit)-SUM(Debit)as [Balance] ,Source from Transaction group by Source
and it came like
Balance
Source
1500 USD
6000 Afcu
6800 INR
7000 Pfc
-200 AUD
But I also want to add Afcu , Pfc with
USD and want output like
Balance
Source
14500 USD
6800 INR
-200 AUD
Any Idea?Here is how you can do it, but you
DECLARE @TransTable TABLE
(TransactionID INT IDENTITY(1,1),
Currency varchar(10),
Credit DECIMAL,
Debit DECIMAL)
INSERT INTO @TransTable VALUES
('USD',500,0),('Afcu',6000,0),('INR',0,200),('Pfc',7000,0),('AUD',0,200),
('INR',7000,0),('USD',1000,0)
SELECT Currency, SUM(credit)-SUM(Debit)as [Balance]
FROM @TransTable
WHERE Currency NOT IN ('Afcu', 'pfc','USD')
GROUP BY Currency
UNION
SELECT 'USD', SUM(credit)-SUM(Debit)as [Balance]
FROM @TransTable
WHERE Currency IN ('Afcu', 'pfc','USD')
SQL fiddler example
Output:
Hope this will help
Glad to help! Please remember to accept the answer if you found it helpful. It will be useful for future readers having same issue.
My Profile on Microsoft ASP.NET forum -
Displaying rows with reference to row count.
Situation :
I am trying to display data which are or of 820 rows by default.
When user select some data , I will display some data but if he not selecting any data then it is displaying all 820 rows.
So i used a count option where i wrote a code
<?choose:?><?when:count(_Company_Prompt_._PL_Unit_Number_and_Name_-Prompt)=820?><?'ALL'?><?end when?><?otherwise:?><?_Company_Prompt_._PL_Unit_Number_and_Name_-Prompt?><?end otherwise?><?end choose?>
for the field count CompanyPrompt_._PL_Unit_Number_and_Name_-Prompt
But it works fine if i dont use repeating group but that no use because it will show all for report defaults but when user select more than one , it still display only one row.
i am try to use same code with F <?for-each:PARAMETER_FOR_BUSINESS_UNIT_ROW?> E
The code for f is <?for-each:PARAMETER_FOR_BUSINESS_UNIT_ROW?>
the code for <?for-each:PARAMETER_FOR_BUSINESS_UNIT_ROW?> is given above
the code for e is <?end for-each?>
how can I fix this,
Thanks
AjI don't quite understand your requirement clearly as stated, I am guessing that you are using a dashboard prompt and your answers request is filtered based on the prompt.
Based on the default value, all rows are returned, and if the user selects some value from the prompt, data is filtered.
Within the template, if the count is equal to 820 then you want to show the text 'ALL' otherwise show all rows?
you could try the following: Declare a variable like so:
<?variable:myvar;count(_Company_Prompt_._PL_Unit_Number_and_Name_-Prompt)?>
then check if this variable value is equal to 820 then print the text 'ALL' or do your regular logic..
<?choose:?>
<?when:$myvar=820?><?'ALL'?>
<?end when?>
<?otherwise?>
<? other logic?>
<?end otherwise?>
<?end choose?>
You can also use two templates within the main RTF and call them as appropriate based on the count check.
Hope this helps. Sorry if I misunderstood your requirements. -
Display Questions with Retina and VMware Fusion (Windows 7/8)
Looking to buy my first MacBook Pro and looking to make sure I get the specs I need and have a couple of questions.
I would like to be able to run (simultaenously)
During the day for work:
Windows 7 x64 - 30GB HD - 1 Core - 1GB Ram - Purpose: Has a VPN client that allows me to VPN and RDP only
Windows 8.1 x64 - 60GB HD - 2 Cores - 4GB+ Ram - Purpose: Office 2013 installed on this VM and all my other work applicatons (light weight)
OSX 10.10 - Whatever it can take - Light Web Browsing etc while at work.
After work:
Guess it doesn't matter really - i'd like to play games (bootcamp fine) if possible too. Nothing crazy so barely worth mentioning.
My main questions:
Display: Iris Pro or nVidia - Can the base 15 inch GPU/CPU handle the two VMs at the same time plus the host OS (OSX) without hiccups?
Display: How does VMware Fusion recognize the discrete GPU - will the system be smooth/quiet without activating it?
Battery life: Virtualization is pretty heavy battery wise. Does anyone know what happens to the battery when you're running a couple VMs?
Display: How is running Windows 7/8 on a MacBook with a specifically retina display? Do the Windows PCs look really ugly/blurry due to such a high resolution?
What is the minimum hardware required for these VMs to run fast and responsive? (CPU/GPU/RAM only)
Thanks!!Sorry - we're users here, just like you, and some questions just get lost sometimes.
The fastest hardware you can buy, the easier you'll be able to run Windows. If you use Boot Camp to run Windows (7, 8 or 8.1) the machine will run at it's best. If you want to run Windows alongside the Mac OS, you'll need to use a VM application (I use Parallels - I've tried VMwareFusion but like Parallels better and it just works best for me).
So, to your questions:
The Retina machine with the NVIDIA GPU will be the fastest - it's a faster processor and has more VRAM.
Any VM is going to use resources - how much RAM, for example, is up to you. I have 16 GB of RAM and 8GB dedicated to Parallels/Windows 7 Pro.
I wouldn't (and you really can't) run a VM for very long on battery. If you're using VM's, that's the time to plug into mains. Running a 'couple' of VM would put further heavy use on your GPU, CPU and shorten your battery life.
I would make sure to get a good, fast quad-core i7 processor, the 2GB of VRAM NVIDIA GPU and the maximum amount of RAM (16GB).
Good luck,
Clinton -
Tty display problems with nvidia and uvesafb
I'm trying to get my console to display correctly at 1080p; trying to do so through GRUB was always an absolute nightmare.
The console displays fine with nouveau, but nouveau causes the infamous pink line bug, which is simply too irritating to ignore; nouveau is not an option.
In the past, my console has run at low res and incorrect scale with nvidia, but I've ignored the problem since I prefer to use a virtual terminal in X.
Now, if possible, I need to use the actual console for the purposes of module development.
I installed v86d and uvesafb and configured the console for 1920x1080 and 32 bit depth.
The console is displaying with the correct resolution now, but is surrounded by a black border, making the font distorted and extremely difficult to read.
How can I get my console to scale correctly to fullscreen? Any ideas at all. I found nothing in the forums or wiki, and I'm out.
I'm fairly certain there are no vga or video settings in GRUB that are interfering.Output of "pacman -Qi nvidia"
Name : nvidia
Version : 343.36-2
Description : NVIDIA drivers for linux
Architecture : x86_64
URL : http://www.nvidia.com/
Licenses : custom
Groups : None
Provides : None
Depends On : linux>=3.17 linux<3.18 nvidia-libgl nvidia-utils=343.36
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 5.30 MiB
Packager : Felix Yan <[email protected]>
Build Date : Thu 11 Dec 2014 08:32:19 AM CST
Install Date : Fri 12 Dec 2014 12:10:32 AM CST
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
Output "cat /boot/grub/grub.cfg"
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
set menu_color_normal=green/black
set menu_color_highlight=black/green
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 337acc84-0300-43b1-b426-79391d39e898
else
search --no-floppy --fs-uuid --set=root 337acc84-0300-43b1-b426-79391d39e898
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 337acc84-0300-43b1-b426-79391d39e898
else
search --no-floppy --fs-uuid --set=root 337acc84-0300-43b1-b426-79391d39e898
fi
insmod png
background_image -m stretch /boot/grub/archgrub.png
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-337acc84-0300-43b1-b426-79391d39e898' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 337acc84-0300-43b1-b426-79391d39e898
else
search --no-floppy --fs-uuid --set=root 337acc84-0300-43b1-b426-79391d39e898
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=337acc84-0300-43b1-b426-79391d39e898 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-337acc84-0300-43b1-b426-79391d39e898' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-337acc84-0300-43b1-b426-79391d39e898' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 337acc84-0300-43b1-b426-79391d39e898
else
search --no-floppy --fs-uuid --set=root 337acc84-0300-43b1-b426-79391d39e898
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=337acc84-0300-43b1-b426-79391d39e898 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-337acc84-0300-43b1-b426-79391d39e898' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 337acc84-0300-43b1-b426-79391d39e898
else
search --no-floppy --fs-uuid --set=root 337acc84-0300-43b1-b426-79391d39e898
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=337acc84-0300-43b1-b426-79391d39e898 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
Output "cat /usr/lib/modprobe.d/uvesafb.conf"
Video mode is set as "1920x1080-32".
# This file sets the parameters for uvesafb module.
# The following format should be used:
# options uvesafb mode=<xres>x<yres>[-<bpp>][@<refresh>] scroll=<ywrap|ypan|redraw> ...
# For more details see:
# http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/fb/uvesafb.txt
options uvesafb mode_option=1920x1080-32 scroll=ywrap
This file is mirrored in /etc/modprobe.d/uvesafb.conf.
Running "diff /usr/lib/modprobe.d/uvesafb.conf /etc/modprobe.d/uvesafb.conf" returns no output.
Output of "cat /sys/class/graphics/fb0/virtual_size" is solely "1920,1080".
---edit---
Output of "cat /etc/default/grub" in case it's helpful.
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
#GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="green/black"
GRUB_COLOR_HIGHLIGHT="black/green"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND="/boot/grub/archgrub.png"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
Also, it might help to describe the behaviour more specifically / more in depth...
The rendered part of the console occupies the same space as the GRUB boot menu.
I installed and configured virtualbox a few weeks previously.
I ran "sudo depmod -a" as the wiki / forums indicated it could remedy problems with virtual machines failing to start.
It did fix the virtualbox problem; after reboot, suddenly lightdm *also* initally occupied the same window space as grub.
That was new behaviour. When I logged in to xmonad, the desktop displayed similarly to GRUB.
I hadn't tried fixing it; logging in with root followed by "ps -e | grep X" and "kill -9 <Xpid>" caused X as a whole to start behaving and scaling normally.
I haven't rebooted until attempting to rectify the issue with my console.
The oddity with scaling in lightdm and xmonad still shows up after reboot and is still reparable by killing X.
Killing X doesn't - obviously - have any effect on console scale.
---/edit---
d(-_-)
Last edited by seppukuzushi (2014-12-31 14:01:23) -
I'm trying to display the current date and time on my iPad.
First, I'm not sure this is a valid post to this forum. If not, I'd appreciate knowg in where I can get help.
I have tried several ways to display the current date and time on my iPad. None work. Most things I try give me complier errors but the latest code compiles but won't display the correct time.
Here's the dispatch code in my ViewController.m file:
dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0ul);
dispatch_async(queue, ^{
[NSTimer scheduledTimerWithTimeInterval:NSTimeInterval)1.0f target:self selector:@selector(updateLabel:) userInfo:nil repeats:YES];
Here's the updateLabel code: (which never gets executed).
- (void)updateLabel:(id) sender {
dispatch_sync(dispatch_get_main_queue(), ^{
NSLog(@"Datefield Update Called");
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"EEEE, MMMM dd, yyyy 'at' HH:mm ZZZZ"];
NSDate *dayTime = [NSDate date];
NSString *formattedDateString = [dateFormatter stringFromDate:dayTime];
_dateField.text = formattedDateString;
[self.view addSubview:_dateField];
NSLog(@"Datefield %@",_dateField.text);Your code is needlessly complicated and has a few problems:
// These objects should be created only once.
NSTimer *dateAndTimeTimer; (You might need to make this a property with a strong reference).
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc]init];
[dateFormatter setDateFormat:@"EEEE, MMMMM dd, yyyy 'at' HH:mm ZZZZ"];
// The subview should only be added once.
[self.view addSubview:_dateField];
[self performSelectorOnMainThread:@selector(startDateAndTimeTimer)
withObject:nil
waitUntilDone:YES];
-(void)startDateAndTimeTimer
NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:1
target:self
selector:@selector(updateLabel)
userInfo:nil
repeats:YES];
dateAndTimeTimer = timer;
[[NSRunLoop mainRunLoop] addTimer:dateAndTimeTimer forMode:NSRunLoopCommonModes];
-(void)updateLabel
NSDate *dateTime = [NSDate date];
NSString *formattedDataString = [dateFormatter stringFromDate:dateTime];
_dateField.text = formattedDateString;
NSLog(@"_dateField.text=%@", _dateField.text);
Maybe you are looking for
-
Cannot open pdf attachment in my e-mail
Cannot open pdf attachment in my e-mail I can open pdf files on the hard drive I am using Windows Internet Explorer 9, Microsoft Vista When I receive an e-mail with a pdf attachment a box pops up What do you want to do with get attach
-
Hello, I was wondering what the best way is to modify the menu in the header of the portal. We would like to remove the "Mobile Devices" link and add in a "Reset Desktop" link. We are using the sampleportal with the JSPTabContainer as the default cha
-
Can we pass Iterator dynamically to af:table?
I have about 10 tables that is supposed to be represented dynamicly in an ADF table on one jspx page. All tables have 8 columns that are identical. I have plan to create 10 VO's but one Jspx page..Depending upon the user selection i am trieng to pass
-
My Timecapsule Stops Working every few days!
I have a 2TB Timecapsule that has worked flawlessly for about 18 months. Over the last month it has stopped working every few days. When I say it stops working the wirless networks go off and the wired router stops. The lights are green on the bac
-
Is there a socket connetion avalible for java mobile?
i use forte mobile edition and i don't seem to have socket connection in my import am i missing an api or is there an alternative? thanks in advance